Код: Выделить всё
-- Executing [899XXXXXXXX@from-internal:1] Macro("SIP/69955-00000003", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/69955-00000003", "TOUCH_MONITOR=1388050381.3") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/69955-00000003", "AMPUSER=69955") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/69955-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/69955-00000003", "1?Set(REALCALLERIDNUM=69955)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/69955-00000003", "AMPUSER=69955") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/69955-00000003", "AMPUSERCIDNAME=69955") in new stack
-- Executing [s@macro-user-callerid:7] GotoIf("SIP/69955-00000003", "0?report") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/69955-00000003", "AMPUSERCID=69955") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/69955-00000003", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/69955-00000003", "CALLERID(all)="69955" <69955>") in new stack
-- Executing [s@macro-user-callerid:11] GotoIf("SIP/69955-00000003", "0?limit") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/69955-00000003", "1?Set(GROUP(concurrency_limit)=69955)") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/69955-00000003", "1?Set(CHANNEL(language)=ru)") in new stack
-- Executing [s@macro-user-callerid:14] GosubIf("SIP/69955-00000003", "7?sub-ccss,s,1(from-internal,899XXXXXXXX)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("SIP/69955-00000003", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("SIP/69955-00000003", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("SIP/69955-00000003", "0?monitor_config,1(from-internal,899XXXXXXXX):monitor_default,1(from-internal,899XXXXXXXX)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/69955-00000003", "0?is_exten") in new stack
-- Executing [monitor_default@sub-ccss:2] StackPop("SIP/69955-00000003", "") in new stack
-- Executing [monitor_default@sub-ccss:3] Return("SIP/69955-00000003", "FALSE") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/69955-00000003", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/69955-00000003", "CALLERID(number)=69955") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/69955-00000003", "CALLERID(name)=69955") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/69955-00000003", "CDR(cnum)=69955") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/69955-00000003", "CDR(cnam)=69955") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/69955-00000003", "CHANNEL(language)=ru") in new stack
-- Executing [899XXXXXXXX@from-internal:2] Set("SIP/69955-00000003", "MOHCLASS=default") in new stack
-- Executing [899XXXXXXXX@from-internal:3] Set("SIP/69955-00000003", "_NODEST=") in new stack
-- Executing [899XXXXXXXX@from-internal:4] Gosub("SIP/69955-00000003", "sub-record-check,s,1(out,899XXXXXXXX,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/69955-00000003", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/69955-00000003", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/69955-00000003", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/69955-00000003", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/69955-00000003", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/69955-00000003", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/69955-00000003", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/69955-00000003", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/69955-00000003", "NOW=1388050381") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/69955-00000003", "__DAY=26") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/69955-00000003", "__MONTH=12") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/69955-00000003", "__YEAR=2013") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/69955-00000003", "__TIMESTR=20131226-153301") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/69955-00000003", "__FROMEXTEN=69955") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/69955-00000003", "__CALLFILENAME=out-899XXXXXXXX-69955-20131226-153301-1388050381.3") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/69955-00000003", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/69955-00000003", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/69955-00000003", "0?record,1(exten,899XXXXXXXX,69955)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/69955-00000003", "") in new stack
-- Executing [899XXXXXXXX@from-internal:5] Macro("SIP/69955-00000003", "dialout-trunk,4,#31#+99XXXXXXXX,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/69955-00000003", "DIAL_TRUNK=4") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/69955-00000003", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/69955-00000003", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/69955-00000003", "DIAL_NUMBER=#31#+99XXXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/69955-00000003", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/69955-00000003", "OUTBOUND_GROUP=OUT_4") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/69955-00000003", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/69955-00000003", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/69955-00000003", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/69955-00000003", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/69955-00000003", "outbound-callerid,4") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/69955-00000003", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/69955-00000003", "0?Set(REALCALLERIDNUM=69955)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/69955-00000003", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/69955-00000003", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/69955-00000003", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/69955-00000003", "TRUNKOUTCID=99XX22XX22") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/69955-00000003", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/69955-00000003", "1?Set(CALLERID(all)=99XX22XX22)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/69955-00000003", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/69955-00000003", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/69955-00000003", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/69955-00000003", "CDR(outbound_cnum)=99XX22XX22") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/69955-00000003", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/69955-00000003", "0?sub-flp-4,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/69955-00000003", "OUTNUM=#31#+99XXXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/69955-00000003", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/69955-00000003", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/69955-00000003", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/69955-00000003", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/69955-00000003", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/69955-00000003", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/69955-00000003", "1?Set(CONNECTEDLINE(num,i)=#31#+99XXXXXXXX)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/69955-00000003", "1?Set(CONNECTEDLINE(name,i)=CID:99XX22XX22)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/69955-00000003", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,25)
-- Executing [s@macro-dialout-trunk:25] Set("SIP/69955-00000003", "pre_num=AMP:dongle/i:555555555555555/") in new stack
-- Executing [s@macro-dialout-trunk:26] Set("SIP/69955-00000003", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:27] Set("SIP/69955-00000003", "post_num=") in new stack
-- Executing [s@macro-dialout-trunk:28] GotoIf("SIP/69955-00000003", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,29)
-- Executing [s@macro-dialout-trunk:29] Set("SIP/69955-00000003", "the_num=#31#+99XXXXXXXX") in new stack
-- Executing [s@macro-dialout-trunk:30] Dial("SIP/69955-00000003", "dongle/i:555555555555555/#31#+99XXXXXXXX,300,Tt") in new stack
[2013-12-26 15:33:01] WARNING[3086]: channel.c:76 parse_dial_string: Invalid destination '#31#+99XXXXXXXX' in chan_dongle, only 0123456789*#+ABC allowed
[2013-12-26 15:33:01] WARNING[3086]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'dongle' (cause 88 - Incompatible destination)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:31] NoOp("SIP/69955-00000003", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 88") in new stack
-- Executing [s@macro-dialout-trunk:32] GotoIf("SIP/69955-00000003", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/69955-00000003", "RC=88") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/69955-00000003", "88,1") in new stack
-- Goto (macro-dialout-trunk,88,1)
-- Executing [88@macro-dialout-trunk:1] Goto("SIP/69955-00000003", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/69955-00000003", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 88 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] Set("SIP/69955-00000003", "CALLERID(number)=69955") in new stack
-- Executing [899XXXXXXXX@from-internal:6] Macro("SIP/69955-00000003", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/69955-00000003", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/69955-00000003", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/69955-00000003", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/69955-00000003", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/69955-00000003> Playing 'all-circuits-busy-now.slin' (language 'ru')
-- <SIP/69955-00000003> Playing 'pls-try-call-later.slin' (language 'ru')
-- Executing [s@macro-outisbusy:5] Congestion("SIP/69955-00000003", "20") in new stack
[2013-12-26 15:33:06] WARNING[3086]: channel.c:4753 ast_prod: Prodding channel 'SIP/69955-00000003' failed
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/69955-00000003' in macro 'outisbusy'
== Spawn extension (from-internal, 899XXXXXXXX, 6) exited non-zero on 'SIP/69955-00000003'
-- Executing [h@from-internal:1] Hangup("SIP/69955-00000003", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/69955-00000003'