Код: Выделить всё
-- Executing [1890332XXXX@from-internal:1] Macro("SIP/091-0000062a", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/091-0000062a", "TOUCH_MONITOR=1405424917.1703") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/091-0000062a", "AMPUSER=091") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/091-0000062a", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/091-0000062a", "1?Set(REALCALLERIDNUM=091)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/091-0000062a", "AMPUSER=091") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/091-0000062a", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/091-0000062a", "AMPUSERCIDNAME=Тестер") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/091-0000062a", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/091-0000062a", "AMPUSERCID=091") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/091-0000062a", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/091-0000062a", "CALLERID(all)="Тестер" <091>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/091-0000062a", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/091-0000062a", "1?Set(GROUP(concurrency_limit)=091)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/091-0000062a", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GosubIf("SIP/091-0000062a", "7?sub-ccss,s,1(from-internal,1890332XXXX)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("SIP/091-0000062a", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("SIP/091-0000062a", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("SIP/091-0000062a", "0?monitor_config,1(from-internal,1890332XXXX):monitor_default,1(from-internal,1890332XXXX)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/091-0000062a", "0?is_exten") in new stack
-- Executing [monitor_default@sub-ccss:2] StackPop("SIP/091-0000062a", "") in new stack
-- Executing [monitor_default@sub-ccss:3] Return("SIP/091-0000062a", "FALSE") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/091-0000062a", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("SIP/091-0000062a", "CALLERID(number)=091") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/091-0000062a", "CALLERID(name)=Тестер") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/091-0000062a", "CDR(cnum)=091") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/091-0000062a", "CDR(cnam)=Тестер") in new stack
-- Executing [s@macro-user-callerid:33] Set("SIP/091-0000062a", "CHANNEL(language)=ru") in new stack
-- Executing [1890332XXXX@from-internal:2] Set("SIP/091-0000062a", "MOHCLASS=default") in new stack
-- Executing [1890332XXXX@from-internal:3] ExecIf("SIP/091-0000062a", "1?Set(TRUNKCIDOVERRIDE=7495640XXXX)") in new stack
-- Executing [1890332XXXX@from-internal:4] Set("SIP/091-0000062a", "_NODEST=") in new stack
-- Executing [1890332XXXX@from-internal:5] Gosub("SIP/091-0000062a", "sub-record-check,s,1(out,1890332XXXX,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/091-0000062a", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/091-0000062a", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("SIP/091-0000062a", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("SIP/091-0000062a", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("SIP/091-0000062a", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("SIP/091-0000062a", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("SIP/091-0000062a", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/091-0000062a", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/091-0000062a", "NOW=1405424917") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/091-0000062a", "__DAY=15") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/091-0000062a", "__MONTH=07") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/091-0000062a", "__YEAR=2014") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/091-0000062a", "__TIMESTR=20140715-154837") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/091-0000062a", "__FROMEXTEN=091") in new stack
-- Executing [s@sub-record-check:21] Set("SIP/091-0000062a", "__CALLFILENAME=out-1890332XXXX-091-20140715-154837-1405424917.1703") in new stack
-- Executing [s@sub-record-check:22] Goto("SIP/091-0000062a", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("SIP/091-0000062a", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("SIP/091-0000062a", "0?record,1(exten,1890332XXXX,091)") in new stack
-- Executing [out@sub-record-check:3] Return("SIP/091-0000062a", "") in new stack
-- Executing [1890332XXXX@from-internal:6] Macro("SIP/091-0000062a", "dialout-trunk,2,1890332XXXX,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/091-0000062a", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] AGI("SIP/091-0000062a", "trunkbalance.php,2") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/trunkbalance.php
-- trunkbalance.php,2: No balancing rules are defined for this trunk
-- <SIP/091-0000062a>AGI Script trunkbalance.php completed, returning 0
-- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/091-0000062a", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/091-0000062a", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/091-0000062a", "DIAL_NUMBER=1890332XXXX") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/091-0000062a", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("SIP/091-0000062a", "OUTBOUND_GROUP=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/091-0000062a", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,10)
-- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/091-0000062a", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:11] Set("SIP/091-0000062a", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:12] Macro("SIP/091-0000062a", "outbound-callerid,2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/091-0000062a", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/091-0000062a", "0?Set(REALCALLERIDNUM=091)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/091-0000062a", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/091-0000062a", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/091-0000062a", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/091-0000062a", "TRUNKOUTCID=7495640XXXX") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/091-0000062a", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/091-0000062a", "1?Set(CALLERID(all)=7495640XXXX)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/091-0000062a", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/091-0000062a", "1?Set(CALLERID(all)=7495640XXXX)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/091-0000062a", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("SIP/091-0000062a", "CDR(outbound_cnum)=7495640XXXX") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("SIP/091-0000062a", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/091-0000062a", "0?sub-flp-2,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/091-0000062a", "OUTNUM=1890332XXXX") in new stack
-- Executing [s@macro-dialout-trunk:15] Set("SIP/091-0000062a", "custom=SIP/Trunk") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/091-0000062a", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/091-0000062a", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:18] Macro("SIP/091-0000062a", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/091-0000062a", "") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/091-0000062a", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/091-0000062a", "1?Set(CONNECTEDLINE(num,i)=1890332XXXX)") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/091-0000062a", "1?Set(CONNECTEDLINE(name,i)=CID:7495640XXXX)") in new stack
-- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/091-0000062a", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:23] Dial("SIP/091-0000062a", "SIP/Trunk/1890332XXXX,300,Tt") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/Trunk/1890332XXXX
-- SIP/Trunk-0000062b answered SIP/091-0000062a
-- SIP/Trunk-00000629 is making progress passing it to SIP/101-00000628
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/091-0000062a", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/091-0000062a", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/091-0000062a", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/091-0000062a", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/091-0000062a' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/091-0000062a'
== Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/091-0000062a' in macro 'dialout-trunk'
== Spawn extension (from-internal, 1890332XXXX, 6) exited non-zero on 'SIP/091-0000062a'
Я когда на телефоне набираю номер, жму диал. И уже на мониторе телефона вижу номер с единицей впереди