И вроде даже что то получилось.
Описываю.
Есть транк
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Есть транк
Код: Выделить всё
[from-trunk-sip-to_teligent]
include => from-trunk-sip-to_teligent-custom
exten => _.,1,Set(GROUP()=OUT_1)
exten => _.,n,Goto(from-trunk,${EXTEN},1)
; end of [from-trunk-sip-to_teligent]
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: from-trunk-sip-to_teligent-custom
Код: Выделить всё
exten => _X.,1,Set(CALLERID(num)=0${CALLERID(num)})
Глянул в dialplan show from-trunk-sip-to_teligent, а там include в самом конце...
Почитал ну вроде так и должно обрабатываться, хотя в конфиге то вверху...
И это первый вопрос, а можно ли сделать, что бы include обрабатывался раньше?
Ну да ладно, пошел я по контекстам как и писал ded вот в этом сообщении
dialplan show from-trunk
dialplan show from-pstn
dialplan show from-pstn-custom
Решил я туточки и написать правила. Но как всегда не все так просто. У меня транков аж 4, и это не предел, будет больше. И мне не надо на всех менять CID, а только на некоторых из них. Решил я сделать через GotoIf
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Результат
Код: Выделить всё
[from-pstn-custom]
exten => _.,1,GotoIf($["${CUT(CHANNEL,,1)}" = "SIP/to_teligent"]?2:3)
exten => _.,2,Goto(from-trunk-sip-to_teligent-if,${EXTEN},1)
exten => _.,3,GotoIf($["${CUT(CHANNEL,,1)}" = "SIP/to_tsu_2202731"]?4:5)
exten => _.,4,Goto(from-trunk-sip-to_tsu_2202731-if,${EXTEN},1)
exten => _.,5,GotoIf($["${CUT(CHANNEL,,1)}" = "SIP/to_futuredimension"]?6:7)
exten => _.,6,Goto(from-trunk-sip-to_futuredimension-if,${EXTEN},1)
exten => _.,7,GotoIf($["${CUT(CHANNEL,,1)}" = "SIP/to_kashglobal"]?8)
exten => _.,8,Goto(from-trunk-sip-to_kashglobal-if,${EXTEN},1)
[from-trunk-sip-to_teligent-if]
;exten => _X.,1,Set(CALLERID(num)=${CALLERID(num)})
[from-trunk-sip-to_tsu_2202731-if]
exten => _X.,1,Set(CALLERID(num)=0${CALLERID(num)})
[from-trunk-sip-to_futuredimension-if]
;exten => _X.,1,Set(CALLERID(num)=${CALLERID(num)})
[from-trunk-sip-to_kashglobal-if]
;exten => _X.,1,Set(CALLERID(num)=${CALLERID(num)})
Код: Выделить всё
exten => _.,n,Goto(ext-did,${EXTEN},1)
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: В результате вот что вышло
Код: Выделить всё
[from-pstn-custom]
exten => _.,1,GotoIf($["${CUT(CHANNEL,,1)}" = "SIP/to_teligent"]?2:3)
exten => _.,2,Goto(from-trunk-sip-to_teligent-if,${EXTEN},1)
exten => _.,3,GotoIf($["${CUT(CHANNEL,,1)}" = "SIP/to_tsu_2202731"]?4:5)
exten => _.,4,Goto(from-trunk-sip-to_tsu_2202731-if,${EXTEN},1)
exten => _.,5,GotoIf($["${CUT(CHANNEL,,1)}" = "SIP/to_futuredimension"]?6:7)
exten => _.,6,Goto(from-trunk-sip-to_futuredimension-if,${EXTEN},1)
exten => _.,7,GotoIf($["${CUT(CHANNEL,,1)}" = "SIP/to_kashglobal"]?8:9)
exten => _.,8,Goto(from-trunk-sip-to_kashglobal-if,${EXTEN},1)
exten => _.,n,Goto(ext-did,${EXTEN},1)
[from-trunk-sip-to_teligent-if]
;exten => _X.,1,Set(CALLERID(num)=${CALLERID(num)})
exten => _.,n,Goto(ext-did,${EXTEN},1)
[from-trunk-sip-to_tsu_2202731-if]
exten => _X.,1,Set(CALLERID(num)=0${CALLERID(num)})
exten => _.,n,Goto(ext-did,${EXTEN},1)
[from-trunk-sip-to_futuredimension-if]
;exten => _X.,1,Set(CALLERID(num)=${CALLERID(num)})
exten => _.,n,Goto(ext-did,${EXTEN},1)
[from-trunk-sip-to_kashglobal-if]
;exten => _X.,1,Set(CALLERID(num)=${CALLERID(num)})
exten => _.,n,Goto(ext-did,${EXTEN},1)
ЛОГ
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Не происходит обратный звонок
Код: Выделить всё
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [2202731@from-trunk-sip-to_tsu_2202731:1] Set("SIP/to_tsu_2202731-0000086d", "GROUP()=OUT_2") in new stack
-- Executing [2202731@from-trunk-sip-to_tsu_2202731:2] Goto("SIP/to_tsu_2202731-0000086d", "from-trunk,2202731,1") in new stack
-- Goto (from-trunk,2202731,1)
-- Executing [2202731@from-trunk:1] GotoIf("SIP/to_tsu_2202731-0000086d", "0?2:3") in new stack
-- Goto (from-trunk,2202731,3)
-- Executing [2202731@from-trunk:3] GotoIf("SIP/to_tsu_2202731-0000086d", "1?4:5") in new stack
-- Goto (from-trunk,2202731,4)
-- Executing [2202731@from-trunk:4] Goto("SIP/to_tsu_2202731-0000086d", "from-trunk-sip-to_tsu_2202731-if,2202731,1") in new stack
-- Goto (from-trunk-sip-to_tsu_2202731-if,2202731,1)
-- Executing [2202731@from-trunk-sip-to_tsu_2202731-if:1] Set("SIP/to_tsu_2202731-0000086d", "CALLERID(num)=0919566061") in new stack
-- Executing [2202731@from-trunk-sip-to_tsu_2202731-if:2] Goto("SIP/to_tsu_2202731-0000086d", "ext-did,2202731,1") in new stack
-- Goto (ext-did,2202731,1)
-- Executing [2202731@ext-did:1] Set("SIP/to_tsu_2202731-0000086d", "__FROM_DID=2202731") in new stack
-- Executing [2202731@ext-did:2] Gosub("SIP/to_tsu_2202731-0000086d", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/to_tsu_2202731-0000086d", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/to_tsu_2202731-0000086d", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/to_tsu_2202731-0000086d", "") in new stack
-- Executing [2202731@ext-did:3] ExecIf("SIP/to_tsu_2202731-0000086d", "0 ?Set(CALLERID(name)=0919566061)") in new stack
-- Executing [2202731@ext-did:4] Set("SIP/to_tsu_2202731-0000086d", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [2202731@ext-did:5] Set("SIP/to_tsu_2202731-0000086d", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [2202731@ext-did:6] Goto("SIP/to_tsu_2202731-0000086d", "ext-group,71000,1") in new stack
-- Goto (ext-group,71000,1)
-- Executing [71000@ext-group:1] Macro("SIP/to_tsu_2202731-0000086d", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/to_tsu_2202731-0000086d", "AMPUSER=0919566061") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/to_tsu_2202731-0000086d", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/to_tsu_2202731-0000086d", "1?Set(REALCALLERIDNUM=0919566061)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/to_tsu_2202731-0000086d", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/to_tsu_2202731-0000086d", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/to_tsu_2202731-0000086d", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/to_tsu_2202731-0000086d", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/to_tsu_2202731-0000086d", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/to_tsu_2202731-0000086d", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/to_tsu_2202731-0000086d", "CALLERID(number)=0919566061") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/to_tsu_2202731-0000086d", "CALLERID(name)=919566061") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/to_tsu_2202731-0000086d", "Using CallerID "919566061" <0919566061>") in new stack
-- Executing [71000@ext-group:2] GotoIf("SIP/to_tsu_2202731-0000086d", "1?skipdb") in new stack
-- Goto (ext-group,71000,4)
-- Executing [71000@ext-group:4] Set("SIP/to_tsu_2202731-0000086d", "__NODEST=") in new stack
-- Executing [71000@ext-group:5] Set("SIP/to_tsu_2202731-0000086d", "__BLKVM_OVERRIDE=BLKVM/71000/SIP/to_tsu_2202731-0000086d") in new stack
-- Executing [71000@ext-group:6] Set("SIP/to_tsu_2202731-0000086d", "__BLKVM_BASE=71000") in new stack
-- Executing [71000@ext-group:7] Set("SIP/to_tsu_2202731-0000086d", "DB(BLKVM/71000/SIP/to_tsu_2202731-0000086d)=TRUE") in new stack
-- Executing [71000@ext-group:8] Set("SIP/to_tsu_2202731-0000086d", "RRNODEST=") in new stack
-- Executing [71000@ext-group:9] Set("SIP/to_tsu_2202731-0000086d", "__NODEST=71000") in new stack
-- Executing [71000@ext-group:10] GosubIf("SIP/to_tsu_2202731-0000086d", "0?sub-rgsetcid,s,1") in new stack
-- Executing [71000@ext-group:11] Set("SIP/to_tsu_2202731-0000086d", "RecordMethod=Group") in new stack
-- Executing [71000@ext-group:12] Macro("SIP/to_tsu_2202731-0000086d", "record-enable,71001#,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/to_tsu_2202731-0000086d", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/to_tsu_2202731-0000086d", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/to_tsu_2202731-0000086d", "1?Group:OUT") in new stack
-- Goto (macro-record-enable,s,6)
-- Executing [s@macro-record-enable:6] Set("SIP/to_tsu_2202731-0000086d", "LOOPCNT=1") in new stack
-- Executing [s@macro-record-enable:7] Set("SIP/to_tsu_2202731-0000086d", "ITER=1") in new stack
-- Executing [s@macro-record-enable:8] GotoIf("SIP/to_tsu_2202731-0000086d", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("SIP/to_tsu_2202731-0000086d", "ITER=2") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("SIP/to_tsu_2202731-0000086d", "0?begin") in new stack
-- Executing [s@macro-record-enable:15] GotoIf("SIP/to_tsu_2202731-0000086d", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/to_tsu_2202731-0000086d", "1?MacroExit()") in new stack
-- Executing [71000@ext-group:13] Set("SIP/to_tsu_2202731-0000086d", "RingGroupMethod=ringall") in new stack
-- Executing [71000@ext-group:14] Macro("SIP/to_tsu_2202731-0000086d", "dial,20,tr,71001#") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/to_tsu_2202731-0000086d", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/to_tsu_2202731-0000086d", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '919566061' number is '0919566061'
> dialparties.agi: USE_CONFIRMATION: 'FALSE'
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 71001# to extension map
-- dialparties.agi: Extension 71001# cf is disabled
> dialparties.agi: extnum 71001# has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: Built External dialstring component for 71001: Local/71001@from-internal/n
-- dialparties.agi: Filtered ARG3: 71001
> dialparties.agi: NODEST: 71000 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
> dialparties.agi: NODEST: 71000 blkvm enabled macro already in dialopts: trM(auto-blkvm)
-- <SIP/to_tsu_2202731-0000086d>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/to_tsu_2202731-0000086d", "Local/71001@from-internal/n,20,trM(auto-blkvm)") in new stack
-- Called Local/71001@from-internal/n
-- Executing [71001@from-internal:1] Macro("Local/71001@from-internal-0000003d;2", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/71001@from-internal-0000003d;2", "AMPUSER=0919566061") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/71001@from-internal-0000003d;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/71001@from-internal-0000003d;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("Local/71001@from-internal-0000003d;2", "CALLERID(number)=0919566061") in new stack
-- Executing [s@macro-user-callerid:20] Set("Local/71001@from-internal-0000003d;2", "CALLERID(name)=919566061") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("Local/71001@from-internal-0000003d;2", "Using CallerID "919566061" <0919566061>") in new stack
-- Executing [71001@from-internal:2] NoOp("Local/71001@from-internal-0000003d;2", "Calling Out Route: to_71001") in new stack
-- Executing [71001@from-internal:3] Set("Local/71001@from-internal-0000003d;2", "MOHCLASS=default") in new stack
-- Executing [71001@from-internal:4] Set("Local/71001@from-internal-0000003d;2", "_NODEST=") in new stack
-- Executing [71001@from-internal:5] Macro("Local/71001@from-internal-0000003d;2", "record-enable,0919566061,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/71001@from-internal-0000003d;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("Local/71001@from-internal-0000003d;2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("Local/71001@from-internal-0000003d;2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("Local/71001@from-internal-0000003d;2", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("Local/71001@from-internal-0000003d;2", "1?MacroExit()") in new stack
-- Executing [71001@from-internal:6] Macro("Local/71001@from-internal-0000003d;2", "dialout-trunk,1,71001,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/71001@from-internal-0000003d;2", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/71001@from-internal-0000003d;2", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/71001@from-internal-0000003d;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/71001@from-internal-0000003d;2", "DIAL_NUMBER=71001") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/71001@from-internal-0000003d;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/71001@from-internal-0000003d;2", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/71001@from-internal-0000003d;2", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/71001@from-internal-0000003d;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/71001@from-internal-0000003d;2", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/71001@from-internal-0000003d;2", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/71001@from-internal-0000003d;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/71001@from-internal-0000003d;2", "1?Set(REALCALLERIDNUM=0919566061)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/71001@from-internal-0000003d;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/71001@from-internal-0000003d;2", "USEROUTCID=0919566061") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/71001@from-internal-0000003d;2", "1?bypass") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("Local/71001@from-internal-0000003d;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/71001@from-internal-0000003d;2", "TRUNKOUTCID="hidden" <60000>") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/71001@from-internal-0000003d;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/71001@from-internal-0000003d;2", "1?Set(CALLERID(all)="hidden" <60000>)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/71001@from-internal-0000003d;2", "1?Set(CALLERID(all)=0919566061)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/71001@from-internal-0000003d;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/71001@from-internal-0000003d;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/71001@from-internal-0000003d;2", "0?sub-flp-1,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/71001@from-internal-0000003d;2", "OUTNUM=71001") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/71001@from-internal-0000003d;2", "custom=SIP/to_teligent") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/71001@from-internal-0000003d;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("Local/71001@from-internal-0000003d;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/71001@from-internal-0000003d;2", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("Local/71001@from-internal-0000003d;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/71001@from-internal-0000003d;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("Local/71001@from-internal-0000003d;2", "SIP/to_teligent/71001,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/to_teligent/71001
-- SIP/to_teligent-0000086e is making progress passing it to Local/71001@from-internal-0000003d;2
-- Local/71001@from-internal-0000003d;1 is making progress passing it to SIP/to_tsu_2202731-0000086d
-- SIP/to_teligent-0000086e is ringing
-- Local/71001@from-internal-0000003d;1 is ringing
-- SIP/to_teligent-0000086e is making progress passing it to Local/71001@from-internal-0000003d;2
-- Local/71001@from-internal-0000003d;1 is making progress passing it to SIP/to_tsu_2202731-0000086d
-- SIP/to_teligent-0000086e answered Local/71001@from-internal-0000003d;2
-- Local/71001@from-internal-0000003d;1 answered SIP/to_tsu_2202731-0000086d
-- Executing [s@macro-auto-blkvm:1] Set("Local/71001@from-internal-0000003d;1", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] NoOp("Local/71001@from-internal-0000003d;1", "Deleting: BLKVM/71000/SIP/to_tsu_2202731-0000086d TRUE") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [70505@from-trunk-sip-to_teligent:1] Set("SIP/to_teligent-0000086f", "GROUP()=OUT_1") in new stack
-- Executing [70505@from-trunk-sip-to_teligent:2] Goto("SIP/to_teligent-0000086f", "from-trunk,70505,1") in new stack
-- Goto (from-trunk,70505,1)
-- Executing [70505@from-trunk:1] GotoIf("SIP/to_teligent-0000086f", "1?2:3") in new stack
-- Goto (from-trunk,70505,2)
-- Executing [70505@from-trunk:2] Goto("SIP/to_teligent-0000086f", "from-trunk-sip-to_teligent-if,70505,1") in new stack
-- Goto (from-trunk-sip-to_teligent-if,70505,1)
-- Executing [h@macro-dialout-trunk:1] Macro("Local/71001@from-internal-0000003d;2", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/71001@from-internal-0000003d;2", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("Local/71001@from-internal-0000003d;2", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("Local/71001@from-internal-0000003d;2", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("Local/71001@from-internal-0000003d;2", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("Local/71001@from-internal-0000003d;2", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("Local/71001@from-internal-0000003d;2", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("Local/71001@from-internal-0000003d;2", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("Local/71001@from-internal-0000003d;2", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("Local/71001@from-internal-0000003d;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("Local/71001@from-internal-0000003d;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("Local/71001@from-internal-0000003d;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("Local/71001@from-internal-0000003d;2", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <Local/71001@from-internal-0000003d;2>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("Local/71001@from-internal-0000003d;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'Local/71001@from-internal-0000003d;2' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'Local/71001@from-internal-0000003d;2'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'Local/71001@from-internal-0000003d;2' in macro 'dialout-trunk'
== Spawn extension (from-internal, 71001, 6) exited non-zero on 'Local/71001@from-internal-0000003d;2'
-- Executing [h@macro-dial:1] Macro("SIP/to_tsu_2202731-0000086d", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/to_tsu_2202731-0000086d", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/to_tsu_2202731-0000086d", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/to_tsu_2202731-0000086d", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/to_tsu_2202731-0000086d", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/to_tsu_2202731-0000086d", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/to_tsu_2202731-0000086d", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/to_tsu_2202731-0000086d", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/to_tsu_2202731-0000086d", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/to_tsu_2202731-0000086d", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/to_tsu_2202731-0000086d", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:46] NoOp("SIP/to_tsu_2202731-0000086d", "Cleaning Up Block VM Flag: BLKVM/71000/SIP/to_tsu_2202731-0000086d") in new stack
-- Executing [s@macro-hangupcall:47] NoOp("SIP/to_tsu_2202731-0000086d", "Deleting: BLKVM/71000/SIP/to_tsu_2202731-0000086d ") in new stack
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/to_tsu_2202731-0000086d", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/to_tsu_2202731-0000086d", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/to_tsu_2202731-0000086d>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/to_tsu_2202731-0000086d", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/to_tsu_2202731-0000086d' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/to_tsu_2202731-0000086d'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/to_tsu_2202731-0000086d' in macro 'dial'
== Spawn extension (ext-group, 71000, 14) exited non-zero on 'SIP/to_tsu_2202731-0000086d'
ЛОГ
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER: Происходит обратный звонок
Код: Выделить всё
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [2202731@from-trunk-sip-to_tsu_2202731:1] Set("SIP/to_tsu_2202731-00000870", "GROUP()=OUT_2") in new stack
-- Executing [2202731@from-trunk-sip-to_tsu_2202731:2] Goto("SIP/to_tsu_2202731-00000870", "from-trunk,2202731,1") in new stack
-- Goto (from-trunk,2202731,1)
-- Executing [2202731@from-trunk:1] Set("SIP/to_tsu_2202731-00000870", "__FROM_DID=2202731") in new stack
-- Executing [2202731@from-trunk:2] Gosub("SIP/to_tsu_2202731-00000870", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/to_tsu_2202731-00000870", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/to_tsu_2202731-00000870", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/to_tsu_2202731-00000870", "") in new stack
-- Executing [2202731@from-trunk:3] ExecIf("SIP/to_tsu_2202731-00000870", "0 ?Set(CALLERID(name)=919566061)") in new stack
-- Executing [2202731@from-trunk:4] Set("SIP/to_tsu_2202731-00000870", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [2202731@from-trunk:5] Set("SIP/to_tsu_2202731-00000870", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [2202731@from-trunk:6] Goto("SIP/to_tsu_2202731-00000870", "ext-group,71000,1") in new stack
-- Goto (ext-group,71000,1)
-- Executing [71000@ext-group:1] Macro("SIP/to_tsu_2202731-00000870", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/to_tsu_2202731-00000870", "AMPUSER=919566061") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/to_tsu_2202731-00000870", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/to_tsu_2202731-00000870", "1?Set(REALCALLERIDNUM=919566061)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/to_tsu_2202731-00000870", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/to_tsu_2202731-00000870", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/to_tsu_2202731-00000870", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/to_tsu_2202731-00000870", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/to_tsu_2202731-00000870", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/to_tsu_2202731-00000870", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/to_tsu_2202731-00000870", "CALLERID(number)=919566061") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/to_tsu_2202731-00000870", "CALLERID(name)=919566061") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/to_tsu_2202731-00000870", "Using CallerID "919566061" <919566061>") in new stack
-- Executing [71000@ext-group:2] GotoIf("SIP/to_tsu_2202731-00000870", "1?skipdb") in new stack
-- Goto (ext-group,71000,4)
-- Executing [71000@ext-group:4] Set("SIP/to_tsu_2202731-00000870", "__NODEST=") in new stack
-- Executing [71000@ext-group:5] Set("SIP/to_tsu_2202731-00000870", "__BLKVM_OVERRIDE=BLKVM/71000/SIP/to_tsu_2202731-00000870") in new stack
-- Executing [71000@ext-group:6] Set("SIP/to_tsu_2202731-00000870", "__BLKVM_BASE=71000") in new stack
-- Executing [71000@ext-group:7] Set("SIP/to_tsu_2202731-00000870", "DB(BLKVM/71000/SIP/to_tsu_2202731-00000870)=TRUE") in new stack
-- Executing [71000@ext-group:8] Set("SIP/to_tsu_2202731-00000870", "RRNODEST=") in new stack
-- Executing [71000@ext-group:9] Set("SIP/to_tsu_2202731-00000870", "__NODEST=71000") in new stack
-- Executing [71000@ext-group:10] GosubIf("SIP/to_tsu_2202731-00000870", "0?sub-rgsetcid,s,1") in new stack
-- Executing [71000@ext-group:11] Set("SIP/to_tsu_2202731-00000870", "RecordMethod=Group") in new stack
-- Executing [71000@ext-group:12] Macro("SIP/to_tsu_2202731-00000870", "record-enable,71001#,Group") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/to_tsu_2202731-00000870", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/to_tsu_2202731-00000870", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/to_tsu_2202731-00000870", "1?Group:OUT") in new stack
-- Goto (macro-record-enable,s,6)
-- Executing [s@macro-record-enable:6] Set("SIP/to_tsu_2202731-00000870", "LOOPCNT=1") in new stack
-- Executing [s@macro-record-enable:7] Set("SIP/to_tsu_2202731-00000870", "ITER=1") in new stack
-- Executing [s@macro-record-enable:8] GotoIf("SIP/to_tsu_2202731-00000870", "1?continue") in new stack
-- Goto (macro-record-enable,s,13)
-- Executing [s@macro-record-enable:13] Set("SIP/to_tsu_2202731-00000870", "ITER=2") in new stack
-- Executing [s@macro-record-enable:14] GotoIf("SIP/to_tsu_2202731-00000870", "0?begin") in new stack
-- Executing [s@macro-record-enable:15] GotoIf("SIP/to_tsu_2202731-00000870", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/to_tsu_2202731-00000870", "1?MacroExit()") in new stack
-- Executing [71000@ext-group:13] Set("SIP/to_tsu_2202731-00000870", "RingGroupMethod=ringall") in new stack
-- Executing [71000@ext-group:14] Macro("SIP/to_tsu_2202731-00000870", "dial,20,tr,71001#") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/to_tsu_2202731-00000870", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/to_tsu_2202731-00000870", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '919566061' number is '919566061'
> dialparties.agi: USE_CONFIRMATION: 'FALSE'
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'ringall'
-- dialparties.agi: Added extension 71001# to extension map
-- dialparties.agi: Extension 71001# cf is disabled
> dialparties.agi: extnum 71001# has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: Built External dialstring component for 71001: Local/71001@from-internal/n
-- dialparties.agi: Filtered ARG3: 71001
> dialparties.agi: NODEST: 71000 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
> dialparties.agi: NODEST: 71000 blkvm enabled macro already in dialopts: trM(auto-blkvm)
-- <SIP/to_tsu_2202731-00000870>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/to_tsu_2202731-00000870", "Local/71001@from-internal/n,20,trM(auto-blkvm)") in new stack
-- Called Local/71001@from-internal/n
-- Executing [71001@from-internal:1] Macro("Local/71001@from-internal-0000003e;2", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/71001@from-internal-0000003e;2", "AMPUSER=919566061") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/71001@from-internal-0000003e;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/71001@from-internal-0000003e;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("Local/71001@from-internal-0000003e;2", "CALLERID(number)=919566061") in new stack
-- Executing [s@macro-user-callerid:20] Set("Local/71001@from-internal-0000003e;2", "CALLERID(name)=919566061") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("Local/71001@from-internal-0000003e;2", "Using CallerID "919566061" <919566061>") in new stack
-- Executing [71001@from-internal:2] NoOp("Local/71001@from-internal-0000003e;2", "Calling Out Route: to_71001") in new stack
-- Executing [71001@from-internal:3] Set("Local/71001@from-internal-0000003e;2", "MOHCLASS=default") in new stack
-- Executing [71001@from-internal:4] Set("Local/71001@from-internal-0000003e;2", "_NODEST=") in new stack
-- Executing [71001@from-internal:5] Macro("Local/71001@from-internal-0000003e;2", "record-enable,919566061,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/71001@from-internal-0000003e;2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("Local/71001@from-internal-0000003e;2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("Local/71001@from-internal-0000003e;2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("Local/71001@from-internal-0000003e;2", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("Local/71001@from-internal-0000003e;2", "1?MacroExit()") in new stack
-- Executing [71001@from-internal:6] Macro("Local/71001@from-internal-0000003e;2", "dialout-trunk,1,71001,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/71001@from-internal-0000003e;2", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/71001@from-internal-0000003e;2", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/71001@from-internal-0000003e;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/71001@from-internal-0000003e;2", "DIAL_NUMBER=71001") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/71001@from-internal-0000003e;2", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/71001@from-internal-0000003e;2", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/71001@from-internal-0000003e;2", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/71001@from-internal-0000003e;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/71001@from-internal-0000003e;2", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/71001@from-internal-0000003e;2", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/71001@from-internal-0000003e;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/71001@from-internal-0000003e;2", "1?Set(REALCALLERIDNUM=919566061)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/71001@from-internal-0000003e;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/71001@from-internal-0000003e;2", "USEROUTCID=919566061") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/71001@from-internal-0000003e;2", "1?bypass") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("Local/71001@from-internal-0000003e;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/71001@from-internal-0000003e;2", "TRUNKOUTCID="hidden" <60000>") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/71001@from-internal-0000003e;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/71001@from-internal-0000003e;2", "1?Set(CALLERID(all)="hidden" <60000>)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/71001@from-internal-0000003e;2", "1?Set(CALLERID(all)=919566061)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/71001@from-internal-0000003e;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/71001@from-internal-0000003e;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/71001@from-internal-0000003e;2", "0?sub-flp-1,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/71001@from-internal-0000003e;2", "OUTNUM=71001") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/71001@from-internal-0000003e;2", "custom=SIP/to_teligent") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/71001@from-internal-0000003e;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("Local/71001@from-internal-0000003e;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/71001@from-internal-0000003e;2", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("Local/71001@from-internal-0000003e;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/71001@from-internal-0000003e;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("Local/71001@from-internal-0000003e;2", "SIP/to_teligent/71001,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/to_teligent/71001
-- SIP/to_teligent-00000871 is making progress passing it to Local/71001@from-internal-0000003e;2
-- Local/71001@from-internal-0000003e;1 is making progress passing it to SIP/to_tsu_2202731-00000870
-- SIP/to_teligent-00000871 is ringing
-- SIP/to_teligent-00000871 is making progress passing it to Local/71001@from-internal-0000003e;2
-- Local/71001@from-internal-0000003e;1 is ringing
-- Local/71001@from-internal-0000003e;1 is making progress passing it to SIP/to_tsu_2202731-00000870
-- SIP/to_teligent-00000871 answered Local/71001@from-internal-0000003e;2
-- Local/71001@from-internal-0000003e;1 answered SIP/to_tsu_2202731-00000870
-- Executing [s@macro-auto-blkvm:1] Set("Local/71001@from-internal-0000003e;1", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] NoOp("Local/71001@from-internal-0000003e;1", "Deleting: BLKVM/71000/SIP/to_tsu_2202731-00000870 TRUE") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [70505@from-trunk-sip-to_teligent:1] Set("SIP/to_teligent-00000872", "GROUP()=OUT_1") in new stack
-- Executing [70505@from-trunk-sip-to_teligent:2] Goto("SIP/to_teligent-00000872", "from-trunk,70505,1") in new stack
-- Goto (from-trunk,70505,1)
-- Executing [70505@from-trunk:1] Set("SIP/to_teligent-00000872", "__FROM_DID=70505") in new stack
-- Executing [70505@from-trunk:2] Gosub("SIP/to_teligent-00000872", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/to_teligent-00000872", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/to_teligent-00000872", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/to_teligent-00000872", "") in new stack
-- Executing [70505@from-trunk:3] ExecIf("SIP/to_teligent-00000872", "1 ?Set(CALLERID(name)=919566061)") in new stack
-- Executing [70505@from-trunk:4] Set("SIP/to_teligent-00000872", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [70505@from-trunk:5] Set("SIP/to_teligent-00000872", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [70505@from-trunk:6] Goto("SIP/to_teligent-00000872", "ext-trunk,1,1") in new stack
-- Goto (ext-trunk,1,1)
-- Executing [1@ext-trunk:1] Set("SIP/to_teligent-00000872", "TDIAL_STRING=SIP/to_teligent") in new stack
-- Executing [1@ext-trunk:2] Set("SIP/to_teligent-00000872", "DIAL_TRUNK=1") in new stack
-- Executing [1@ext-trunk:3] Goto("SIP/to_teligent-00000872", "ext-trunk,tdial,1") in new stack
-- Goto (ext-trunk,tdial,1)
-- Executing [tdial@ext-trunk:1] Set("SIP/to_teligent-00000872", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [tdial@ext-trunk:2] GotoIf("SIP/to_teligent-00000872", "1?nomax") in new stack
-- Goto (ext-trunk,tdial,4)
-- Executing [tdial@ext-trunk:4] ExecIf("SIP/to_teligent-00000872", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [tdial@ext-trunk:5] Set("SIP/to_teligent-00000872", "DIAL_NUMBER=70505") in new stack
-- Executing [tdial@ext-trunk:6] GosubIf("SIP/to_teligent-00000872", "0?sub-flp-1,s,1") in new stack
-- Executing [tdial@ext-trunk:7] Set("SIP/to_teligent-00000872", "OUTNUM=70505") in new stack
-- Executing [tdial@ext-trunk:8] Dial("SIP/to_teligent-00000872", "SIP/to_teligent/70505,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/to_teligent/70505
-- SIP/to_teligent-00000873 is making progress passing it to SIP/to_teligent-00000872
-- SIP/to_teligent-00000873 answered SIP/to_teligent-00000872
-- Remotely bridging SIP/to_teligent-00000872 and SIP/to_teligent-00000873
-- Executing [h@macro-dial:1] Macro("SIP/to_tsu_2202731-00000870", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/to_tsu_2202731-00000870", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/to_tsu_2202731-00000870", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/to_tsu_2202731-00000870", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("SIP/to_tsu_2202731-00000870", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/to_tsu_2202731-00000870", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("SIP/to_tsu_2202731-00000870", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("SIP/to_tsu_2202731-00000870", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("SIP/to_tsu_2202731-00000870", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("SIP/to_tsu_2202731-00000870", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("SIP/to_tsu_2202731-00000870", "0?skipblkvm") in new stack
-- Executing [s@macro-hangupcall:46] NoOp("SIP/to_tsu_2202731-00000870", "Cleaning Up Block VM Flag: BLKVM/71000/SIP/to_tsu_2202731-00000870") in new stack
-- Executing [s@macro-hangupcall:47] NoOp("SIP/to_tsu_2202731-00000870", "Deleting: BLKVM/71000/SIP/to_tsu_2202731-00000870 ") in new stack
-- Executing [s@macro-hangupcall:48] GotoIf("SIP/to_tsu_2202731-00000870", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("SIP/to_tsu_2202731-00000870", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <SIP/to_tsu_2202731-00000870>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("SIP/to_tsu_2202731-00000870", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/to_tsu_2202731-00000870' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/to_tsu_2202731-00000870'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/to_tsu_2202731-00000870' in macro 'dial'
== Spawn extension (ext-group, 71000, 14) exited non-zero on 'SIP/to_tsu_2202731-00000870'
-- Executing [h@macro-dialout-trunk:1] Macro("Local/71001@from-internal-0000003e;2", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/71001@from-internal-0000003e;2", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("Local/71001@from-internal-0000003e;2", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("Local/71001@from-internal-0000003e;2", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,28)
-- Executing [s@macro-hangupcall:28] NoOp("Local/71001@from-internal-0000003e;2", "End of MEETME check") in new stack
-- Executing [s@macro-hangupcall:29] GotoIf("Local/71001@from-internal-0000003e;2", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] NoOp("Local/71001@from-internal-0000003e;2", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:35] GotoIf("Local/71001@from-internal-0000003e;2", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,41)
-- Executing [s@macro-hangupcall:41] NoOp("Local/71001@from-internal-0000003e;2", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:42] GotoIf("Local/71001@from-internal-0000003e;2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,45)
-- Executing [s@macro-hangupcall:45] GotoIf("Local/71001@from-internal-0000003e;2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,48)
-- Executing [s@macro-hangupcall:48] GotoIf("Local/71001@from-internal-0000003e;2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,50)
-- Executing [s@macro-hangupcall:50] AGI("Local/71001@from-internal-0000003e;2", "hangup.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
-- <Local/71001@from-internal-0000003e;2>AGI Script hangup.agi completed, returning 0
-- Executing [s@macro-hangupcall:51] Hangup("Local/71001@from-internal-0000003e;2", "") in new stack
== Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'Local/71001@from-internal-0000003e;2' in macro 'hangupcall'
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'Local/71001@from-internal-0000003e;2'
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'Local/71001@from-internal-0000003e;2' in macro 'dialout-trunk'
== Spawn extension (from-internal, 71001, 6) exited non-zero on 'Local/71001@from-internal-0000003e;2'
== Spawn extension (ext-trunk, tdial, 8) exited non-zero on 'SIP/to_teligent-00000872'
sip*CLI>