1 | изначальная версия редактировать | |
Здравствуйте. На предприятии реализована такая схема АТС: Yeastar MyPBX PRO<-> Asterisk 1.6.0.25 с FreePBX 2.9.0.12 <-> Ericsson MD110<->ТфОП Проблема заключается в следующем: при звонке с внутреннего номера (500) MyPBX на сотовый(89022545888), на последнем определяется номер(3432665000), который прописан в Исходящем ИД номере ZAP транка Asterisk-Ericsson. Хотя у внутреннего номера (500) MyPBX прописан другой(3432669999) Если звонить с внутреннего номера (7104) Asterisk - то оределяется правильно, как необходимо: Исходящий номер ИД:3432669999, который прописан в настройках внутреннего SIP-номера Asterisk.(вызов проходит через тот же ZAP транк Asterisk-Ericsson) Ума не приложу, где что нужно править, чтоб при звонке с MyPBX в ТфОП посылался Исходящий номер ИД внутреннего номера - 3432669999...
Вот лог звонка с MyPBX (через Asterisk)на сотовый 89022545888: MyPBX:
-- Executing [89022545888@DLPNDialPlan500:1] Set("SIP/500-0000002b", "ORGINEXTEN=89022545888") in new stack -- Executing [89022545888@DLPNDialPlan500:2] Set("SIP/500-0000002b", "ORGINCONTEXT=DLPNDialPlan500") in new stack -- Executing [89022545888@DLPNDialPlan500:3] GetNextOutRouter("SIP/500-0000002b", "DLPNDialPlan500,") in new stack -- Executing [89022545888@DLPNDialPlan500:4] Macro("SIP/500-0000002b", "trunkdial-failover-0.3,1,,89022545888,trunk-spx-bel,") in new stack -- Executing [s@macro-trunkdial-failover-0.3:1] NoOp("SIP/500-0000002b", "do call out") in new stack -- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/500-0000002b", "0?Blacklist-Handle,s,1") in new stack -- Executing [s@macro-trunkdial-failover-0.3:3] GotoIf("SIP/500-0000002b", "0?4:5") in new stack -- Goto (macro-trunkdial-failover-0.3,s,5) -- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/500-0000002b", "TCOUNT=4") in new stack -- Executing [s@macro-trunkdial-failover-0.3:6] Set("SIP/500-0000002b", "CDR(userfield)=Outbound") in new stack -- Executing [s@macro-trunkdial-failover-0.3:7] Set("SIP/500-0000002b", "OldCallerID=500") in new stack -- Executing [s@macro-trunkdial-failover-0.3:8] Set("SIP/500-0000002b", "TOUCHMONITOR=500-89022545888") in new stack -- Executing [s@macro-trunkdial-failover-0.3:9] NoOp("SIP/500-0000002b", "3432669999") in new stack -- Executing [s@macro-trunkdial-failover-0.3:10] Set("SIP/500-0000002b", "TIMEOUT(absolute)=6000") in new stack Channel will hangup at 2012-10-27 16:01:58.927 ???. -- Executing [s@macro-trunkdial-failover-0.3:11] Set("SIP/500-0000002b", "DLSTAT=UNKNOW}") in new stack -- Executing [s@macro-trunkdial-failover-0.3:12] SetCktCustom("SIP/500-0000002b", "sendrpid,yes,yes") in new stack -- Executing [s@macro-trunkdial-failover-0.3:13] GotoIf("SIP/500-0000002b", "1>0?1-dial,1") in new stack -- Goto (macro-trunkdial-failover-0.3,1-dial,1) -- Executing [1-dial@macro-trunkdial-failover-0.3:1] GotoIf("SIP/500-0000002b", "0?nextrouter,1") in new stack -- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/500-0000002b", "1?setdod,1:1-dial,3") in new stack -- Goto (macro-trunkdial-failover-0.3,setdod,1) -- Executing [setdod@macro-trunkdial-failover-0.3:1] Set("SIP/500-0000002b", "CALLERID(name)=3432669999") in new stack -- Executing [setdod@macro-trunkdial-failover-0.3:2] Set("SIP/500-0000002b", "CALLERID(num)=3432669999") in new stack -- Executing [setdod@macro-trunkdial-failover-0.3:3] Goto("SIP/500-0000002b", "1-dial,5") in new stack -- Goto (macro-trunkdial-failover-0.3,1-dial,5) -- Executing [1-dial@macro-trunkdial-failover-0.3:5] Set("SIP/500-0000002b", "SIPSRTP=") in new stack -- Executing [1-dial@macro-trunkdial-failover-0.3:6] Set("SIP/500-0000002b", "OUTDIALOPT=tTkKWwXx") in new stack -- Executing [1-dial@macro-trunkdial-failover-0.3:7] Dial("SIP/500-0000002b", "IAX2/trunk-spx-bel/89022545888,,tTkKWwXx") in new stack -- Called trunk-spx-bel/89022545888 -- Call accepted by 192.168.33.230 (format gsm) -- Format for call is gsm -- IAX2/trunk-spx-bel-250 is proceeding passing it to SIP/500-0000002b -- IAX2/trunk-spx-bel-250 is ringing -- Hungup 'IAX2/trunk-spx-bel-250' == Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 7) exited non-zero on 'SIP/500-0000002b' in macro 'trunkdial-failover-0.3' == Spawn extension (DLPNDialPlan500, 89022545888, 4) exited non-zero on 'SIP/500-0000002b' -- Executing [h@DLPNDialPlan500:1] NoOp("SIP/500-0000002b", "no thing to do") in new stack
Asterisk: -- Executing [89022545888@from-internal:1] Macro("IAX2/IzvestPBX-3469", "user-callerid,LIMIT,") in new stack -- Executing [s@macro-user-callerid:1] Set("IAX2/IzvestPBX-3469", "AMPUSER=3432669999") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("IAX2/IzvestPBX-3469", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("IAX2/IzvestPBX-3469", "1?Set(REALCALLERIDNUM=3432669999)") in new stack -- Executing [s@macro-user-callerid:4] Set("IAX2/IzvestPBX-3469", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:5] Set("IAX2/IzvestPBX-3469", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("IAX2/IzvestPBX-3469", "1?report") in new stack -- Goto (macro-user-callerid,s,12) -- Executing [s@macro-user-callerid:12] GotoIf("IAX2/IzvestPBX-3469", "1?continue") in new stack -- Goto (macro-user-callerid,s,25) -- Executing [s@macro-user-callerid:25] Set("IAX2/IzvestPBX-3469", "CALLERID(number)=3432669999") in new stack -- Executing [s@macro-user-callerid:26] Set("IAX2/IzvestPBX-3469", "CALLERID(name)=3432669999") in new stack -- Executing [89022545888@from-internal:2] Set("IAX2/IzvestPBX-3469", "MOHCLASS=default") in new stack -- Executing [89022545888@from-internal:3] Set("IAX2/IzvestPBX-3469", "NODEST=") in new stack -- Executing [89022545888@from-internal:4] Macro("IAX2/IzvestPBX-3469", "record-enable,,OUT,") in new stack -- Executing [s@macro-record-enable:1] GotoIf("IAX2/IzvestPBX-3469", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] ExecIf("IAX2/IzvestPBX-3469", "1?MacroExit()") in new stack -- Executing [89022545888@from-internal:5] Macro("IAX2/IzvestPBX-3469", "dialout-trunk,1,89022545888,") in new stack -- Executing [s@macro-dialout-trunk:1] Set("IAX2/IzvestPBX-3469", "DIALTRUNK=1") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/IzvestPBX-3469", "0?sub-pincheck,s,1") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/IzvestPBX-3469", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("IAX2/IzvestPBX-3469", "DIALNUMBER=89022545888") in new stack -- Executing [s@macro-dialout-trunk:5] Set("IAX2/IzvestPBX-3469", "DIALTRUNKOPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("IAX2/IzvestPBX-3469", "OUTBOUNDGROUP=OUT1") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/IzvestPBX-3469", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/IzvestPBX-3469", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("IAX2/IzvestPBX-3469", "DIALTRUNKOPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("IAX2/IzvestPBX-3469", "outbound-callerid,1") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/IzvestPBX-3469", "0?Set(REALCALLERIDNUM=3432669999)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/IzvestPBX-3469", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("IAX2/IzvestPBX-3469", "USEROUTCID=") in new stack -- Executing [s@macro-outbound-callerid:7] Set("IAX2/IzvestPBX-3469", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("IAX2/IzvestPBX-3469", "TRUNKOUTCID=3432665000") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/IzvestPBX-3469", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,12) -- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/IzvestPBX-3469", "1?Set(CALLERID(all)=3432665000)") in new stack -- Executing [s@macro-outbound-callerid:13] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("IAX2/IzvestPBX-3469", "0?sub-flp-1,s,1") in new stack -- Executing [s@macro-dialout-trunk:13] Set("IAX2/IzvestPBX-3469", "OUTNUM=89022545888") in new stack -- Executing [s@macro-dialout-trunk:14] Set("IAX2/IzvestPBX-3469", "custom=DAHDI/g0") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/IzvestPBX-3469", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack -- Executing [s@macro-dialout-trunk:16] ExecIf("IAX2/IzvestPBX-3469", "0?Set(DIALTRUNK_OPTIONS=M(confirm))") in new stack -- Executing [s@macro-dialout-trunk:17] Macro("IAX2/IzvestPBX-3469", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/IzvestPBX-3469", "") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/IzvestPBX-3469", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:19] GotoIf("IAX2/IzvestPBX-3469", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:20] Dial("IAX2/IzvestPBX-3469", "DAHDI/g0/89022545888,300,") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called g0/89022545888 -- DAHDI/1-1 is proceeding passing it to IAX2/IzvestPBX-3469 !! Unknown IE 50 (cs5, Unknown Information Element) -- DAHDI/1-1 is ringing -- Hungup 'DAHDI/1-1' == Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'IAX2/IzvestPBX-3469' in macro 'dialout-trunk' == Spawn extension (from-internal, 89022545888, 5) exited non-zero on 'IAX2/IzvestPBX-3469' -- Executing [h@from-internal:1] Hangup("IAX2/IzvestPBX-3469", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/IzvestPBX-3469' -- Hungup 'IAX2/IzvestPBX-3469'
Лог при звонке с Asterisk на сотовый: -- Executing [89022545888@Intercity-Mobile:1] Macro("SIP/7104-00000b05", "user-callerid,LIMIT,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/7104-00000b05", "AMPUSER=7104") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("SIP/7104-00000b05", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("SIP/7104-00000b05", "1?Set(REALCALLERIDNUM=7104)") in new stack -- Executing [s@macro-user-callerid:4] Set("SIP/7104-00000b05", "AMPUSER=7104") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/7104-00000b05", "AMPUSERCIDNAME=MrI") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/7104-00000b05", "0?report") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/7104-00000b05", "AMPUSERCID=7104") in new stack -- Executing [s@macro-user-callerid:8] Set("SIP/7104-00000b05", "CALLERID(all)="MrI" <7104>") in new stack -- Executing [s@macro-user-callerid:9] GotoIf("SIP/7104-00000b05", "0?limit") in new stack -- Executing [s@macro-user-callerid:10] ExecIf("SIP/7104-00000b05", "1?Set(GROUP(concurrencylimit)=7104)") in new stack -- Executing [s@macro-user-callerid:11] ExecIf("SIP/7104-00000b05", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("SIP/7104-00000b05", "1?continue") in new stack -- Goto (macro-user-callerid,s,25) -- Executing [s@macro-user-callerid:25] Set("SIP/7104-00000b05", "CALLERID(number)=7104") in new stack -- Executing [s@macro-user-callerid:26] Set("SIP/7104-00000b05", "CALLERID(name)=MrI") in new stack -- Executing [89022545888@Intercity-Mobile:2] Set("SIP/7104-00000b05", "MOHCLASS=default") in new stack -- Executing [89022545888@Intercity-Mobile:3] Set("SIP/7104-00000b05", "NODEST=") in new stack -- Executing [89022545888@Intercity-Mobile:4] Macro("SIP/7104-00000b05", "record-enable,7104,OUT,") in new stack -- Executing [s@macro-record-enable:1] GotoIf("SIP/7104-00000b05", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] ExecIf("SIP/7104-00000b05", "0?MacroExit()") in new stack -- Executing [s@macro-record-enable:5] GotoIf("SIP/7104-00000b05", "0?Group:OUT") in new stack -- Goto (macro-record-enable,s,14) -- Executing [s@macro-record-enable:14] GotoIf("SIP/7104-00000b05", "0?IN") in new stack -- Executing [s@macro-record-enable:15] ExecIf("SIP/7104-00000b05", "1?MacroExit()") in new stack -- Executing [89022545888@Intercity-Mobile:5] Macro("SIP/7104-00000b05", "dialout-trunk,1,89022545888,") in new stack -- Executing [s@macro-dialout-trunk:1] Set("SIP/7104-00000b05", "DIALTRUNK=1") in new stack -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/7104-00000b05", "0?sub-pincheck,s,1") in new stack -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/7104-00000b05", "0?disabletrunk,1") in new stack -- Executing [s@macro-dialout-trunk:4] Set("SIP/7104-00000b05", "DIALNUMBER=89022545888") in new stack -- Executing [s@macro-dialout-trunk:5] Set("SIP/7104-00000b05", "DIALTRUNKOPTIONS=tr") in new stack -- Executing [s@macro-dialout-trunk:6] Set("SIP/7104-00000b05", "OUTBOUNDGROUP=OUT1") in new stack -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/7104-00000b05", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/7104-00000b05", "0?skipoutcid") in new stack -- Executing [s@macro-dialout-trunk:10] Set("SIP/7104-00000b05", "DIALTRUNKOPTIONS=") in new stack -- Executing [s@macro-dialout-trunk:11] Macro("SIP/7104-00000b05", "outbound-callerid,1") in new stack -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/7104-00000b05", "0?Set(CALLERPRES()=)") in new stack -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/7104-00000b05", "0?Set(REALCALLERIDNUM=7104)") in new stack -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/7104-00000b05", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s@macro-outbound-callerid:6] Set("SIP/7104-00000b05", "USEROUTCID=3432669999") in new stack -- Executing [s@macro-outbound-callerid:7] Set("SIP/7104-00000b05", "EMERGENCYCID=") in new stack -- Executing [s@macro-outbound-callerid:8] Set("SIP/7104-00000b05", "TRUNKOUTCID=3432665000") in new stack -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/7104-00000b05", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,12) -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/7104-00000b05", "1?Set(CALLERID(all)=3432665000)") in new stack -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/7104-00000b05", "1?Set(CALLERID(all)=3432669999)") in new stack -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/7104-00000b05", "0?Set(CALLERID(all)=)") in new stack -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/7104-00000b05", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/7104-00000b05", "0?sub-flp-1,s,1") in new stack -- Executing [s@macro-dialout-trunk:13] Set("SIP/7104-00000b05", "OUTNUM=89022545888") in new stack -- Executing [s@macro-dialout-trunk:14] Set("SIP/7104-00000b05", "custom=DAHDI/g0") in new stack -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/7104-00000b05", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/7104-00000b05", "0?Set(DIALTRUNKOPTIONS=M(confirm))") in new stack -- Executing [s@macro-dialout-trunk:17] Macro("SIP/7104-00000b05", "dialout-trunk-predial-hook,") in new stack -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/7104-00000b05", "") in new stack -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/7104-00000b05", "0?bypass,1") in new stack -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/7104-00000b05", "0?customtrunk") in new stack -- Executing [s@macro-dialout-trunk:20] Dial("SIP/7104-00000b05", "DAHDI/g0/89022545888,300,") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called g0/89022545888 -- DAHDI/1-1 is proceeding passing it to SIP/7104-00000b05 !! Unknown IE 50 (cs5, Unknown Information Element) -- DAHDI/1-1 is ringing -- Hungup 'DAHDI/1-1' == Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/7104-00000b05' in macro 'dialout-trunk' == Spawn extension (Intercity-Mobile, 89022545888, 5) exited non-zero on 'SIP/7104-00000b05' -- Executing [h@Intercity-Mobile:1] Macro("SIP/7104-00000b05", "hangupcall,") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("SIP/7104-00000b05", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [s@macro-hangupcall:3] Hangup("SIP/7104-00000b05", "") in new stack == Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/7104-00000b05' in macro 'hangupcall' == Spawn extension (Intercity-Mobile, h, 1) exited non-zero on 'SIP/7104-00000b05'
... где что править??? подскажите, пожалуйста
2 | No.2 Revision редактировать |
Здравствуйте.
Здравствуйте.
На предприятии реализована такая схема АТС:
Yeastar MyPBX PRO<-> PRO<----> Asterisk 1.6.0.25 с FreePBX 2.9.0.12 <-> <----> Ericsson MD110<->ТфОП
MD110<--->ТфОП
Проблема заключается в следующем: при звонке с внутреннего номера (500) MyPBX на сотовый(89022545888), на последнем определяется номер(3432665000), который прописан в Исходящем ИД номере ZAP транка Asterisk-Ericsson. Хотя у внутреннего номера (500) MyPBX прописан другой(3432669999)
другой(3432669999)
Если звонить с внутреннего номера (7104) Asterisk - то оределяется правильно, как необходимо: Исходящий номер ИД:3432669999, который прописан в настройках внутреннего SIP-номера Asterisk.(вызов Asterisk.
(вызов проходит через тот же ZAP транк Asterisk-Ericsson)
Ума не приложу, где что нужно править, чтоб при звонке с MyPBX в ТфОП посылался Исходящий номер ИД внутреннего номера - 3432669999...
Вот лог звонка с MyPBX (через Asterisk)на сотовый 89022545888:
MyPBX:
-- Executing [89022545888@DLPNDialPlan500:1] Set("SIP/500-0000002b", "ORGINEXTEN=89022545888") in new stack
stack
-- Executing [89022545888@DLPNDialPlan500:2] Set("SIP/500-0000002b", "ORGINCONTEXT=DLPNDialPlan500") in new stack
stack
-- Executing [89022545888@DLPNDialPlan500:3] GetNextOutRouter("SIP/500-0000002b", "DLPNDialPlan500,") in new stack
stack
-- Executing [89022545888@DLPNDialPlan500:4] Macro("SIP/500-0000002b", "trunkdial-failover-0.3,1,,89022545888,trunk-spx-bel,") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:1] NoOp("SIP/500-0000002b", "do call out") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/500-0000002b", "0?Blacklist-Handle,s,1") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:3] GotoIf("SIP/500-0000002b", "0?4:5") in new stack
stack
-- Goto (macro-trunkdial-failover-0.3,s,5)
(macro-trunkdial-failover-0.3,s,5)
-- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/500-0000002b", "TCOUNT=4") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:6] Set("SIP/500-0000002b", "CDR(userfield)=Outbound") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:7] Set("SIP/500-0000002b", "OldCallerID=500") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:8] Set("SIP/500-0000002b", "TOUCHMONITOR=500-89022545888") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:9] NoOp("SIP/500-0000002b", "3432669999") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:10] Set("SIP/500-0000002b", "TIMEOUT(absolute)=6000") in new stack
stack
Channel will hangup at 2012-10-27 16:01:58.927 ???.
???.
-- Executing [s@macro-trunkdial-failover-0.3:11] Set("SIP/500-0000002b", "DLSTAT=UNKNOW}") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:12] SetCktCustom("SIP/500-0000002b", "sendrpid,yes,yes") in new stack
stack
-- Executing [s@macro-trunkdial-failover-0.3:13] GotoIf("SIP/500-0000002b", "1>0?1-dial,1") in new stack
stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
(macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] GotoIf("SIP/500-0000002b", "0?nextrouter,1") in new stack
stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/500-0000002b", "1?setdod,1:1-dial,3") in new stack
stack
-- Goto (macro-trunkdial-failover-0.3,setdod,1)
(macro-trunkdial-failover-0.3,setdod,1)
-- Executing [setdod@macro-trunkdial-failover-0.3:1] Set("SIP/500-0000002b", "CALLERID(name)=3432669999") in new stack
stack
-- Executing [setdod@macro-trunkdial-failover-0.3:2] Set("SIP/500-0000002b", "CALLERID(num)=3432669999") in new stack
stack
-- Executing [setdod@macro-trunkdial-failover-0.3:3] Goto("SIP/500-0000002b", "1-dial,5") in new stack
stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,5)
(macro-trunkdial-failover-0.3,1-dial,5)
-- Executing [1-dial@macro-trunkdial-failover-0.3:5] Set("SIP/500-0000002b", "SIPSRTP=") in new stack
stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:6] Set("SIP/500-0000002b", "OUTDIALOPT=tTkKWwXx") in new stack
stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:7] Dial("SIP/500-0000002b", "IAX2/trunk-spx-bel/89022545888,,tTkKWwXx") in new stack
stack
-- Called trunk-spx-bel/89022545888
trunk-spx-bel/89022545888
-- Call accepted by 192.168.33.230 (format gsm)
gsm)
-- Format for call is gsm
gsm
-- IAX2/trunk-spx-bel-250 is proceeding passing it to SIP/500-0000002b
SIP/500-0000002b
-- IAX2/trunk-spx-bel-250 is ringing
ringing
-- Hungup 'IAX2/trunk-spx-bel-250'
'IAX2/trunk-spx-bel-250'
== Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 7) exited non-zero on 'SIP/500-0000002b' in macro 'trunkdial-failover-0.3'
'trunkdial-failover-0.3'
== Spawn extension (DLPNDialPlan500, 89022545888, 4) exited non-zero on 'SIP/500-0000002b'
'SIP/500-0000002b'
-- Executing [h@DLPNDialPlan500:1] NoOp("SIP/500-0000002b", "no thing to do") in new stack
Asterisk:
-- Executing [89022545888@from-internal:1] Macro("IAX2/IzvestPBX-3469", "user-callerid,LIMIT,") in new stack
stack
-- Executing [s@macro-user-callerid:1] Set("IAX2/IzvestPBX-3469", "AMPUSER=3432669999") in new stack
stack
-- Executing [s@macro-user-callerid:2] GotoIf("IAX2/IzvestPBX-3469", "0?report") in new stack
stack
-- Executing [s@macro-user-callerid:3] ExecIf("IAX2/IzvestPBX-3469", "1?Set(REALCALLERIDNUM=3432669999)") in new stack
stack
-- Executing [s@macro-user-callerid:4] Set("IAX2/IzvestPBX-3469", "AMPUSER=") in new stack
stack
-- Executing [s@macro-user-callerid:5] Set("IAX2/IzvestPBX-3469", "AMPUSERCIDNAME=") in new stack
stack
-- Executing [s@macro-user-callerid:6] GotoIf("IAX2/IzvestPBX-3469", "1?report") in new stack
stack
-- Goto (macro-user-callerid,s,12)
(macro-user-callerid,s,12)
-- Executing [s@macro-user-callerid:12] GotoIf("IAX2/IzvestPBX-3469", "1?continue") in new stack
stack
-- Goto (macro-user-callerid,s,25)
(macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("IAX2/IzvestPBX-3469", "CALLERID(number)=3432669999") in new stack
stack
-- Executing [s@macro-user-callerid:26] Set("IAX2/IzvestPBX-3469", "CALLERID(name)=3432669999") in new stack
stack
-- Executing [89022545888@from-internal:2] Set("IAX2/IzvestPBX-3469", "MOHCLASS=default") in new stack
stack
-- Executing [89022545888@from-internal:3] Set("IAX2/IzvestPBX-3469", "NODEST=") in new stack
stack
-- Executing [89022545888@from-internal:4] Macro("IAX2/IzvestPBX-3469", "record-enable,,OUT,") in new stack
stack
-- Executing [s@macro-record-enable:1] GotoIf("IAX2/IzvestPBX-3469", "1?check") in new stack
stack
-- Goto (macro-record-enable,s,4)
(macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("IAX2/IzvestPBX-3469", "1?MacroExit()") in new stack
stack
-- Executing [89022545888@from-internal:5] Macro("IAX2/IzvestPBX-3469", "dialout-trunk,1,89022545888,") in new stack
stack
-- Executing [s@macro-dialout-trunk:1] Set("IAX2/IzvestPBX-3469", "DIALTRUNK=1") in new stack
stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/IzvestPBX-3469", "0?sub-pincheck,s,1") in new stack
stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/IzvestPBX-3469", "0?disabletrunk,1") in new stack
stack
-- Executing [s@macro-dialout-trunk:4] Set("IAX2/IzvestPBX-3469", "DIALNUMBER=89022545888") in new stack
stack
-- Executing [s@macro-dialout-trunk:5] Set("IAX2/IzvestPBX-3469", "DIALTRUNKOPTIONS=tr") in new stack
stack
-- Executing [s@macro-dialout-trunk:6] Set("IAX2/IzvestPBX-3469", "OUTBOUNDGROUP=OUT1") in new stack
stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/IzvestPBX-3469", "1?nomax") in new stack
stack
-- Goto (macro-dialout-trunk,s,9)
(macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/IzvestPBX-3469", "0?skipoutcid") in new stack
stack
-- Executing [s@macro-dialout-trunk:10] Set("IAX2/IzvestPBX-3469", "DIALTRUNKOPTIONS=") in new stack
stack
-- Executing [s@macro-dialout-trunk:11] Macro("IAX2/IzvestPBX-3469", "outbound-callerid,1") in new stack
stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERPRES()=)") in new stack
stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/IzvestPBX-3469", "0?Set(REALCALLERIDNUM=3432669999)") in new stack
stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/IzvestPBX-3469", "1?normcid") in new stack
stack
-- Goto (macro-outbound-callerid,s,6)
(macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("IAX2/IzvestPBX-3469", "USEROUTCID=") in new stack
stack
-- Executing [s@macro-outbound-callerid:7] Set("IAX2/IzvestPBX-3469", "EMERGENCYCID=") in new stack
stack
-- Executing [s@macro-outbound-callerid:8] Set("IAX2/IzvestPBX-3469", "TRUNKOUTCID=3432665000") in new stack
stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/IzvestPBX-3469", "1?trunkcid") in new stack
stack
-- Goto (macro-outbound-callerid,s,12)
(macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/IzvestPBX-3469", "1?Set(CALLERID(all)=3432665000)") in new stack
stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERID(all)=)") in new stack
stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERID(all)=)") in new stack
stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack
stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("IAX2/IzvestPBX-3469", "0?sub-flp-1,s,1") in new stack
stack
-- Executing [s@macro-dialout-trunk:13] Set("IAX2/IzvestPBX-3469", "OUTNUM=89022545888") in new stack
stack
-- Executing [s@macro-dialout-trunk:14] Set("IAX2/IzvestPBX-3469", "custom=DAHDI/g0") in new stack
stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/IzvestPBX-3469", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack
stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("IAX2/IzvestPBX-3469", "0?Set(DIALTRUNK_OPTIONS=M(confirm))") in new stack
TRUNKOPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("IAX2/IzvestPBX-3469", "dialout-trunk-predial-hook,") in new stack
stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/IzvestPBX-3469", "") in new stack
stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/IzvestPBX-3469", "0?bypass,1") in new stack
stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("IAX2/IzvestPBX-3469", "0?customtrunk") in new stack
stack
-- Executing [s@macro-dialout-trunk:20] Dial("IAX2/IzvestPBX-3469", "DAHDI/g0/89022545888,300,") in new stack
stack
-- Requested transfer capability: 0x00 - SPEECH
SPEECH
-- Called g0/89022545888
g0/89022545888
-- DAHDI/1-1 is proceeding passing it to IAX2/IzvestPBX-3469
IAX2/IzvestPBX-3469
!! Unknown IE 50 (cs5, Unknown Information Element)
Element)
-- DAHDI/1-1 is ringing
ringing
-- Hungup 'DAHDI/1-1'
'DAHDI/1-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'IAX2/IzvestPBX-3469' in macro 'dialout-trunk'
'dialout-trunk'
== Spawn extension (from-internal, 89022545888, 5) exited non-zero on 'IAX2/IzvestPBX-3469'
'IAX2/IzvestPBX-3469'
-- Executing [h@from-internal:1] Hangup("IAX2/IzvestPBX-3469", "") in new stack
stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/IzvestPBX-3469'
'IAX2/IzvestPBX-3469'
-- Hungup 'IAX2/IzvestPBX-3469'
Лог при звонке с Asterisk на сотовый:
-- Executing [89022545888@Intercity-Mobile:1] Macro("SIP/7104-00000b05", "user-callerid,LIMIT,") in new stack
stack
-- Executing [s@macro-user-callerid:1] Set("SIP/7104-00000b05", "AMPUSER=7104") in new stack
stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/7104-00000b05", "0?report") in new stack
stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/7104-00000b05", "1?Set(REALCALLERIDNUM=7104)") in new stack
stack
-- Executing [s@macro-user-callerid:4] Set("SIP/7104-00000b05", "AMPUSER=7104") in new stack
stack
-- Executing [s@macro-user-callerid:5] Set("SIP/7104-00000b05", "AMPUSERCIDNAME=MrI") in new stack
stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/7104-00000b05", "0?report") in new stack
stack
-- Executing [s@macro-user-callerid:7] Set("SIP/7104-00000b05", "AMPUSERCID=7104") in new stack
stack
-- Executing [s@macro-user-callerid:8] Set("SIP/7104-00000b05", "CALLERID(all)="MrI" <7104>") in new stack
stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/7104-00000b05", "0?limit") in new stack
stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/7104-00000b05", "1?Set(GROUP(concurrencylimit)=7104)") in new stack
stack
-- Executing [s@macro-user-callerid:11] ExecIf("SIP/7104-00000b05", "0?Set(CHANNEL(language)=)") in new stack
stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/7104-00000b05", "1?continue") in new stack
stack
-- Goto (macro-user-callerid,s,25)
(macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("SIP/7104-00000b05", "CALLERID(number)=7104") in new stack
stack
-- Executing [s@macro-user-callerid:26] Set("SIP/7104-00000b05", "CALLERID(name)=MrI") in new stack
stack
-- Executing [89022545888@Intercity-Mobile:2] Set("SIP/7104-00000b05", "MOHCLASS=default") in new stack
stack
-- Executing [89022545888@Intercity-Mobile:3] Set("SIP/7104-00000b05", "NODEST=") in new stack
stack
-- Executing [89022545888@Intercity-Mobile:4] Macro("SIP/7104-00000b05", "record-enable,7104,OUT,") in new stack
stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/7104-00000b05", "1?check") in new stack
stack
-- Goto (macro-record-enable,s,4)
(macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/7104-00000b05", "0?MacroExit()") in new stack
stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/7104-00000b05", "0?Group:OUT") in new stack
stack
-- Goto (macro-record-enable,s,14)
(macro-record-enable,s,14)
-- Executing [s@macro-record-enable:14] GotoIf("SIP/7104-00000b05", "0?IN") in new stack
stack
-- Executing [s@macro-record-enable:15] ExecIf("SIP/7104-00000b05", "1?MacroExit()") in new stack
stack
-- Executing [89022545888@Intercity-Mobile:5] Macro("SIP/7104-00000b05", "dialout-trunk,1,89022545888,") in new stack
stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/7104-00000b05", "DIALTRUNK=1") in new stack
stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/7104-00000b05", "0?sub-pincheck,s,1") in new stack
stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/7104-00000b05", "0?disabletrunk,1") in new stack
stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/7104-00000b05", "DIALNUMBER=89022545888") in new stack
stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/7104-00000b05", "DIALTRUNKTRUNKOPTIONS=tr") in new stack
stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/7104-00000b05", "OUTBOUNDGROUP=OUTGROUP=OUT1") in new stack
stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/7104-00000b05", "1?nomax") in new stack
stack
-- Goto (macro-dialout-trunk,s,9)
(macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/7104-00000b05", "0?skipoutcid") in new stack
stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/7104-00000b05", "DIALTRUNKTRUNKOPTIONS=") in new stack
stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/7104-00000b05", "outbound-callerid,1") in new stack
stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/7104-00000b05", "0?Set(CALLERPRES()=)") in new stack
stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/7104-00000b05", "0?Set(REALCALLERIDNUM=7104)") in new stack
stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/7104-00000b05", "1?normcid") in new stack
stack
-- Goto (macro-outbound-callerid,s,6)
(macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/7104-00000b05", "USEROUTCID=3432669999") in new stack
stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/7104-00000b05", "EMERGENCYCID=") in new stack
stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/7104-00000b05", "TRUNKOUTCID=3432665000") in new stack
stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/7104-00000b05", "1?trunkcid") in new stack
stack
-- Goto (macro-outbound-callerid,s,12)
(macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/7104-00000b05", "1?Set(CALLERID(all)=3432665000)") in new stack
stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/7104-00000b05", "1?Set(CALLERID(all)=3432669999)") in new stack
stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/7104-00000b05", "0?Set(CALLERID(all)=)") in new stack
stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/7104-00000b05", "0?Set(CALLERPRES()=prohibpassedpassedscreen)") in new stack
stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/7104-00000b05", "0?sub-flp-1,s,1") in new stack
stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/7104-00000b05", "OUTNUM=89022545888") in new stack
stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/7104-00000b05", "custom=DAHDI/g0") in new stack
stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/7104-00000b05", "0?Set(DIALTRUNKTRUNKOPTIONS=M(setmusic^default))") in new stack
stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/7104-00000b05", "0?Set(DIALTRUNKOPTIONS=M(confirm))") in new stack
TRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/7104-00000b05", "dialout-trunk-predial-hook,") in new stack
stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/7104-00000b05", "") in new stack
stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/7104-00000b05", "0?bypass,1") in new stack
stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/7104-00000b05", "0?customtrunk") in new stack
stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/7104-00000b05", "DAHDI/g0/89022545888,300,") in new stack
stack
-- Requested transfer capability: 0x00 - SPEECH
SPEECH
-- Called g0/89022545888
g0/89022545888
-- DAHDI/1-1 is proceeding passing it to SIP/7104-00000b05
SIP/7104-00000b05
!! Unknown IE 50 (cs5, Unknown Information Element)
Element)
-- DAHDI/1-1 is ringing
ringing
-- Hungup 'DAHDI/1-1'
'DAHDI/1-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/7104-00000b05' in macro 'dialout-trunk'
'dialout-trunk'
== Spawn extension (Intercity-Mobile, 89022545888, 5) exited non-zero on 'SIP/7104-00000b05'
'SIP/7104-00000b05'
-- Executing [h@Intercity-Mobile:1] Macro("SIP/7104-00000b05", "hangupcall,") in new stack
stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/7104-00000b05", "1?theend") in new stack
stack
-- Goto (macro-hangupcall,s,3)
(macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] Hangup("SIP/7104-00000b05", "") in new stack
stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/7104-00000b05' in macro 'hangupcall'
'hangupcall'
== Spawn extension (Intercity-Mobile, h, 1) exited non-zero on 'SIP/7104-00000b05'
3 | No.3 Revision редактировать |
Здравствуйте.
На предприятии реализована такая схема АТС:
Yeastar MyPBX PRO<----> Asterisk 1.6.0.25 с FreePBX 2.9.0.12 <----> Ericsson MD110<--->ТфОП
Проблема заключается в следующем: при звонке с внутреннего номера (500) MyPBX на сотовый(89022545888), на последнем определяется номер(3432665000), который прописан в Исходящем ИД номере ZAP транка Asterisk-Ericsson. Хотя у внутреннего номера (500) MyPBX прописан другой(3432669999)
Если звонить с внутреннего номера (7104) Asterisk - то оределяется правильно, как необходимо: Исходящий номер ИД:3432669999, который прописан в настройках внутреннего SIP-номера Asterisk.
(вызов проходит через тот же ZAP транк Asterisk-Ericsson)
Ума не приложу, где что нужно править, чтоб при звонке с MyPBX в ТфОП посылался Исходящий номер ИД внутреннего номера - 3432669999...
Вот лог звонка с MyPBX (через Asterisk)на сотовый 89022545888:
MyPBX:
-- Executing [89022545888@DLPNDialPlan500:1] Set("SIP/500-0000002b", "ORGINEXTEN=89022545888") in new stack
-- Executing [89022545888@DLPNDialPlan500:2] Set("SIP/500-0000002b", "ORGINCONTEXT=DLPNDialPlan500") in new stack
-- Executing [89022545888@DLPNDialPlan500:3] GetNextOutRouter("SIP/500-0000002b", "DLPNDialPlan500,") in new stack
-- Executing [89022545888@DLPNDialPlan500:4] Macro("SIP/500-0000002b", "trunkdial-failover-0.3,1,,89022545888,trunk-spx-bel,") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] NoOp("SIP/500-0000002b", "do call out") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/500-0000002b", "0?Blacklist-Handle,s,1") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:3] GotoIf("SIP/500-0000002b", "0?4:5") in new stack
-- Goto (macro-trunkdial-failover-0.3,s,5)
-- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/500-0000002b", "TCOUNT=4") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:6] Set("SIP/500-0000002b", "CDR(userfield)=Outbound") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:7] Set("SIP/500-0000002b", "OldCallerID=500") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:8] Set("SIP/500-0000002b", "TOUCHMONITOR=500-89022545888") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:9] NoOp("SIP/500-0000002b", "3432669999") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:10] Set("SIP/500-0000002b", "TIMEOUT(absolute)=6000") in new stack
Channel will hangup at 2012-10-27 16:01:58.927 ???.
-- Executing [s@macro-trunkdial-failover-0.3:11] Set("SIP/500-0000002b", "DLSTAT=UNKNOW}") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:12] SetCktCustom("SIP/500-0000002b", "sendrpid,yes,yes") in new stack
-- Executing [s@macro-trunkdial-failover-0.3:13] GotoIf("SIP/500-0000002b", "1>0?1-dial,1") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] GotoIf("SIP/500-0000002b", "0?nextrouter,1") in new stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/500-0000002b", "1?setdod,1:1-dial,3") in new stack
-- Goto (macro-trunkdial-failover-0.3,setdod,1)
-- Executing [setdod@macro-trunkdial-failover-0.3:1] Set("SIP/500-0000002b", "CALLERID(name)=3432669999") in new stack
-- Executing [setdod@macro-trunkdial-failover-0.3:2] Set("SIP/500-0000002b", "CALLERID(num)=3432669999") in new stack
-- Executing [setdod@macro-trunkdial-failover-0.3:3] Goto("SIP/500-0000002b", "1-dial,5") in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,5)
-- Executing [1-dial@macro-trunkdial-failover-0.3:5] Set("SIP/500-0000002b", "SIPSRTP=") in new stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:6] Set("SIP/500-0000002b", "OUTDIALOPT=tTkKWwXx") in new stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:7] Dial("SIP/500-0000002b", "IAX2/trunk-spx-bel/89022545888,,tTkKWwXx") in new stack
-- Called trunk-spx-bel/89022545888
-- Call accepted by 192.168.33.230 (format gsm)
-- Format for call is gsm
-- IAX2/trunk-spx-bel-250 is proceeding passing it to SIP/500-0000002b
-- IAX2/trunk-spx-bel-250 is ringing
-- Hungup 'IAX2/trunk-spx-bel-250'
== Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 7) exited non-zero on 'SIP/500-0000002b' in macro 'trunkdial-failover-0.3'
== Spawn extension (DLPNDialPlan500, 89022545888, 4) exited non-zero on 'SIP/500-0000002b'
-- Executing [h@DLPNDialPlan500:1] NoOp("SIP/500-0000002b", "no thing to do") in new stack
Asterisk:
-- Executing [89022545888@from-internal:1] Macro("IAX2/IzvestPBX-3469", "user-callerid,LIMIT,") in new stack
-- Executing [s@macro-user-callerid:1] Set("IAX2/IzvestPBX-3469", "AMPUSER=3432669999") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("IAX2/IzvestPBX-3469", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("IAX2/IzvestPBX-3469", "1?Set(REALCALLERIDNUM=3432669999)") in new stack
-- Executing [s@macro-user-callerid:4] Set("IAX2/IzvestPBX-3469", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("IAX2/IzvestPBX-3469", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("IAX2/IzvestPBX-3469", "1?report") in new stack
-- Goto (macro-user-callerid,s,12)
-- Executing [s@macro-user-callerid:12] GotoIf("IAX2/IzvestPBX-3469", "1?continue") in new stack
-- Goto (macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("IAX2/IzvestPBX-3469", "CALLERID(number)=3432669999") in new stack
-- Executing [s@macro-user-callerid:26] Set("IAX2/IzvestPBX-3469", "CALLERID(name)=3432669999") in new stack
-- Executing [89022545888@from-internal:2] Set("IAX2/IzvestPBX-3469", "MOHCLASS=default") in new stack
-- Executing [89022545888@from-internal:3] Set("IAX2/IzvestPBX-3469", "NODEST=") in new stack
-- Executing [89022545888@from-internal:4] Macro("IAX2/IzvestPBX-3469", "record-enable,,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("IAX2/IzvestPBX-3469", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("IAX2/IzvestPBX-3469", "1?MacroExit()") in new stack
-- Executing [89022545888@from-internal:5] Macro("IAX2/IzvestPBX-3469", "dialout-trunk,1,89022545888,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("IAX2/IzvestPBX-3469", "DIALTRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/IzvestPBX-3469", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/IzvestPBX-3469", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("IAX2/IzvestPBX-3469", "DIALNUMBER=89022545888") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("IAX2/IzvestPBX-3469", "DIALTRUNKOPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("IAX2/IzvestPBX-3469", "OUTBOUNDGROUP=OUT1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/IzvestPBX-3469", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/IzvestPBX-3469", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("IAX2/IzvestPBX-3469", "DIALTRUNKOPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("IAX2/IzvestPBX-3469", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/IzvestPBX-3469", "0?Set(REALCALLERIDNUM=3432669999)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/IzvestPBX-3469", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("IAX2/IzvestPBX-3469", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("IAX2/IzvestPBX-3469", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("IAX2/IzvestPBX-3469", "TRUNKOUTCID=3432665000") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/IzvestPBX-3469", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/IzvestPBX-3469", "1?Set(CALLERID(all)=3432665000)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("IAX2/IzvestPBX-3469", "0?sub-flp-1,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("IAX2/IzvestPBX-3469", "OUTNUM=89022545888") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("IAX2/IzvestPBX-3469", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/IzvestPBX-3469", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("IAX2/IzvestPBX-3469", "0?Set(DIALTRUNKOPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("IAX2/IzvestPBX-3469", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/IzvestPBX-3469", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/IzvestPBX-3469", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("IAX2/IzvestPBX-3469", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("IAX2/IzvestPBX-3469", "DAHDI/g0/89022545888,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/89022545888
-- DAHDI/1-1 is proceeding passing it to IAX2/IzvestPBX-3469
!! Unknown IE 50 (cs5, Unknown Information Element)
-- DAHDI/1-1 is ringing
-- Hungup 'DAHDI/1-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'IAX2/IzvestPBX-3469' in macro 'dialout-trunk'
== Spawn extension (from-internal, 89022545888, 5) exited non-zero on 'IAX2/IzvestPBX-3469'
-- Executing [h@from-internal:1] Hangup("IAX2/IzvestPBX-3469", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/IzvestPBX-3469'
-- Hungup 'IAX2/IzvestPBX-3469'
Лог при звонке с Asterisk на сотовый:
-- Executing [89022545888@Intercity-Mobile:1] Macro("SIP/7104-00000b05", "user-callerid,LIMIT,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/7104-00000b05", "AMPUSER=7104") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/7104-00000b05", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/7104-00000b05", "1?Set(REALCALLERIDNUM=7104)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/7104-00000b05", "AMPUSER=7104") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/7104-00000b05", "AMPUSERCIDNAME=MrI") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/7104-00000b05", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/7104-00000b05", "AMPUSERCID=7104") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/7104-00000b05", "CALLERID(all)="MrI" <7104>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/7104-00000b05", "0?limit") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/7104-00000b05", "1?Set(GROUP(concurrencylimit)=7104)") in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("SIP/7104-00000b05", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/7104-00000b05", "1?continue") in new stack
-- Goto (macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("SIP/7104-00000b05", "CALLERID(number)=7104") in new stack
-- Executing [s@macro-user-callerid:26] Set("SIP/7104-00000b05", "CALLERID(name)=MrI") in new stack
-- Executing [89022545888@Intercity-Mobile:2] Set("SIP/7104-00000b05", "MOHCLASS=default") in new stack
-- Executing [89022545888@Intercity-Mobile:3] Set("SIP/7104-00000b05", "NODEST=") in new stack
-- Executing [89022545888@Intercity-Mobile:4] Macro("SIP/7104-00000b05", "record-enable,7104,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/7104-00000b05", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/7104-00000b05", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/7104-00000b05", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing [s@macro-record-enable:14] GotoIf("SIP/7104-00000b05", "0?IN") in new stack
-- Executing [s@macro-record-enable:15] ExecIf("SIP/7104-00000b05", "1?MacroExit()") in new stack
-- Executing [89022545888@Intercity-Mobile:5] Macro("SIP/7104-00000b05", "dialout-trunk,1,89022545888,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/7104-00000b05", "DIALTRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/7104-00000b05", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/7104-00000b05", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/7104-00000b05", "DIALNUMBER=89022545888") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/7104-00000b05", "DIALTRUNKOPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/7104-00000b05", "OUTBOUNDGROUP=OUT1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/7104-00000b05", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/7104-00000b05", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/7104-00000b05", "DIALTRUNKOPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/7104-00000b05", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/7104-00000b05", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/7104-00000b05", "0?Set(REALCALLERIDNUM=7104)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/7104-00000b05", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/7104-00000b05", "USEROUTCID=3432669999") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/7104-00000b05", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/7104-00000b05", "TRUNKOUTCID=3432665000") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/7104-00000b05", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/7104-00000b05", "1?Set(CALLERID(all)=3432665000)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/7104-00000b05", "1?Set(CALLERID(all)=3432669999)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/7104-00000b05", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/7104-00000b05", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/7104-00000b05", "0?sub-flp-1,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/7104-00000b05", "OUTNUM=89022545888") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/7104-00000b05", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/7104-00000b05", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/7104-00000b05", "0?Set(DIALTRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/7104-00000b05", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/7104-00000b05", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/7104-00000b05", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/7104-00000b05", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/7104-00000b05", "DAHDI/g0/89022545888,300,") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/89022545888
-- DAHDI/1-1 is proceeding passing it to SIP/7104-00000b05
!! Unknown IE 50 (cs5, Unknown Information Element)
-- DAHDI/1-1 is ringing
-- Hungup 'DAHDI/1-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/7104-00000b05' in macro 'dialout-trunk'
== Spawn extension (Intercity-Mobile, 89022545888, 5) exited non-zero on 'SIP/7104-00000b05'
-- Executing [h@Intercity-Mobile:1] Macro("SIP/7104-00000b05", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/7104-00000b05", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] Hangup("SIP/7104-00000b05", "") in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/7104-00000b05' in macro 'hangupcall'
== Spawn extension (Intercity-Mobile, h, 1) exited non-zero on 'SIP/7104-00000b05'
... где что править??? подскажите, пожалуйста
4 | убрал теги редактировать |
Здравствуйте.
На предприятии реализована такая схема АТС:
Yeastar MyPBX PRO<----> Asterisk 1.6.0.25 с FreePBX 2.9.0.12 <----> Ericsson MD110<--->ТфОП
Проблема заключается в следующем: при звонке с внутреннего номера (500) MyPBX на сотовый(89022545888), на последнем определяется номер(3432665000), который прописан в Исходящем ИД номере ZAP транка Asterisk-Ericsson. Хотя у внутреннего номера (500) MyPBX прописан другой(3432669999)
Если звонить с внутреннего номера (7104) Asterisk - то оределяется правильно, как необходимо: Исходящий номер ИД:3432669999, который прописан в настройках внутреннего SIP-номера Asterisk.
(вызов проходит через тот же ZAP транк Asterisk-Ericsson)
Ума не приложу, где что нужно править, чтоб при звонке с MyPBX в ТфОП посылался Исходящий номер ИД внутреннего номера - 3432669999...
Вот лог звонка с MyPBX (через Asterisk)на сотовый 89022545888:
MyPBX:
-- Executing [89022545888@DLPNDialPlan500:1] Set("SIP/500-0000002b", "ORGINEXTEN=89022545888") in new stack
-- Executing [89022545888@DLPNDialPlan500:2] Set("SIP/500-0000002b", "ORGINCONTEXT=DLPNDialPlan500") in new stack
-- Executing [89022545888@DLPNDialPlan500:3] GetNextOutRouter("SIP/500-0000002b", "DLPNDialPlan500,") in new stack
-- Executing [89022545888@DLPNDialPlan500:4] Macro("SIP/500-0000002b", "trunkdial-failover-0.3,1,,89022545888,trunk-spx-bel,") in new stack
-- Executing [89022545888@DLPN_DialPlan500:1] Set(SIP/500-0000002b, ORGINEXTEN=89022545888) in new stack
-- Executing [89022545888@DLPN_DialPlan500:2] Set(SIP/500-0000002b, ORGINCONTEXT=DLPN_DialPlan500) in new stack
-- Executing [89022545888@DLPN_DialPlan500:3] GetNextOutRouter(SIP/500-0000002b, DLPN_DialPlan500,) in new stack
-- Executing [89022545888@DLPN_DialPlan500:4] Macro(SIP/500-0000002b, trunkdial-failover-0.3,1,,89022545888,trunk-spx-bel,) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:1] NoOp("SIP/500-0000002b", "do NoOp(SIP/500-0000002b, do call out") in new stack
out) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("SIP/500-0000002b", "0?Blacklist-Handle,s,1") in new stack
GotoIf(SIP/500-0000002b, 0?Blacklist-Handle,s,1) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:3] GotoIf("SIP/500-0000002b", "0?4:5") in new stack
GotoIf(SIP/500-0000002b, 0?4:5) in new stack
-- Goto (macro-trunkdial-failover-0.3,s,5)
(macro-trunkdial-failover-0.3,s,5)
-- Executing [s@macro-trunkdial-failover-0.3:5] Set("SIP/500-0000002b", "TCOUNT=4") in new stack
Set(SIP/500-0000002b, TCOUNT=4) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:6] Set("SIP/500-0000002b", "CDR(userfield)=Outbound") in new stack
Set(SIP/500-0000002b, CDR(userfield)=Outbound) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:7] Set("SIP/500-0000002b", "OldCallerID=500") in new stack
Set(SIP/500-0000002b, OldCallerID=500) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:8] Set("SIP/500-0000002b", "TOUCHMONITOR=500-89022545888") in new stack
Set(SIP/500-0000002b, TOUCH_MONITOR=500-89022545888) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:9] NoOp("SIP/500-0000002b", "3432669999") in new stack
NoOp(SIP/500-0000002b, 3432669999) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:10] Set("SIP/500-0000002b", "TIMEOUT(absolute)=6000") in new stack
Channel Set(SIP/500-0000002b, TIMEOUT(absolute)=6000) in new stackChannel will hangup at 2012-10-27 16:01:58.927 ???.
???.
-- Executing [s@macro-trunkdial-failover-0.3:11] Set("SIP/500-0000002b", "DLSTAT=UNKNOW}") in new stack
Set(SIP/500-0000002b, DLSTAT=UNKNOW}) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:12] SetCktCustom("SIP/500-0000002b", "sendrpid,yes,yes") in new stack
SetCktCustom(SIP/500-0000002b, sendrpid,yes,yes) in new stack
-- Executing [s@macro-trunkdial-failover-0.3:13] GotoIf("SIP/500-0000002b", "1>0?1-dial,1") in new stack
GotoIf(SIP/500-0000002b, 1>0?1-dial,1) in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,1)
(macro-trunkdial-failover-0.3,1-dial,1)
-- Executing [1-dial@macro-trunkdial-failover-0.3:1] GotoIf("SIP/500-0000002b", "0?nextrouter,1") in new stack
GotoIf(SIP/500-0000002b, 0?nextrouter,1) in new stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("SIP/500-0000002b", "1?setdod,1:1-dial,3") in new stack
GotoIf(SIP/500-0000002b, 1?setdod,1:1-dial,3) in new stack
-- Goto (macro-trunkdial-failover-0.3,setdod,1)
(macro-trunkdial-failover-0.3,setdod,1)
-- Executing [setdod@macro-trunkdial-failover-0.3:1] Set("SIP/500-0000002b", "CALLERID(name)=3432669999") in new stack
Set(SIP/500-0000002b, CALLERID(name)=3432669999) in new stack
-- Executing [setdod@macro-trunkdial-failover-0.3:2] Set("SIP/500-0000002b", "CALLERID(num)=3432669999") in new stack
Set(SIP/500-0000002b, CALLERID(num)=3432669999) in new stack
-- Executing [setdod@macro-trunkdial-failover-0.3:3] Goto("SIP/500-0000002b", "1-dial,5") in new stack
Goto(SIP/500-0000002b, 1-dial,5) in new stack
-- Goto (macro-trunkdial-failover-0.3,1-dial,5)
(macro-trunkdial-failover-0.3,1-dial,5)
-- Executing [1-dial@macro-trunkdial-failover-0.3:5] Set("SIP/500-0000002b", "SIPSRTP=") in new stack
Set(SIP/500-0000002b, _SIPSRTP=) in new stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:6] Set("SIP/500-0000002b", "OUTDIALOPT=tTkKWwXx") in new stack
Set(SIP/500-0000002b, OUTDIALOPT=tTkKWwXx) in new stack
-- Executing [1-dial@macro-trunkdial-failover-0.3:7] Dial("SIP/500-0000002b", "IAX2/trunk-spx-bel/89022545888,,tTkKWwXx") in new stack
Dial(SIP/500-0000002b, IAX2/trunk-spx-bel/89022545888,,tTkKWwXx) in new stack
-- Called trunk-spx-bel/89022545888
trunk-spx-bel/89022545888
-- Call accepted by 192.168.33.230 (format gsm)
gsm)
-- Format for call is gsm
gsm
-- IAX2/trunk-spx-bel-250 is proceeding passing it to SIP/500-0000002b
SIP/500-0000002b
-- IAX2/trunk-spx-bel-250 is ringing
ringing
-- Hungup 'IAX2/trunk-spx-bel-250'
'IAX2/trunk-spx-bel-250'
== Spawn extension (macro-trunkdial-failover-0.3, 1-dial, 7) exited non-zero on 'SIP/500-0000002b' in macro 'trunkdial-failover-0.3'
'trunkdial-failover-0.3'
== Spawn extension (DLPNDialPlan500, (DLPN_DialPlan500, 89022545888, 4) exited non-zero on 'SIP/500-0000002b'
-- Executing [h@DLPNDialPlan500:1] NoOp("SIP/500-0000002b", "no 'SIP/500-0000002b'
-- Executing [h@DLPN_DialPlan500:1] NoOp(SIP/500-0000002b, no thing to do") in new stack
do) in new stack
Asterisk:
-- Executing [89022545888@from-internal:1] Macro("IAX2/IzvestPBX-3469", "user-callerid,LIMIT,") in new stack
Macro(IAX2/IzvestPBX-3469, user-callerid,LIMIT,) in new stack
-- Executing [s@macro-user-callerid:1] Set("IAX2/IzvestPBX-3469", "AMPUSER=3432669999") in new stack
Set(IAX2/IzvestPBX-3469, AMPUSER=3432669999) in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("IAX2/IzvestPBX-3469", "0?report") in new stack
GotoIf(IAX2/IzvestPBX-3469, 0?report) in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("IAX2/IzvestPBX-3469", "1?Set(REALCALLERIDNUM=3432669999)") in new stack
ExecIf(IAX2/IzvestPBX-3469, 1?Set(REALCALLERIDNUM=3432669999)) in new stack
-- Executing [s@macro-user-callerid:4] Set("IAX2/IzvestPBX-3469", "AMPUSER=") in new stack
Set(IAX2/IzvestPBX-3469, AMPUSER=) in new stack
-- Executing [s@macro-user-callerid:5] Set("IAX2/IzvestPBX-3469", "AMPUSERCIDNAME=") in new stack
Set(IAX2/IzvestPBX-3469, AMPUSERCIDNAME=) in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("IAX2/IzvestPBX-3469", "1?report") in new stack
GotoIf(IAX2/IzvestPBX-3469, 1?report) in new stack
-- Goto (macro-user-callerid,s,12)
(macro-user-callerid,s,12)
-- Executing [s@macro-user-callerid:12] GotoIf("IAX2/IzvestPBX-3469", "1?continue") in new stack
GotoIf(IAX2/IzvestPBX-3469, 1?continue) in new stack
-- Goto (macro-user-callerid,s,25)
(macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("IAX2/IzvestPBX-3469", "CALLERID(number)=3432669999") in new stack
Set(IAX2/IzvestPBX-3469, CALLERID(number)=3432669999) in new stack
-- Executing [s@macro-user-callerid:26] Set("IAX2/IzvestPBX-3469", "CALLERID(name)=3432669999") in new stack
Set(IAX2/IzvestPBX-3469, CALLERID(name)=3432669999) in new stack
-- Executing [89022545888@from-internal:2] Set("IAX2/IzvestPBX-3469", "MOHCLASS=default") in new stack
Set(IAX2/IzvestPBX-3469, MOHCLASS=default) in new stack
-- Executing [89022545888@from-internal:3] Set("IAX2/IzvestPBX-3469", "NODEST=") in new stack
Set(IAX2/IzvestPBX-3469, _NODEST=) in new stack
-- Executing [89022545888@from-internal:4] Macro("IAX2/IzvestPBX-3469", "record-enable,,OUT,") in new stack
Macro(IAX2/IzvestPBX-3469, record-enable,,OUT,) in new stack
-- Executing [s@macro-record-enable:1] GotoIf("IAX2/IzvestPBX-3469", "1?check") in new stack
GotoIf(IAX2/IzvestPBX-3469, 1?check) in new stack
-- Goto (macro-record-enable,s,4)
(macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("IAX2/IzvestPBX-3469", "1?MacroExit()") in new stack
ExecIf(IAX2/IzvestPBX-3469, 1?MacroExit()) in new stack
-- Executing [89022545888@from-internal:5] Macro("IAX2/IzvestPBX-3469", "dialout-trunk,1,89022545888,") in new stack
Macro(IAX2/IzvestPBX-3469, dialout-trunk,1,89022545888,) in new stack
-- Executing [s@macro-dialout-trunk:1] Set("IAX2/IzvestPBX-3469", "DIALTRUNK=1") in new stack
Set(IAX2/IzvestPBX-3469, DIAL_TRUNK=1) in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("IAX2/IzvestPBX-3469", "0?sub-pincheck,s,1") in new stack
GosubIf(IAX2/IzvestPBX-3469, 0?sub-pincheck,s,1) in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("IAX2/IzvestPBX-3469", "0?disabletrunk,1") in new stack
GotoIf(IAX2/IzvestPBX-3469, 0?disabletrunk,1) in new stack
-- Executing [s@macro-dialout-trunk:4] Set("IAX2/IzvestPBX-3469", "DIALNUMBER=89022545888") in new stack
Set(IAX2/IzvestPBX-3469, DIAL_NUMBER=89022545888) in new stack
-- Executing [s@macro-dialout-trunk:5] Set("IAX2/IzvestPBX-3469", "DIALTRUNKOPTIONS=tr") in new stack
Set(IAX2/IzvestPBX-3469, DIAL_TRUNK_OPTIONS=tr) in new stack
-- Executing [s@macro-dialout-trunk:6] Set("IAX2/IzvestPBX-3469", "OUTBOUNDGROUP=OUT1") in new stack
Set(IAX2/IzvestPBX-3469, OUTBOUND_GROUP=OUT_1) in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("IAX2/IzvestPBX-3469", "1?nomax") in new stack
GotoIf(IAX2/IzvestPBX-3469, 1?nomax) in new stack
-- Goto (macro-dialout-trunk,s,9)
(macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("IAX2/IzvestPBX-3469", "0?skipoutcid") in new stack
GotoIf(IAX2/IzvestPBX-3469, 0?skipoutcid) in new stack
-- Executing [s@macro-dialout-trunk:10] Set("IAX2/IzvestPBX-3469", "DIALTRUNKOPTIONS=") in new stack
Set(IAX2/IzvestPBX-3469, DIAL_TRUNK_OPTIONS=) in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("IAX2/IzvestPBX-3469", "outbound-callerid,1") in new stack
Macro(IAX2/IzvestPBX-3469, outbound-callerid,1) in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERPRES()=)") in new stack
ExecIf(IAX2/IzvestPBX-3469, 0?Set(CALLERPRES()=)) in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("IAX2/IzvestPBX-3469", "0?Set(REALCALLERIDNUM=3432669999)") in new stack
ExecIf(IAX2/IzvestPBX-3469, 0?Set(REALCALLERIDNUM=3432669999)) in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("IAX2/IzvestPBX-3469", "1?normcid") in new stack
GotoIf(IAX2/IzvestPBX-3469, 1?normcid) in new stack
-- Goto (macro-outbound-callerid,s,6)
(macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("IAX2/IzvestPBX-3469", "USEROUTCID=") in new stack
Set(IAX2/IzvestPBX-3469, USEROUTCID=) in new stack
-- Executing [s@macro-outbound-callerid:7] Set("IAX2/IzvestPBX-3469", "EMERGENCYCID=") in new stack
Set(IAX2/IzvestPBX-3469, EMERGENCYCID=) in new stack
-- Executing [s@macro-outbound-callerid:8] Set("IAX2/IzvestPBX-3469", "TRUNKOUTCID=3432665000") in new stack
Set(IAX2/IzvestPBX-3469, TRUNKOUTCID=3432665000) in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("IAX2/IzvestPBX-3469", "1?trunkcid") in new stack
GotoIf(IAX2/IzvestPBX-3469, 1?trunkcid) in new stack
-- Goto (macro-outbound-callerid,s,12)
(macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("IAX2/IzvestPBX-3469", "1?Set(CALLERID(all)=3432665000)") in new stack
ExecIf(IAX2/IzvestPBX-3469, 1?Set(CALLERID(all)=3432665000)) in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERID(all)=)") in new stack
ExecIf(IAX2/IzvestPBX-3469, 0?Set(CALLERID(all)=)) in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERID(all)=)") in new stack
ExecIf(IAX2/IzvestPBX-3469, 0?Set(CALLERID(all)=)) in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("IAX2/IzvestPBX-3469", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack
ExecIf(IAX2/IzvestPBX-3469, 0?Set(CALLERPRES()=prohib_passed_screen)) in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("IAX2/IzvestPBX-3469", "0?sub-flp-1,s,1") in new stack
GosubIf(IAX2/IzvestPBX-3469, 0?sub-flp-1,s,1) in new stack
-- Executing [s@macro-dialout-trunk:13] Set("IAX2/IzvestPBX-3469", "OUTNUM=89022545888") in new stack
Set(IAX2/IzvestPBX-3469, OUTNUM=89022545888) in new stack
-- Executing [s@macro-dialout-trunk:14] Set("IAX2/IzvestPBX-3469", "custom=DAHDI/g0") in new stack
Set(IAX2/IzvestPBX-3469, custom=DAHDI/g0) in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("IAX2/IzvestPBX-3469", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack
ExecIf(IAX2/IzvestPBX-3469, 0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))) in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("IAX2/IzvestPBX-3469", "0?Set(DIALTRUNKOPTIONS=M(confirm))") in new stack
ExecIf(IAX2/IzvestPBX-3469, 0?Set(DIAL_TRUNK_OPTIONS=M(confirm))) in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("IAX2/IzvestPBX-3469", "dialout-trunk-predial-hook,") in new stack
Macro(IAX2/IzvestPBX-3469, dialout-trunk-predial-hook,) in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("IAX2/IzvestPBX-3469", "") in new stack
MacroExit(IAX2/IzvestPBX-3469, ) in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("IAX2/IzvestPBX-3469", "0?bypass,1") in new stack
GotoIf(IAX2/IzvestPBX-3469, 0?bypass,1) in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("IAX2/IzvestPBX-3469", "0?customtrunk") in new stack
GotoIf(IAX2/IzvestPBX-3469, 0?customtrunk) in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("IAX2/IzvestPBX-3469", "DAHDI/g0/89022545888,300,") in new stack
Dial(IAX2/IzvestPBX-3469, DAHDI/g0/89022545888,300,) in new stack
-- Requested transfer capability: 0x00 - SPEECH
SPEECH
-- Called g0/89022545888
g0/89022545888
-- DAHDI/1-1 is proceeding passing it to IAX2/IzvestPBX-3469
!! IAX2/IzvestPBX-3469!! Unknown IE 50 (cs5, Unknown Information Element)
Element)
-- DAHDI/1-1 is ringing
ringing
-- Hungup 'DAHDI/1-1'
'DAHDI/1-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'IAX2/IzvestPBX-3469' in macro 'dialout-trunk'
'dialout-trunk'
== Spawn extension (from-internal, 89022545888, 5) exited non-zero on 'IAX2/IzvestPBX-3469'
'IAX2/IzvestPBX-3469'
-- Executing [h@from-internal:1] Hangup("IAX2/IzvestPBX-3469", "") in new stack
Hangup(IAX2/IzvestPBX-3469, ) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/IzvestPBX-3469'
'IAX2/IzvestPBX-3469'
-- Hungup 'IAX2/IzvestPBX-3469'
'IAX2/IzvestPBX-3469'
Лог при звонке с Asterisk на сотовый:
-- Executing [89022545888@Intercity-Mobile:1] Macro("SIP/7104-00000b05", "user-callerid,LIMIT,") in new stack
Macro(SIP/7104-00000b05, user-callerid,LIMIT,) in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/7104-00000b05", "AMPUSER=7104") in new stack
Set(SIP/7104-00000b05, AMPUSER=7104) in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/7104-00000b05", "0?report") in new stack
GotoIf(SIP/7104-00000b05, 0?report) in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/7104-00000b05", "1?Set(REALCALLERIDNUM=7104)") in new stack
ExecIf(SIP/7104-00000b05, 1?Set(REALCALLERIDNUM=7104)) in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/7104-00000b05", "AMPUSER=7104") in new stack
Set(SIP/7104-00000b05, AMPUSER=7104) in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/7104-00000b05", "AMPUSERCIDNAME=MrI") in new stack
Set(SIP/7104-00000b05, AMPUSERCIDNAME=MrI) in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/7104-00000b05", "0?report") in new stack
GotoIf(SIP/7104-00000b05, 0?report) in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/7104-00000b05", "AMPUSERCID=7104") in new stack
Set(SIP/7104-00000b05, AMPUSERCID=7104) in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/7104-00000b05", "CALLERID(all)="MrI" <7104>") in new stack
Set(SIP/7104-00000b05, CALLERID(all)=MrI <7104>) in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/7104-00000b05", "0?limit") in new stack
GotoIf(SIP/7104-00000b05, 0?limit) in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/7104-00000b05", "1?Set(GROUP(concurrencylimit)=7104)") in new stack
ExecIf(SIP/7104-00000b05, 1?Set(GROUP(concurrency_limit)=7104)) in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("SIP/7104-00000b05", "0?Set(CHANNEL(language)=)") in new stack
ExecIf(SIP/7104-00000b05, 0?Set(CHANNEL(language)=)) in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/7104-00000b05", "1?continue") in new stack
GotoIf(SIP/7104-00000b05, 1?continue) in new stack
-- Goto (macro-user-callerid,s,25)
(macro-user-callerid,s,25)
-- Executing [s@macro-user-callerid:25] Set("SIP/7104-00000b05", "CALLERID(number)=7104") in new stack
Set(SIP/7104-00000b05, CALLERID(number)=7104) in new stack
-- Executing [s@macro-user-callerid:26] Set("SIP/7104-00000b05", "CALLERID(name)=MrI") in new stack
Set(SIP/7104-00000b05, CALLERID(name)=MrI) in new stack
-- Executing [89022545888@Intercity-Mobile:2] Set("SIP/7104-00000b05", "MOHCLASS=default") in new stack
Set(SIP/7104-00000b05, MOHCLASS=default) in new stack
-- Executing [89022545888@Intercity-Mobile:3] Set("SIP/7104-00000b05", "NODEST=") in new stack
Set(SIP/7104-00000b05, _NODEST=) in new stack
-- Executing [89022545888@Intercity-Mobile:4] Macro("SIP/7104-00000b05", "record-enable,7104,OUT,") in new stack
Macro(SIP/7104-00000b05, record-enable,7104,OUT,) in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/7104-00000b05", "1?check") in new stack
GotoIf(SIP/7104-00000b05, 1?check) in new stack
-- Goto (macro-record-enable,s,4)
(macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/7104-00000b05", "0?MacroExit()") in new stack
ExecIf(SIP/7104-00000b05, 0?MacroExit()) in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/7104-00000b05", "0?Group:OUT") in new stack
GotoIf(SIP/7104-00000b05, 0?Group:OUT) in new stack
-- Goto (macro-record-enable,s,14)
(macro-record-enable,s,14)
-- Executing [s@macro-record-enable:14] GotoIf("SIP/7104-00000b05", "0?IN") in new stack
GotoIf(SIP/7104-00000b05, 0?IN) in new stack
-- Executing [s@macro-record-enable:15] ExecIf("SIP/7104-00000b05", "1?MacroExit()") in new stack
ExecIf(SIP/7104-00000b05, 1?MacroExit()) in new stack
-- Executing [89022545888@Intercity-Mobile:5] Macro("SIP/7104-00000b05", "dialout-trunk,1,89022545888,") in new stack
Macro(SIP/7104-00000b05, dialout-trunk,1,89022545888,) in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/7104-00000b05", "DIALTRUNK=1") in new stack
Set(SIP/7104-00000b05, DIAL_TRUNK=1) in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/7104-00000b05", "0?sub-pincheck,s,1") in new stack
GosubIf(SIP/7104-00000b05, 0?sub-pincheck,s,1) in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/7104-00000b05", "0?disabletrunk,1") in new stack
GotoIf(SIP/7104-00000b05, 0?disabletrunk,1) in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/7104-00000b05", "DIALNUMBER=89022545888") in new stack
Set(SIP/7104-00000b05, DIAL_NUMBER=89022545888) in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/7104-00000b05", "DIALTRUNKOPTIONS=tr") in new stack
Set(SIP/7104-00000b05, DIAL_TRUNK_OPTIONS=tr) in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/7104-00000b05", "OUTBOUNDGROUP=OUT1") in new stack
Set(SIP/7104-00000b05, OUTBOUND_GROUP=OUT_1) in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/7104-00000b05", "1?nomax") in new stack
GotoIf(SIP/7104-00000b05, 1?nomax) in new stack
-- Goto (macro-dialout-trunk,s,9)
(macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/7104-00000b05", "0?skipoutcid") in new stack
GotoIf(SIP/7104-00000b05, 0?skipoutcid) in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/7104-00000b05", "DIALTRUNKOPTIONS=") in new stack
Set(SIP/7104-00000b05, DIAL_TRUNK_OPTIONS=) in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/7104-00000b05", "outbound-callerid,1") in new stack
Macro(SIP/7104-00000b05, outbound-callerid,1) in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/7104-00000b05", "0?Set(CALLERPRES()=)") in new stack
ExecIf(SIP/7104-00000b05, 0?Set(CALLERPRES()=)) in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/7104-00000b05", "0?Set(REALCALLERIDNUM=7104)") in new stack
ExecIf(SIP/7104-00000b05, 0?Set(REALCALLERIDNUM=7104)) in new stack(\n}
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/7104-00000b05", "1?normcid") in new stack
GotoIf(SIP/7104-00000b05, 1?normcid) in new stack
-- Goto (macro-outbound-callerid,s,6)
(macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/7104-00000b05", "USEROUTCID=3432669999") in new stack
Set(SIP/7104-00000b05, USEROUTCID=3432669999) in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/7104-00000b05", "EMERGENCYCID=") in new stack
Set(SIP/7104-00000b05, EMERGENCYCID=) in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/7104-00000b05", "TRUNKOUTCID=3432665000") in new stack
Set(SIP/7104-00000b05, TRUNKOUTCID=3432665000) in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/7104-00000b05", "1?trunkcid") in new stack
GotoIf(SIP/7104-00000b05, 1?trunkcid) in new stack
-- Goto (macro-outbound-callerid,s,12)
(macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/7104-00000b05", "1?Set(CALLERID(all)=3432665000)") in new stack
ExecIf(SIP/7104-00000b05, 1?Set(CALLERID(all)=3432665000)) in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/7104-00000b05", "1?Set(CALLERID(all)=3432669999)") in new stack
ExecIf(SIP/7104-00000b05, 1?Set(CALLERID(all)=3432669999)) in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/7104-00000b05", "0?Set(CALLERID(all)=)") in new stack
ExecIf(SIP/7104-00000b05, 0?Set(CALLERID(all)=)) in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/7104-00000b05", "0?Set(CALLERPRES()=prohibpassedscreen)") in new stack
ExecIf(SIP/7104-00000b05, 0?Set(CALLERPRES()=prohib_passed_screen)) in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/7104-00000b05", "0?sub-flp-1,s,1") in new stack
GosubIf(SIP/7104-00000b05, 0?sub-flp-1,s,1) in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/7104-00000b05", "OUTNUM=89022545888") in new stack
Set(SIP/7104-00000b05, OUTNUM=89022545888) in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/7104-00000b05", "custom=DAHDI/g0") in new stack
Set(SIP/7104-00000b05, custom=DAHDI/g0) in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/7104-00000b05", "0?Set(DIALTRUNKOPTIONS=M(setmusic^default))") in new stack
ExecIf(SIP/7104-00000b05, 0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))) in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/7104-00000b05", "0?Set(DIALTRUNK_OPTIONS=M(confirm))") in new stack
ExecIf(SIP/7104-00000b05, 0?Set(DIAL_TRUNK_OPTIONS=M(confirm))) in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/7104-00000b05", "dialout-trunk-predial-hook,") in new stack
Macro(SIP/7104-00000b05, dialout-trunk-predial-hook,) in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/7104-00000b05", "") in new stack
MacroExit(SIP/7104-00000b05, ) in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/7104-00000b05", "0?bypass,1") in new stack
GotoIf(SIP/7104-00000b05, 0?bypass,1) in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/7104-00000b05", "0?customtrunk") in new stack
GotoIf(SIP/7104-00000b05, 0?customtrunk) in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/7104-00000b05", "DAHDI/g0/89022545888,300,") in new stack
Dial(SIP/7104-00000b05, DAHDI/g0/89022545888,300,) in new stack
-- Requested transfer capability: 0x00 - SPEECH
SPEECH
-- Called g0/89022545888
g0/89022545888
-- DAHDI/1-1 is proceeding passing it to SIP/7104-00000b05
!! SIP/7104-00000b05!! Unknown IE 50 (cs5, Unknown Information Element)
Element)
-- DAHDI/1-1 is ringing
ringing
-- Hungup 'DAHDI/1-1'
'DAHDI/1-1'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/7104-00000b05' in macro 'dialout-trunk'
'dialout-trunk'
== Spawn extension (Intercity-Mobile, 89022545888, 5) exited non-zero on 'SIP/7104-00000b05'
'SIP/7104-00000b05'
-- Executing [h@Intercity-Mobile:1] Macro("SIP/7104-00000b05", "hangupcall,") in new stack
Macro(SIP/7104-00000b05, hangupcall,) in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/7104-00000b05", "1?theend") in new stack
GotoIf(SIP/7104-00000b05, 1?theend) in new stack
-- Goto (macro-hangupcall,s,3)
(macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] Hangup("SIP/7104-00000b05", "") in new stack
Hangup(SIP/7104-00000b05, ) in new stack
== Spawn extension (macro-hangupcall, s, 3) exited non-zero on 'SIP/7104-00000b05' in macro 'hangupcall'
'hangupcall'
== Spawn extension (Intercity-Mobile, h, 1) exited non-zero on 'SIP/7104-00000b05'
'SIP/7104-00000b05'
... где что править??? подскажите, пожалуйста Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.