app_dial.c:2437 dial_exec_full: Unable to create channel of
Добавлено: 27 апр 2015, 19:36
После очередного падения Интерент канала провайдера, и его долгих манипуляций по восстановлению, перестала работать Исходящая связь на Астериске
sip.conf
extensions.conf
asterisk -vvvr
asterisk -vvvr
sip show registry
[root@ asterisk]# tcpdump -n -i ppp0 | grep 193
Зарегистрировали этот номер мультифона в зойпере, исходящие работают нормально.
Помогите пожалуйста разобраться, если необходимы дополнительные данные, скажите где посмотреть. Спасибо.
sip.conf
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[general]
context=default ; Default context for incoming calls
allowoverlap=no ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
tcpenable=yes ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
transport=udp,tcp ; Set the default transports. The order determines the primary default transport.
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
canreinvite=no
disallow=all ; First disallow all codecs
allow=alaw ; Allow codecs in order of preference
language=ru
limitonpeer=yes
callcounter=yes
allowsubscribe=yes
notifyringing=yes
notifyhold=yes
subscribecontext=BLF
register => tcp://7923464xxxx@multifon.ru:xxxxxxx:7923464xxxx@sbc.megafon.ru:5060/1010~60
[7923464xxxx]
dtmfmode=inband
defaultuser=7923464xxxx
type=peer
secret=xxxxxxxx
host=sbc.megafon.ru
fromdomain=multifon.ru
fromuser=7923464xxxx
port=5060
nat=force_rport,comedia
context=megafon-in
insecure=invite,port
qualify=yes
transport=tcp
context=default ; Default context for incoming calls
allowoverlap=no ; Disable overlap dialing support. (Default is yes)
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
tcpenable=yes ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
transport=udp,tcp ; Set the default transports. The order determines the primary default transport.
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
canreinvite=no
disallow=all ; First disallow all codecs
allow=alaw ; Allow codecs in order of preference
language=ru
limitonpeer=yes
callcounter=yes
allowsubscribe=yes
notifyringing=yes
notifyhold=yes
subscribecontext=BLF
register => tcp://7923464xxxx@multifon.ru:xxxxxxx:7923464xxxx@sbc.megafon.ru:5060/1010~60
[7923464xxxx]
dtmfmode=inband
defaultuser=7923464xxxx
type=peer
secret=xxxxxxxx
host=sbc.megafon.ru
fromdomain=multifon.ru
fromuser=7923464xxxx
port=5060
nat=force_rport,comedia
context=megafon-in
insecure=invite,port
qualify=yes
transport=tcp
extensions.conf
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[default]
exten => _[01][0123456789]X.,1,noop
same => n,answer
same => n,macro(monitor)
;same => n,playback(hello-world)
same => n,dial(sip/10${EXTEN:0:2}/${EXTEN},120,tT)
same => n,hangup
exten => _[01][0123456789]X.,1,noop
same => n,answer
same => n,macro(monitor)
;same => n,playback(hello-world)
same => n,dial(sip/10${EXTEN:0:2}/${EXTEN},120,tT)
same => n,hangup
asterisk -vvvr
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Connected to Asterisk 11.8.1 currently running on dru (pid = 16943)
Core debug is still 3.
== Using SIP RTP CoS mark 5
-- Executing [108905074xxxx@default:1] NoOp("SIP/207-00000009", "") in new stack
-- Executing [108905074xxxx@default:2] Answer("SIP/207-00000009", "") in new stack
-- Executing [108905074xxxx@default:3] Macro("SIP/207-00000009", "monitor") in new stack
-- Executing [s@macro-monitor:1] NoOp("SIP/207-00000009", "Call Recording") in new stack
-- Executing [s@macro-monitor:2] Set("SIP/207-00000009", "fn=/var/www/html/cdr/mp3/1430151376.31") in new stack
-- Executing [s@macro-monitor:3] Verbose("SIP/207-00000009", "1430151376.31") in new stack
1430151376.31
-- Executing [s@macro-monitor:4] MixMonitor("SIP/207-00000009", "/var/www/html/cdr/mp3/1430151376.31.wav,b,lame -b 32 /var/www/html/cdr/mp3/1430151376.31.wav /var/www/html/cdr/mp3/1430151376.31.mp3 && chmod 666 /var/www/html/cdr/mp3/1430151376.31.mp3 && rm /var/www/html/cdr/mp3/1430151376.31.wav") in new stack
-- Executing [108905074xxxx@default:4] Dial("SIP/207-00000009", "sip/1010/108905074xxxx,120,tT") in new stack
== Begin MixMonitor Recording SIP/207-00000009
[Apr 27 23:16:17] WARNING[17318][C-00000003]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'sip' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [108905074xxxx@default:5] Hangup("SIP/207-00000009", "") in new stack
== Spawn extension (default, 108905074xxxx, 5) exited non-zero on 'SIP/207-00000009'
== MixMonitor close filestream (mixed)
== Executing [lame -b 32 /var/www/html/cdr/mp3/1430151376.31.wav /var/www/html/cdr/mp3/1430151376.31.mp3 && chmod 666 /var/www/html/cdr/mp3/1430151376.31.mp3 && rm /var/www/html/cdr/mp3/1430151376.31.wav]
== End MixMonitor Recording SIP/207-00000009
dru*CLI>
Core debug is still 3.
== Using SIP RTP CoS mark 5
-- Executing [108905074xxxx@default:1] NoOp("SIP/207-00000009", "") in new stack
-- Executing [108905074xxxx@default:2] Answer("SIP/207-00000009", "") in new stack
-- Executing [108905074xxxx@default:3] Macro("SIP/207-00000009", "monitor") in new stack
-- Executing [s@macro-monitor:1] NoOp("SIP/207-00000009", "Call Recording") in new stack
-- Executing [s@macro-monitor:2] Set("SIP/207-00000009", "fn=/var/www/html/cdr/mp3/1430151376.31") in new stack
-- Executing [s@macro-monitor:3] Verbose("SIP/207-00000009", "1430151376.31") in new stack
1430151376.31
-- Executing [s@macro-monitor:4] MixMonitor("SIP/207-00000009", "/var/www/html/cdr/mp3/1430151376.31.wav,b,lame -b 32 /var/www/html/cdr/mp3/1430151376.31.wav /var/www/html/cdr/mp3/1430151376.31.mp3 && chmod 666 /var/www/html/cdr/mp3/1430151376.31.mp3 && rm /var/www/html/cdr/mp3/1430151376.31.wav") in new stack
-- Executing [108905074xxxx@default:4] Dial("SIP/207-00000009", "sip/1010/108905074xxxx,120,tT") in new stack
== Begin MixMonitor Recording SIP/207-00000009
[Apr 27 23:16:17] WARNING[17318][C-00000003]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'sip' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [108905074xxxx@default:5] Hangup("SIP/207-00000009", "") in new stack
== Spawn extension (default, 108905074xxxx, 5) exited non-zero on 'SIP/207-00000009'
== MixMonitor close filestream (mixed)
== Executing [lame -b 32 /var/www/html/cdr/mp3/1430151376.31.wav /var/www/html/cdr/mp3/1430151376.31.mp3 && chmod 666 /var/www/html/cdr/mp3/1430151376.31.mp3 && rm /var/www/html/cdr/mp3/1430151376.31.wav]
== End MixMonitor Recording SIP/207-00000009
dru*CLI>
asterisk -vvvr
sip show registry
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
Host dnsmgr Username Refresh State Reg.Time
sbc.megafon.ru:5060 N 7923464xxxx@ 165 Registered Mon, 27 Apr 2015 23:24:52
sbc.megafon.ru:5060 N 7923464xxxx@ 165 Registered Mon, 27 Apr 2015 23:24:52
[root@ asterisk]# tcpdump -n -i ppp0 | grep 193
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
23:30:23.036836 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 1444236671:1444237348, ack 1293132293, win 501, options [nop,nop,TS val 15840992 ecr 199428679], length 677
23:30:23.133157 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 1:489, ack 677, win 32768, options [nop,nop,TS val 199486547 ecr 15840992], length 488
23:30:23.133199 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 677:1913, ack 489, win 501, options [nop,nop,TS val 15841089 ecr 199486547], length 1236
23:30:23.190149 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 489:873, ack 1913, win 32768, options [nop,nop,TS val 199486605 ecr 15841089], length 384
23:30:23.190181 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 1913:2590, ack 873, win 501, options [nop,nop,TS val 15841146 ecr 199486605], length 677
23:30:23.247150 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 873:1361, ack 2590, win 32768, options [nop,nop,TS val 199486662 ecr 15841146], length 488
23:30:23.247181 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 2590:3267, ack 1361, win 501, options [nop,nop,TS val 15841203 ecr 199486662], length 677
23:30:23.304153 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 1361:1849, ack 3267, win 32768, options [nop,nop,TS val 199486719 ecr 15841203], length 488
23:30:23.309709 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 3267:3944, ack 1849, win 501, options [nop,nop,TS val 15841265 ecr 199486719], length 677
23:30:23.367149 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 1849:2337, ack 3944, win 32768, options [nop,nop,TS val 199486782 ecr 15841265], length 488
23:30:23.390899 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 3944:4621, ack 2337, win 501, options [nop,nop,TS val 15841346 ecr 199486782], length 677
23:30:23.447154 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 2337:2825, ack 4621, win 32768, options [nop,nop,TS val 199486862 ecr 15841346], length 488
23:30:23.476041 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 4621:5298, ack 2825, win 501, options [nop,nop,TS val 15841431 ecr 199486862], length 677
23:30:23.533149 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 2825:3313, ack 5298, win 32768, options [nop,nop,TS val 199486948 ecr 15841431], length 488
23:30:23.561552 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 5298:5975, ack 3313, win 501, options [nop,nop,TS val 15841517 ecr 199486948], length 677
23:30:23.619156 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 3313:3801, ack 5975, win 32768, options [nop,nop,TS val 199487034 ecr 15841517], length 488
23:30:23.658944 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 5975:6652, ack 3801, win 501, options [nop,nop,TS val 15841614 ecr 199487034], length 677
23:30:23.716145 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 3801:4289, ack 6652, win 32768, options [nop,nop,TS val 199487130 ecr 15841614], length 488
23:30:23.716172 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 6652:7329, ack 4289, win 501, options [nop,nop,TS val 15841671 ecr 199487130], length 677
23:30:23.773149 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 4289:4777, ack 7329, win 32768, options [nop,nop,TS val 199487188 ecr 15841671], length 488
23:30:23.793131 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 7329:8006, ack 4777, win 501, options [nop,nop,TS val 15841748 ecr 199487188], length 677
23:30:23.850154 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 4777:5265, ack 8006, win 32768, options [nop,nop,TS val 199487265 ecr 15841748], length 488
23:30:23.890142 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [.], ack 5265, win 501, options [nop,nop,TS val 15841846 ecr 199487265], length 0
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
23:30:23.036836 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 1444236671:1444237348, ack 1293132293, win 501, options [nop,nop,TS val 15840992 ecr 199428679], length 677
23:30:23.133157 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 1:489, ack 677, win 32768, options [nop,nop,TS val 199486547 ecr 15840992], length 488
23:30:23.133199 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 677:1913, ack 489, win 501, options [nop,nop,TS val 15841089 ecr 199486547], length 1236
23:30:23.190149 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 489:873, ack 1913, win 32768, options [nop,nop,TS val 199486605 ecr 15841089], length 384
23:30:23.190181 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 1913:2590, ack 873, win 501, options [nop,nop,TS val 15841146 ecr 199486605], length 677
23:30:23.247150 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 873:1361, ack 2590, win 32768, options [nop,nop,TS val 199486662 ecr 15841146], length 488
23:30:23.247181 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 2590:3267, ack 1361, win 501, options [nop,nop,TS val 15841203 ecr 199486662], length 677
23:30:23.304153 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 1361:1849, ack 3267, win 32768, options [nop,nop,TS val 199486719 ecr 15841203], length 488
23:30:23.309709 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 3267:3944, ack 1849, win 501, options [nop,nop,TS val 15841265 ecr 199486719], length 677
23:30:23.367149 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 1849:2337, ack 3944, win 32768, options [nop,nop,TS val 199486782 ecr 15841265], length 488
23:30:23.390899 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 3944:4621, ack 2337, win 501, options [nop,nop,TS val 15841346 ecr 199486782], length 677
23:30:23.447154 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 2337:2825, ack 4621, win 32768, options [nop,nop,TS val 199486862 ecr 15841346], length 488
23:30:23.476041 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 4621:5298, ack 2825, win 501, options [nop,nop,TS val 15841431 ecr 199486862], length 677
23:30:23.533149 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 2825:3313, ack 5298, win 32768, options [nop,nop,TS val 199486948 ecr 15841431], length 488
23:30:23.561552 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 5298:5975, ack 3313, win 501, options [nop,nop,TS val 15841517 ecr 199486948], length 677
23:30:23.619156 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 3313:3801, ack 5975, win 32768, options [nop,nop,TS val 199487034 ecr 15841517], length 488
23:30:23.658944 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 5975:6652, ack 3801, win 501, options [nop,nop,TS val 15841614 ecr 199487034], length 677
23:30:23.716145 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 3801:4289, ack 6652, win 32768, options [nop,nop,TS val 199487130 ecr 15841614], length 488
23:30:23.716172 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 6652:7329, ack 4289, win 501, options [nop,nop,TS val 15841671 ecr 199487130], length 677
23:30:23.773149 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 4289:4777, ack 7329, win 32768, options [nop,nop,TS val 199487188 ecr 15841671], length 488
23:30:23.793131 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [P.], seq 7329:8006, ack 4777, win 501, options [nop,nop,TS val 15841748 ecr 199487188], length 677
23:30:23.850154 IP 193.201.229.35.sip > 112.225.88.77.60422: Flags [P.], seq 4777:5265, ack 8006, win 32768, options [nop,nop,TS val 199487265 ecr 15841748], length 488
23:30:23.890142 IP 112.225.88.77.60422 > 193.201.229.35.sip: Flags [.], ack 5265, win 501, options [nop,nop,TS val 15841846 ecr 199487265], length 0
Зарегистрировали этот номер мультифона в зойпере, исходящие работают нормально.
Помогите пожалуйста разобраться, если необходимы дополнительные данные, скажите где посмотреть. Спасибо.