Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)

0

Здравствуйте. Я уже голову сломал и не могу понять, почему не идет исходящий звонок. Входящие через этот транк проходят отлично.

<details>
<summary>Дебаг:</summary>
[2016-07-29 11:01:24] VERBOSE[9527][C-00000012] netsock2.c: Using SIP RTP TOS bits 184
[2016-07-29 11:01:24] VERBOSE[9527][C-00000012] netsock2.c: Using SIP RTP CoS mark 5
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [89537472517@from-internal:1] Macro("SIP/4999-00000012", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:1] Set("SIP/4999-00000012", "TOUCH_MONITOR=1469779284.18") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:2] Set("SIP/4999-00000012", "AMPUSER=4999") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("SIP/4999-00000012", "0?report") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("SIP/4999-00000012", "1?Set(REALCALLERIDNUM=4999)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:5] Set("SIP/4999-00000012", "AMPUSER=4999") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("SIP/4999-00000012", "0?limit") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:7] Set("SIP/4999-00000012", "AMPUSERCIDNAME=BRS TEST") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:8] GotoIf("SIP/4999-00000012", "0?report") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:9] Set("SIP/4999-00000012", "AMPUSERCID=4999") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:10] Set("SIP/4999-00000012", "__DIAL_OPTIONS=Ttr") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:11] Set("SIP/4999-00000012", "CALLERID(all)="BRS TEST" <4999>") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:12] GotoIf("SIP/4999-00000012", "0?limit") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("SIP/4999-00000012", "1?Set(GROUP(concurrency_limit)=4999)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("SIP/4999-00000012", "0?Set(CHANNEL(language)=)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:15] GotoIf("SIP/4999-00000012", "1?continue") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (macro-user-callerid,s,29)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:29] Set("SIP/4999-00000012", "CALLERID(number)=4999") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:30] Set("SIP/4999-00000012", "CALLERID(name)=BRS TEST") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:31] Set("SIP/4999-00000012", "CDR(cnum)=4999") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:32] Set("SIP/4999-00000012", "CDR(cnam)=BRS TEST") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-user-callerid:33] Set("SIP/4999-00000012", "CHANNEL(language)=en") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [89537472517@from-internal:2] Gosub("SIP/4999-00000012", "sub-record-check,s,1(out,89537472517,dontcare)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:1] GotoIf("SIP/4999-00000012", "0?initialized") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:2] Set("SIP/4999-00000012", "__REC_STATUS=INITIALIZED") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:3] Set("SIP/4999-00000012", "NOW=1469779284") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:4] Set("SIP/4999-00000012", "__DAY=29") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:5] Set("SIP/4999-00000012", "__MONTH=07") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:6] Set("SIP/4999-00000012", "__YEAR=2016") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:7] Set("SIP/4999-00000012", "__TIMESTR=20160729-110124") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:8] Set("SIP/4999-00000012", "__FROMEXTEN=4999") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:9] Set("SIP/4999-00000012", "__MON_FMT=wav") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:10] NoOp("SIP/4999-00000012", "Recordings initialized") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:11] ExecIf("SIP/4999-00000012", "0?Set(ARG3=dontcare)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:12] Set("SIP/4999-00000012", "REC_POLICY_MODE_SAVE=") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:13] ExecIf("SIP/4999-00000012", "0?Set(REC_STATUS=NO)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:14] GotoIf("SIP/4999-00000012", "3?checkaction") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (sub-record-check,s,17)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@sub-record-check:17] GotoIf("SIP/4999-00000012", "1?sub-record-check,out,1") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (sub-record-check,out,1)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [out@sub-record-check:1] NoOp("SIP/4999-00000012", "Outbound Recording Check from 4999 to 89537472517") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [out@sub-record-check:2] Set("SIP/4999-00000012", "RECMODE=dontcare") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [out@sub-record-check:3] ExecIf("SIP/4999-00000012", "1?Goto(routewins)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (sub-record-check,out,7)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [out@sub-record-check:7] Gosub("SIP/4999-00000012", "recordcheck,1(dontcare,out,89537472517)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp("SIP/4999-00000012", "Starting recording check against dontcare") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:2] Goto("SIP/4999-00000012", "dontcare") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [recordcheck@sub-record-check:3] Return("SIP/4999-00000012", "") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [out@sub-record-check:8] Return("SIP/4999-00000012", "") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [89537472517@from-internal:3] ExecIf("SIP/4999-00000012", "0 ?Set(CDR(accountcode)=)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [89537472517@from-internal:4] Set("SIP/4999-00000012", "MOHCLASS=default") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [89537472517@from-internal:5] Set("SIP/4999-00000012", "_NODEST=") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [89537472517@from-internal:6] Macro("SIP/4999-00000012", "dialout-trunk,3,89537472517,,off") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:1] Set("SIP/4999-00000012", "DIAL_TRUNK=3") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:2] GosubIf("SIP/4999-00000012", "0?sub-pincheck,s,1()") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:3] GotoIf("SIP/4999-00000012", "0?disabletrunk,1") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:4] Set("SIP/4999-00000012", "DIAL_NUMBER=89537472517") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:5] Set("SIP/4999-00000012", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:6] Set("SIP/4999-00000012", "OUTBOUND_GROUP=OUT_3") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:7] GotoIf("SIP/4999-00000012", "1?nomax") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (macro-dialout-trunk,s,9)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:9] GotoIf("SIP/4999-00000012", "0?skipoutcid") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:10] Set("SIP/4999-00000012", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:11] Macro("SIP/4999-00000012", "outbound-callerid,3") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:1] ExecIf("SIP/4999-00000012", "0?Set(CALLERPRES(name-pres)=)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:2] ExecIf("SIP/4999-00000012", "0?Set(CALLERPRES(num-pres)=)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:3] ExecIf("SIP/4999-00000012", "0?Set(REALCALLERIDNUM=4999)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:4] GotoIf("SIP/4999-00000012", "1?normcid") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (macro-outbound-callerid,s,7)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:7] Set("SIP/4999-00000012", "USEROUTCID=") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:8] Set("SIP/4999-00000012", "EMERGENCYCID=") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:9] Set("SIP/4999-00000012", "TRUNKOUTCID=779299") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:10] GotoIf("SIP/4999-00000012", "1?trunkcid") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (macro-outbound-callerid,s,15)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf("SIP/4999-00000012", "1?Set(CALLERID(all)=779299)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:16] ExecIf("SIP/4999-00000012", "0?Set(CALLERID(all)=)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:17] ExecIf("SIP/4999-00000012", "0?Set(CALLERID(all)=)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:18] ExecIf("SIP/4999-00000012", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:19] ExecIf("SIP/4999-00000012", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:20] Set("SIP/4999-00000012", "CDR(outbound_cnum)=779299") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outbound-callerid:21] Set("SIP/4999-00000012", "CDR(outbound_cnam)=") in new stack
[2016-07-29 11:01:24] WARNING[9455] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:12] GosubIf("SIP/4999-00000012", "0?sub-flp-3,s,1()") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:13] Set("SIP/4999-00000012", "OUTNUM=89537472517") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:14] Set("SIP/4999-00000012", "custom=SIP/779299") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:15] ExecIf("SIP/4999-00000012", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf("SIP/4999-00000012", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:17] Macro("SIP/4999-00000012", "dialout-trunk-predial-hook,") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/4999-00000012", "") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:18] GotoIf("SIP/4999-00000012", "0?bypass,1") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:19] ExecIf("SIP/4999-00000012", "1?Set(CONNECTEDLINE(num,i)=89537472517)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:20] ExecIf("SIP/4999-00000012", "1?Set(CONNECTEDLINE(name,i)=CID:779299)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf("SIP/4999-00000012", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)779299)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:22] GotoIf("SIP/4999-00000012", "0?customtrunk") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:23] Dial("SIP/4999-00000012", "SIP/779299/89537472517,300,Tt") in new stack
[2016-07-29 11:01:24] WARNING[24680][C-00000012] app_dial.c: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:24] NoOp("SIP/4999-00000012", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-dialout-trunk:25] GotoIf("SIP/4999-00000012", "0?continue,1:s-CHANUNAVAIL,1") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/4999-00000012", "RC=20") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/4999-00000012", "20,1") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (macro-dialout-trunk,20,1)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [20@macro-dialout-trunk:1] Goto("SIP/4999-00000012", "continue,1") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [continue@macro-dialout-trunk:1] NoOp("SIP/4999-00000012", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 20 - failing through to other trunks") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [continue@macro-dialout-trunk:2] ExecIf("SIP/4999-00000012", "1?Set(CALLERID(number)=4999)") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [89537472517@from-internal:7] Macro("SIP/4999-00000012", "outisbusy,") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outisbusy:1] Progress("SIP/4999-00000012", "") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outisbusy:2] GotoIf("SIP/4999-00000012", "0?emergency,1") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outisbusy:3] GotoIf("SIP/4999-00000012", "0?intracompany,1") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-outisbusy:4] Playback("SIP/4999-00000012", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
[2016-07-29 11:01:24] VERBOSE[24680][C-00000012] file.c: <SIP/4999-00000012> Playing 'all-circuits-busy-now.ulaw' (language 'en')
[2016-07-29 11:01:26] VERBOSE[24680][C-00000012] file.c: <SIP/4999-00000012> Playing 'pls-try-call-later.ulaw' (language 'en')
[2016-07-29 11:01:27] VERBOSE[24680][C-00000012] pbx.c: Executing [h@from-internal:1] Macro("SIP/4999-00000012", "hangupcall") in new stack
[2016-07-29 11:01:27] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SIP/4999-00000012", "1?theend") in new stack
[2016-07-29 11:01:27] VERBOSE[24680][C-00000012] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2016-07-29 11:01:27] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SIP/4999-00000012", "0?Set(CDR(recordingfile)=)") in new stack
[2016-07-29 11:01:27] VERBOSE[24680][C-00000012] pbx.c: Executing [s@macro-hangupcall:4] Hangup("SIP/4999-00000012", "") in new stack
[2016-07-29 11:01:27] VERBOSE[24680][C-00000012] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/4999-00000012' in macro 'hangupcall'
[2016-07-29 11:01:27] VERBOSE[24680][C-00000012] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/4999-00000012'
[2016-07-29 11:01:55] WARNING[9450] netsock2.c: Port disallowed in 192.168.31.251:39726
[2016-07-29 11:01:55] WARNING[9450] acl.c: Unable to lookup '192.168.31.251:39726'
[2016-07-29 11:06:55] WARNING[9450] netsock2.c: Port disallowed in 192.168.31.251:39726
[2016-07-29 11:06:55] WARNING[9450] acl.c: Unable to lookup '192.168.31.251:39726'
</details>

<details>
<summary>sip show peer 779299:</summary>
 * Name       : 779299
  Description  : 
  Secret       : <Set>
  MD5Secret    : <Not set>
  Remote Secret: <Not set>
  Context      : from-trunk-sip-779299
  Record On feature : automon
  Record Off feature : automon
  Subscr.Cont. : <Not set>
  Language     : en
  Tonezone     : <Not set>
  AMA flags    : Unknown
  Transfer mode: open
  CallingPres  : Presentation Allowed, Not Screened
  FromUser     : wl-client-jl_60865
  Callgroup    : 
  Pickupgroup  : 
  Named Callgr : 
  Nam. Pickupgr: 
  MOH Suggest  : 
  Mailbox      : 
  VM Extension : *97
  LastMsgsSent : 0/0
  Call limit   : 0
  Max forwards : 0
  Dynamic      : No
  Callerid     : "" <>
  MaxCallBR    : 384 kbps
  Expire       : -1
  Insecure     : invite
  Force rport  : No
  Symmetric RTP: No
  ACL          : No
  DirectMedACL : No
  T.38 support : No
  T.38 EC mode : Unknown
  T.38 MaxDtgrm: 4294967295
  DirectMedia  : No
  PromiscRedir : No
  User=Phone   : No
  Video Support: No
  Text Support : No
  Ign SDP ver  : No
  Trust RPID   : No
  Send RPID    : No
  Path support : No
  Path         : N/A
  TrustIDOutbnd: Legacy
  Subscriptions: Yes
  Overlap dial : Yes
  DTMFmode     : rfc2833
  Timer T1     : 500
  Timer B      : 32000
  ToHost       : 192.168.31.251:39726
  Addr->IP     : (null)
  Defaddr->IP  : (null)
  Prim.Transp. : UDP
  Allowed.Trsp : UDP
  Def. Username: wl-client-jl_60865
  SIP Options  : (none)
  Codecs       : (ulaw|alaw|gsm|g726)
  Auto-Framing : No
  Status       : UNKNOWN
  Useragent    : 
  Reg. Contact : 
  Qualify Freq : 60000 ms
  Keepalive    : 0 ms
  Sess-Timers  : Accept
  Sess-Refresh : uas
  Sess-Expires : 1800 secs
  Min-Sess     : 90 secs
  RTP Engine   : asterisk
  Parkinglot   : 
  Use Reason   : No
  Encryption   : No
</details>

<details>
<summary>sip show user 779299:</summary>
 * Name       : 779299
  Secret       : <Set>
  MD5Secret    : <Not set>
  Context      : from-trunk-sip-779299
  Language     : en
  AMA flags    : Unknown
  Tonezone     : <Not set>
  Transfer mode: open
  MaxCallBR    : 384 kbps
  CallingPres  : Presentation Allowed, Not Screened
  Call limit   : 0
  Callgroup    : 
  Pickupgroup  : 
  Named Callgr : 
  Nam. Pickupgr: 
  Callerid     : "" <>
  ACL          : No
  Sess-Timers  : Accept
  Sess-Refresh : uas
  Sess-Expires : 1800 secs
  Sess-Min-SE  : 90 secs
  RTP Engine   : asterisk
  Auto-Framing:  No 
</details>
удалить закрыть спам изменить тег редактировать

спросил 2016-07-29 13:12:01 +0400

Ksenks Gravatar Ksenks
1 2 1 2

обновил 2016-07-29 14:18:50 +0400

meral Gravatar meral flag of Ukraine
21228 23 18 169
http://pro-sip.net/

Comments

тег data есть - туда надо было копировать что бы нормально было видно

awsswa ( 2016-07-29 13:49:03 +0400 )редактировать

Вопрос решил. В параметрах SIP нужно было убрать номер порта, то есть разрешить все. Звонки пошли.

Ksenks ( 2016-09-16 16:29:06 +0400 )редактировать

1 Ответ

0

у вас вроде как адреса 779299 нету.

и он, наверно, не зарегистрировался.

к тому же у вас очень странный подход к дебагу.

люди обычно вылаживают конфигурацию(часть sip_additional.conf), а не вывод sip show peers(по которому тяжко угадать, например, dynamic это или static)

ну и где собственно дебаг сип?

ссылка удалить спам редактировать

ответил 2016-07-29 14:21:41 +0400

meral Gravatar meral flag of Ukraine
21228 23 18 169
http://pro-sip.net/

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2016-07-29 13:12:01 +0400

Просмотрен: 10,855 раз

Обновлен: Jul 29

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.