Добрый день. Бился бился я с проблемой, но так и не победил. Посему обращаюсь к знатокам системы за помощью. Очень надеюсь на неё, ибо больше за помощью идти некуда.
Ситуация такая: Звонки идут с Lync Server на Asterisk и дальше должны с помощью модуля TrunkBalance балансировать исходящие на несколько Sip аккаунтов. Но TrunkBalance не отрабатывает должным образом, по всей видимости потому что звонок приходит из транка, а не с экстеншенов.
Создал экстеншена, пробовал звонить с него, все работает, исходящие балансируются по нескольким сип аккаунтам. А с линка так и не выходит. Основной принцип работы TrunkBalance это съэмулировать сип аккаунт недоступным и перевести звонок на следующий сип аккаунт. Но перевод почему то не осуществляется.
Лог звонка с линка, перевод транка НЕ удался
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [набираемый номер@from-internal:1] Macro("SIP/local-lync13-00000fe8", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/local-lync13-00000fe8", "TOUCH_MONITOR=1479127977.4072") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:2] Set("SIP/local-lync13-00000fe8", "AMPUSER=510") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("SIP/local-lync13-00000fe8", "0?report") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:4] ExecIf("SIP/local-lync13-00000fe8", "1?Set(REALCALLERIDNUM=510)") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/local-lync13-00000fe8", "AMPUSER=") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/local-lync13-00000fe8", "0?limit") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/local-lync13-00000fe8", "AMPUSERCIDNAME=") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:8] GotoIf("SIP/local-lync13-00000fe8", "1?report") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-user-callerid,s,16)
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:16] GotoIf("SIP/local-lync13-00000fe8", "1?continue") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-user-callerid,s,30)
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:30] Set("SIP/local-lync13-00000fe8", "CALLERID(number)=510") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:31] Set("SIP/local-lync13-00000fe8", "CALLERID(name)=") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:32] Set("SIP/local-lync13-00000fe8", "CDR(cnum)=510") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:33] Set("SIP/local-lync13-00000fe8", "CDR(cnam)=") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-user-callerid:34] Set("SIP/local-lync13-00000fe8", "CHANNEL(language)=en") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [набираемый номер@from-internal:2] ExecIf("SIP/local-lync13-00000fe8", "0 ?Set(CDR(accountcode)=)") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [набираемый номер@from-internal:3] Set("SIP/local-lync13-00000fe8", "MOHCLASS=default") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [набираемый номер@from-internal:4] Set("SIP/local-lync13-00000fe8", "_NODEST=") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [набираемый номер@from-internal:5] Gosub("SIP/local-lync13-00000fe8", "sub-record-check,s,1(out,набираемый номер,)") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [набираемый номер@from-internal:6] Macro("SIP/local-lync13-00000fe8", "dialout-trunk,6,набираемый номер,,off") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/local-lync13-00000fe8", "DIAL_TRUNK=6") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:2] AGI("SIP/local-lync13-00000fe8", "trunkbalance.php,6,набираемый номер") in new stack
[2016-11-14 15:52:57] VERBOSE[36262][C-00000809] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/trunkbalance.php
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] res_agi.c: -- trunkbalance.php,6,набираемый номер: Dialed digits: набираемый номер
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] res_agi.c: -- trunkbalance.php,6,набираемый номер: This trunk BAL1 is balanced. Evaluating rules
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] res_agi.c: -- trunkbalance.php,6,набираемый номер: Balance ratio rule of 1:2. 2 was pooled. Rule failed
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] res_agi.c: -- trunkbalance.php,6,набираемый номер: At least one condition failed. Call refused.
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] res_agi.c: -- <SIP/local-lync13-00000fe8>AGI Script trunkbalance.php completed, returning 0
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/local-lync13-00000fe8", "0?sub-pincheck,s,1()") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/local-lync13-00000fe8", "0?disabletrunk,1") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/local-lync13-00000fe8", "DIAL_NUMBER=набираемый номер") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/local-lync13-00000fe8", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:7] Set("SIP/local-lync13-00000fe8", "OUTBOUND_GROUP=OUT_6") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/local-lync13-00000fe8", "1?nomax") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-dialout-trunk,s,10)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/local-lync13-00000fe8", "0?skipoutcid") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:11] Set("SIP/local-lync13-00000fe8", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:12] Macro("SIP/local-lync13-00000fe8", "outbound-callerid,6") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/local-lync13-00000fe8", "0?Set(CALLERPRES()=)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/local-lync13-00000fe8", "0?Set(REALCALLERIDNUM=510)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/local-lync13-00000fe8", "1?normcid") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/local-lync13-00000fe8", "USEROUTCID=") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/local-lync13-00000fe8", "EMERGENCYCID=") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/local-lync13-00000fe8", "TRUNKOUTCID=") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/local-lync13-00000fe8", "1?trunkcid") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-outbound-callerid,s,14)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/local-lync13-00000fe8", "0?Set(CALLERID(all)=)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/local-lync13-00000fe8", "0?Set(CALLERID(all)=)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/local-lync13-00000fe8", "0?Set(CALLERID(all)=)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/local-lync13-00000fe8", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:18] Set("SIP/local-lync13-00000fe8", "CDR(outbound_cnum)=510") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-outbound-callerid:19] Set("SIP/local-lync13-00000fe8", "CDR(outbound_cnam)=") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/local-lync13-00000fe8", "0?sub-flp-6,s,1()") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/local-lync13-00000fe8", "OUTNUM=набираемый номер") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:15] Set("SIP/local-lync13-00000fe8", "custom=AMP") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/local-lync13-00000fe8", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/local-lync13-00000fe8", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:18] Macro("SIP/local-lync13-00000fe8", "dialout-trunk-predial-hook,") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/local-lync13-00000fe8", "") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/local-lync13-00000fe8", "0?bypass,1") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/local-lync13-00000fe8", "0?Set(CONNECTEDLINE(num,i)=набираемый номер)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/local-lync13-00000fe8", "0?Set(CONNECTEDLINE(name,i)=CID:510)") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/local-lync13-00000fe8", "1?customtrunk") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-dialout-trunk,s,27)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:27] Set("SIP/local-lync13-00000fe8", "pre_num=AMP:Balancedtrunk/BAL1") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:28] Set("SIP/local-lync13-00000fe8", "the_num=") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:29] Set("SIP/local-lync13-00000fe8", "post_num=") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:30] GotoIf("SIP/local-lync13-00000fe8", "0?outnum:skipoutnum") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-dialout-trunk,s,32)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:32] Dial("SIP/local-lync13-00000fe8", "Balancedtrunk/BAL1,300,Tt") in new stack
[2016-11-14 15:52:58] WARNING[36262][C-00000809] channel.c: No channel type registered for 'Balancedtrunk'
[2016-11-14 15:52:58] WARNING[36262][C-00000809] app_dial.c: Unable to create channel of type 'Balancedtrunk' (cause 66 - Channel not implemented)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:33] NoOp("SIP/local-lync13-00000fe8", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 66") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s@macro-dialout-trunk:34] GotoIf("SIP/local-lync13-00000fe8", "0?continue,1:s-CHANUNAVAIL,1") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/local-lync13-00000fe8", "RC=66") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/local-lync13-00000fe8", "66,1") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-dialout-trunk,66,1)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [66@macro-dialout-trunk:1] Goto("SIP/local-lync13-00000fe8", "continue,1") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/local-lync13-00000fe8", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 66 - failing through to other trunks") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [continue@macro-dialout-trunk:2] Set("SIP/local-lync13-00000fe8", "CALLERID(number)=") in new stack
[2016-11-14 15:52:58] VERBOSE[36262][C-00000809] pbx.c: -- Executing [набираемый номер@from-internal:7] Wait("SIP/local-lync13-00000fe8", "1") in new stack
[2016-11-14 15:52:59] VERBOSE[36262][C-00000809] pbx.c: -- Executing [набираемый номер@from-internal:8] Congestion("SIP/local-lync13-00000fe8", "20") in new stack
[2016-11-14 15:52:59] WARNING[36262][C-00000809] channel.c: Prodding channel 'SIP/local-lync13-00000fe8' failed
[2016-11-14 15:52:59] VERBOSE[36262][C-00000809] pbx.c: == Spawn extension (from-internal, набираемый номер, 8) exited non-zero on 'SIP/local-lync13-00000fe8'
[2016-11-14 15:52:59] VERBOSE[36262][C-00000809] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/local-lync13-00000fe8", "") in new stack
[2016-11-14 15:52:59] VERBOSE[36262][C-00000809] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/local-lync13-00000fe8'
Звонок с экстеншена, перевод звонка удался:
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [набираемый номер@from-internal:1] Macro("SIP/777-0000100d", "user-callerid,LIMIT,EXTERNAL,") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/777-0000100d", "TOUCH_MONITOR=1479128729.4109") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:2] Set("SIP/777-0000100d", "AMPUSER=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:3] GotoIf("SIP/777-0000100d", "0?report") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:4] ExecIf("SIP/777-0000100d", "1?Set(REALCALLERIDNUM=777)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/777-0000100d", "AMPUSER=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/777-0000100d", "0?limit") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/777-0000100d", "AMPUSERCIDNAME=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:8] GotoIf("SIP/777-0000100d", "0?report") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:9] Set("SIP/777-0000100d", "AMPUSERCID=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:10] Set("SIP/777-0000100d", "__DIAL_OPTIONS=Ttr") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:11] Set("SIP/777-0000100d", "CALLERID(all)="777" <777>") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:12] GotoIf("SIP/777-0000100d", "0?limit") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:13] ExecIf("SIP/777-0000100d", "1?Set(GROUP(concurrency_limit)=777)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:14] ExecIf("SIP/777-0000100d", "1?Set(CHANNEL(language)=root)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:15] GosubIf("SIP/777-0000100d", "7?sub-ccss,s,1(from-internal,набираемый номер)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("SIP/777-0000100d", "0?Return()") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@sub-ccss:2] Set("SIP/777-0000100d", "CCSS_SETUP=TRUE") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("SIP/777-0000100d", "0?monitor_config,1(from-internal,набираемый номер):monitor_default,1(from-internal,набираемый номер)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/777-0000100d", "0?is_exten") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/777-0000100d", "") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("SIP/777-0000100d", "FALSE") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:16] GotoIf("SIP/777-0000100d", "1?continue") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-user-callerid,s,30)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:30] Set("SIP/777-0000100d", "CALLERID(number)=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:31] Set("SIP/777-0000100d", "CALLERID(name)=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:32] Set("SIP/777-0000100d", "CDR(cnum)=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:33] Set("SIP/777-0000100d", "CDR(cnam)=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-user-callerid:34] Set("SIP/777-0000100d", "CHANNEL(language)=root") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [набираемый номер@from-internal:2] ExecIf("SIP/777-0000100d", "0 ?Set(CDR(accountcode)=)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [набираемый номер@from-internal:3] Set("SIP/777-0000100d", "MOHCLASS=default") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [набираемый номер@from-internal:4] Set("SIP/777-0000100d", "_NODEST=") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [набираемый номер@from-internal:5] Gosub("SIP/777-0000100d", "sub-record-check,s,1(out,набираемый номер,)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [набираемый номер@from-internal:6] Macro("SIP/777-0000100d", "dialout-trunk,6,набираемый номер,,off") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/777-0000100d", "DIAL_TRUNK=6") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:2] AGI("SIP/777-0000100d", "trunkbalance.php,6,набираемый номер") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/trunkbalance.php
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] res_agi.c: -- trunkbalance.php,6,набираемый номер: Dialed digits: набираемый номер
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] res_agi.c: -- trunkbalance.php,6,набираемый номер: This trunk BAL1 is balanced. Evaluating rules
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] res_agi.c: -- trunkbalance.php,6,набираемый номер: Balance ratio rule of 1:2. 2 was pooled. Rule failed
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] res_agi.c: -- trunkbalance.php,6,набираемый номер: At least one condition failed. Call refused.
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] res_agi.c: -- <SIP/777-0000100d>AGI Script trunkbalance.php completed, returning 0
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/777-0000100d", "0?sub-pincheck,s,1()") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/777-0000100d", "0?disabletrunk,1") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/777-0000100d", "DIAL_NUMBER=набираемый номер") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/777-0000100d", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:7] Set("SIP/777-0000100d", "OUTBOUND_GROUP=OUT_6") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/777-0000100d", "1?nomax") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-dialout-trunk,s,10)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/777-0000100d", "0?skipoutcid") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:11] Set("SIP/777-0000100d", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:12] Macro("SIP/777-0000100d", "outbound-callerid,6") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/777-0000100d", "0?Set(CALLERPRES()=)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/777-0000100d", "0?Set(REALCALLERIDNUM=777)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/777-0000100d", "1?normcid") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/777-0000100d", "USEROUTCID=") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/777-0000100d", "EMERGENCYCID=") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/777-0000100d", "TRUNKOUTCID=") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/777-0000100d", "1?trunkcid") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-outbound-callerid,s,14)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/777-0000100d", "0?Set(CALLERID(all)=)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/777-0000100d", "0?Set(CALLERID(all)=)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/777-0000100d", "0?Set(CALLERID(all)=)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/777-0000100d", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:18] Set("SIP/777-0000100d", "CDR(outbound_cnum)=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:19] Set("SIP/777-0000100d", "CDR(outbound_cnam)=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/777-0000100d", "0?sub-flp-6,s,1()") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/777-0000100d", "OUTNUM=набираемый номер") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:15] Set("SIP/777-0000100d", "custom=AMP") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/777-0000100d", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/777-0000100d", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:18] Macro("SIP/777-0000100d", "dialout-trunk-predial-hook,") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/777-0000100d", "") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/777-0000100d", "0?bypass,1") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/777-0000100d", "1?Set(CONNECTEDLINE(num,i)=набираемый номер)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/777-0000100d", "1?Set(CONNECTEDLINE(name,i)=CID:777)") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/777-0000100d", "1?customtrunk") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-dialout-trunk,s,27)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:27] Set("SIP/777-0000100d", "pre_num=AMP:Balancedtrunk/BAL1") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:28] Set("SIP/777-0000100d", "the_num=") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:29] Set("SIP/777-0000100d", "post_num=") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:30] GotoIf("SIP/777-0000100d", "0?outnum:skipoutnum") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-dialout-trunk,s,32)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:32] Dial("SIP/777-0000100d", "Balancedtrunk/BAL1,300,Tt") in new stack
[2016-11-14 16:05:29] WARNING[36480][C-0000081b] channel.c: No channel type registered for 'Balancedtrunk'
[2016-11-14 16:05:29] WARNING[36480][C-0000081b] app_dial.c: Unable to create channel of type 'Balancedtrunk' (cause 66 - Channel not implemented)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:33] NoOp("SIP/777-0000100d", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 66") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:34] GotoIf("SIP/777-0000100d", "0?continue,1:s-CHANUNAVAIL,1") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/777-0000100d", "RC=66") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/777-0000100d", "66,1") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-dialout-trunk,66,1)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [66@macro-dialout-trunk:1] Goto("SIP/777-0000100d", "continue,1") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-dialout-trunk,continue,1)
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/777-0000100d", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 66 - failing through to other trunks") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [continue@macro-dialout-trunk:2] Set("SIP/777-0000100d", "CALLERID(number)=777") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [набираемый номер@from-internal:7] Macro("SIP/777-0000100d", "dialout-trunk,14,набираемый номер,,on") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/777-0000100d", "DIAL_TRUNK=14") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:2] AGI("SIP/777-0000100d", "trunkbalance.php,14,набираемый номер") in new stack
[2016-11-14 16:05:29] VERBOSE[36480][C-0000081b] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/trunkbalance.php
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] res_agi.c: -- trunkbalance.php,14,набираемый номер: Dialed digits: набираемый номер
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] res_agi.c: -- trunkbalance.php,14,набираемый номер: No balancing rules are defined for this trunk
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] res_agi.c: -- <SIP/777-0000100d>AGI Script trunkbalance.php completed, returning 0
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/777-0000100d", "0?sub-pincheck,s,1()") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/777-0000100d", "0?disabletrunk,1") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/777-0000100d", "DIAL_NUMBER=набираемый номер") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/777-0000100d", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:7] Set("SIP/777-0000100d", "OUTBOUND_GROUP=OUT_14") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/777-0000100d", "0?nomax") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/777-0000100d", "0?chanfull") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/777-0000100d", "0?skipoutcid") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:11] Set("SIP/777-0000100d", "DIAL_TRUNK_OPTIONS=Tt") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:12] Macro("SIP/777-0000100d", "outbound-callerid,14") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/777-0000100d", "0?Set(CALLERPRES()=)") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/777-0000100d", "0?Set(REALCALLERIDNUM=777)") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/777-0000100d", "1?normcid") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-outbound-callerid,s,6)
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/777-0000100d", "USEROUTCID=") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/777-0000100d", "EMERGENCYCID=") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/777-0000100d", "TRUNKOUTCID="номер сип аккаунта 2"") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/777-0000100d", "1?trunkcid") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Goto (macro-outbound-callerid,s,14)
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/777-0000100d", "1?Set(CALLERID(all)="номер сип аккаунта 2")") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/777-0000100d", "0?Set(CALLERID(all)=)") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/777-0000100d", "0?Set(CALLERID(all)=)") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/777-0000100d", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:18] Set("SIP/777-0000100d", "CDR(outbound_cnum)="номер сип аккаунта 2"") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-outbound-callerid:19] Set("SIP/777-0000100d", "CDR(outbound_cnam)=") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/777-0000100d", "1?sub-flp-14,s,1()") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@sub-flp-14:1] ExecIf("SIP/777-0000100d", "1?Return()") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/777-0000100d", "OUTNUM=набираемый номер") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:15] Set("SIP/777-0000100d", "custom=SIP/sip-account-2") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/777-0000100d", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:17] ExecIf("SIP/777-0000100d", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:18] Macro("SIP/777-0000100d", "dialout-trunk-predial-hook,") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/777-0000100d", "") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/777-0000100d", "0?bypass,1") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/777-0000100d", "1?Set(CONNECTEDLINE(num,i)=набираемый номер)") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/777-0000100d", "1?Set(CONNECTEDLINE(name,i)=CID:"номер сип аккаунта 2")") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/777-0000100d", "0?customtrunk") in new stack
[2016-11-14 16:05:30] VERBOSE[36480][C-0000081b] pbx.c: -- Executing [s@macro-dialout-trunk:23] Dial("SIP/777-0000100d", "SIP/sip-account-2/набираемый номер,300,Tt") in new stack
Задан: 2016-11-14 17:30:54 +0400
Просмотрен: 258 раз
Обновлен: Nov 14 '16
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.
Просто группу создать на астериске, и на нее звонить нет?
Out ( 2016-11-14 22:21:25 +0400 )редактировать