1 | изначальная версия редактировать | |
elastix 2.2.0
Настройки транка:
type=peer
host=213.145.43.128
dtmfmode=rfc2833
conext=contex-internal
allow=g723&g723.1&gsm&ulaw&alaw
Лог входящего звонка :
sip*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [74959559393@from-trunk-sip-ZTE-IP-44:1] Set("SIP/ZTE-IP-44-000002d2", "GROUP()=OUT_6") in new stack
-- Executing [74959559393@from-trunk-sip-ZTE-IP-44:2] Goto("SIP/ZTE-IP-44-000002d2", "from-trunk,74959559393,1") in new stack
-- Goto (from-trunk,74959559393,1)
-- Executing [74959559393@from-trunk:1] Set("SIP/ZTE-IP-44-000002d2", "__FROM_DID=74959559393") in new stack
-- Executing [74959559393@from-trunk:2] Gosub("SIP/ZTE-IP-44-000002d2", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/ZTE-IP-44-000002d2", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/ZTE-IP-44-000002d2", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/ZTE-IP-44-000002d2", "") in new stack
-- Executing [74959559393@from-trunk:3] ExecIf("SIP/ZTE-IP-44-000002d2", "1 ?Set(CALLERID(name)=1477513)") in new stack
-- Executing [74959559393@from-trunk:4] Set("SIP/ZTE-IP-44-000002d2", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [74959559393@from-trunk:5] Set("SIP/ZTE-IP-44-000002d2", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [74959559393@from-trunk:6] Goto("SIP/ZTE-IP-44-000002d2", "from-did-direct,9000,1") in new stack
-- Goto (from-did-direct,9000,1)
-- Executing [9000@from-did-direct:1] Macro("SIP/ZTE-IP-44-000002d2", "exten-vm,novm,9000") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/ZTE-IP-44-000002d2", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/ZTE-IP-44-000002d2", "AMPUSER=1477513") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/ZTE-IP-44-000002d2", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/ZTE-IP-44-000002d2", "1?Set(REALCALLERIDNUM=1477513)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/ZTE-IP-44-000002d2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/ZTE-IP-44-000002d2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/ZTE-IP-44-000002d2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/ZTE-IP-44-000002d2", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/ZTE-IP-44-000002d2", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/ZTE-IP-44-000002d2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/ZTE-IP-44-000002d2", "CALLERID(number)=1477513") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/ZTE-IP-44-000002d2", "CALLERID(name)=1477513") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/ZTE-IP-44-000002d2", "Using CallerID "1477513" <1477513>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/ZTE-IP-44-000002d2", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/ZTE-IP-44-000002d2", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/ZTE-IP-44-000002d2", "__EXTTOCALL=9000") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/ZTE-IP-44-000002d2", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/ZTE-IP-44-000002d2", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/ZTE-IP-44-000002d2", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/ZTE-IP-44-000002d2", "record-enable,9000,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/ZTE-IP-44-000002d2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/ZTE-IP-44-000002d2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/ZTE-IP-44-000002d2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/ZTE-IP-44-000002d2", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/ZTE-IP-44-000002d2", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/ZTE-IP-44-000002d2", "dial-one,"",tTw,9000") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/ZTE-IP-44-000002d2", "DEXTEN=9000") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/ZTE-IP-44-000002d2", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/ZTE-IP-44-000002d2", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/ZTE-IP-44-000002d2", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/ZTE-IP-44-000002d2", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/ZTE-IP-44-000002d2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/ZTE-IP-44-000002d2", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/ZTE-IP-44-000002d2", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/ZTE-IP-44-000002d2", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/ZTE-IP-44-000002d2", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/ZTE-IP-44-000002d2", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/ZTE-IP-44-000002d2", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/ZTE-IP-44-000002d2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/ZTE-IP-44-000002d2", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/ZTE-IP-44-000002d2", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/ZTE-IP-44-000002d2", "DEVICES=9000") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Set(DEVICES=000)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/ZTE-IP-44-000002d2", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/ZTE-IP-44-000002d2", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/ZTE-IP-44-000002d2", "THISDIAL=SIP/9000") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/ZTE-IP-44-000002d2", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/ZTE-IP-44-000002d2", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/ZTE-IP-44-000002d2", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/ZTE-IP-44-000002d2", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/ZTE-IP-44-000002d2", "THISPART2=SIP/9000") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Set(THISPART2=DAHDI/9000)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/ZTE-IP-44-000002d2", "NEWDIAL=SIP/9000&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/ZTE-IP-44-000002d2", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/ZTE-IP-44-000002d2", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/ZTE-IP-44-000002d2", "THISDIAL=SIP/9000") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/ZTE-IP-44-000002d2", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/ZTE-IP-44-000002d2", "DSTRING=SIP/9000&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/ZTE-IP-44-000002d2", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/ZTE-IP-44-000002d2", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/ZTE-IP-44-000002d2", "DSTRING=SIP/9000") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/ZTE-IP-44-000002d2", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/ZTE-IP-44-000002d2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/ZTE-IP-44-000002d2", "1?skiptrace") in new stack
-- Goto (macro-dial-one,s,30)
-- Executing [s@macro-dial-one:30] Set("SIP/ZTE-IP-44-000002d2", "D_OPTIONS=tTw") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/ZTE-IP-44-000002d2", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/ZTE-IP-44-000002d2", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/ZTE-IP-44-000002d2", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/ZTE-IP-44-000002d2", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/ZTE-IP-44-000002d2", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/ZTE-IP-44-000002d2", "SIP/9000,"",tTw") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Как видно провайдер доставляет не полный номер и сбасывает звонок, или я ошибаюсь и проблема у меня в атс , если так подскажите как решить проблему .
2 | No.2 Revision редактировать |
elastix 2.2.0
Настройки транка:
type=peer
host=213.145.43.128
dtmfmode=rfc2833
conext=contex-internal
allow=g723&g723.1&gsm&ulaw&alaw
Лог входящего звонка :
sip*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [74959559393@from-trunk-sip-ZTE-IP-44:1] Set("SIP/ZTE-IP-44-000002d2", "GROUP()=OUT_6") in new stack
-- Executing [74959559393@from-trunk-sip-ZTE-IP-44:2] Goto("SIP/ZTE-IP-44-000002d2", "from-trunk,74959559393,1") in new stack
-- Goto (from-trunk,74959559393,1)
-- Executing [74959559393@from-trunk:1] Set("SIP/ZTE-IP-44-000002d2", "__FROM_DID=74959559393") in new stack
-- Executing [74959559393@from-trunk:2] Gosub("SIP/ZTE-IP-44-000002d2", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/ZTE-IP-44-000002d2", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/ZTE-IP-44-000002d2", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/ZTE-IP-44-000002d2", "") in new stack
-- Executing [74959559393@from-trunk:3] ExecIf("SIP/ZTE-IP-44-000002d2", "1 ?Set(CALLERID(name)=1477513)") in new stack
-- Executing [74959559393@from-trunk:4] Set("SIP/ZTE-IP-44-000002d2", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [74959559393@from-trunk:5] Set("SIP/ZTE-IP-44-000002d2", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [74959559393@from-trunk:6] Goto("SIP/ZTE-IP-44-000002d2", "from-did-direct,9000,1") in new stack
-- Goto (from-did-direct,9000,1)
-- Executing [9000@from-did-direct:1] Macro("SIP/ZTE-IP-44-000002d2", "exten-vm,novm,9000") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/ZTE-IP-44-000002d2", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/ZTE-IP-44-000002d2", "AMPUSER=1477513") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/ZTE-IP-44-000002d2", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/ZTE-IP-44-000002d2", "1?Set(REALCALLERIDNUM=1477513)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/ZTE-IP-44-000002d2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/ZTE-IP-44-000002d2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/ZTE-IP-44-000002d2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/ZTE-IP-44-000002d2", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/ZTE-IP-44-000002d2", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/ZTE-IP-44-000002d2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/ZTE-IP-44-000002d2", "CALLERID(number)=1477513") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/ZTE-IP-44-000002d2", "CALLERID(name)=1477513") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/ZTE-IP-44-000002d2", "Using CallerID "1477513" <1477513>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/ZTE-IP-44-000002d2", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/ZTE-IP-44-000002d2", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/ZTE-IP-44-000002d2", "__EXTTOCALL=9000") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/ZTE-IP-44-000002d2", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/ZTE-IP-44-000002d2", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/ZTE-IP-44-000002d2", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/ZTE-IP-44-000002d2", "record-enable,9000,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/ZTE-IP-44-000002d2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/ZTE-IP-44-000002d2", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/ZTE-IP-44-000002d2", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/ZTE-IP-44-000002d2", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/ZTE-IP-44-000002d2", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/ZTE-IP-44-000002d2", "dial-one,"",tTw,9000") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/ZTE-IP-44-000002d2", "DEXTEN=9000") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/ZTE-IP-44-000002d2", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/ZTE-IP-44-000002d2", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/ZTE-IP-44-000002d2", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/ZTE-IP-44-000002d2", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/ZTE-IP-44-000002d2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/ZTE-IP-44-000002d2", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/ZTE-IP-44-000002d2", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/ZTE-IP-44-000002d2", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/ZTE-IP-44-000002d2", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/ZTE-IP-44-000002d2", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/ZTE-IP-44-000002d2", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/ZTE-IP-44-000002d2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/ZTE-IP-44-000002d2", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/ZTE-IP-44-000002d2", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/ZTE-IP-44-000002d2", "DEVICES=9000") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Set(DEVICES=000)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/ZTE-IP-44-000002d2", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/ZTE-IP-44-000002d2", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/ZTE-IP-44-000002d2", "THISDIAL=SIP/9000") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/ZTE-IP-44-000002d2", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/ZTE-IP-44-000002d2", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/ZTE-IP-44-000002d2", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/ZTE-IP-44-000002d2", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/ZTE-IP-44-000002d2", "THISPART2=SIP/9000") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Set(THISPART2=DAHDI/9000)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/ZTE-IP-44-000002d2", "NEWDIAL=SIP/9000&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/ZTE-IP-44-000002d2", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/ZTE-IP-44-000002d2", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/ZTE-IP-44-000002d2", "THISDIAL=SIP/9000") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/ZTE-IP-44-000002d2", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/ZTE-IP-44-000002d2", "DSTRING=SIP/9000&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/ZTE-IP-44-000002d2", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/ZTE-IP-44-000002d2", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/ZTE-IP-44-000002d2", "DSTRING=SIP/9000") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/ZTE-IP-44-000002d2", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/ZTE-IP-44-000002d2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/ZTE-IP-44-000002d2", "1?skiptrace") in new stack
-- Goto (macro-dial-one,s,30)
-- Executing [s@macro-dial-one:30] Set("SIP/ZTE-IP-44-000002d2", "D_OPTIONS=tTw") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/ZTE-IP-44-000002d2", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/ZTE-IP-44-000002d2", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/ZTE-IP-44-000002d2", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/ZTE-IP-44-000002d2", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/ZTE-IP-44-000002d2", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/ZTE-IP-44-000002d2", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/ZTE-IP-44-000002d2", "SIP/9000,"",tTw") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
Как видно провайдер доставляет не полный номер и сбасывает звонок, или я ошибаюсь и проблема у меня в атс , если так подскажите как решить проблему .
Когда поставил context=from-trunk в настройке транков , звонок серовно сбрасывается один гудок и трубка кладется.
[root@sip ~]# asterisk -r
Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.7.0 currently running on sip (pid = 3016)
Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [74959559393@from-trunk:1] Set("SIP/ZTE-IP-44-00000007", "__FROM_DID=74959559393") in new stack
-- Executing [74959559393@from-trunk:2] Gosub("SIP/ZTE-IP-44-00000007", "app-blacklist-check,s,1") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/ZTE-IP-44-00000007", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/ZTE-IP-44-00000007", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/ZTE-IP-44-00000007", "") in new stack
-- Executing [74959559393@from-trunk:3] ExecIf("SIP/ZTE-IP-44-00000007", "1 ?Set(CALLERID(name)=1477513)") in new stack
-- Executing [74959559393@from-trunk:4] Set("SIP/ZTE-IP-44-00000007", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [74959559393@from-trunk:5] Set("SIP/ZTE-IP-44-00000007", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [74959559393@from-trunk:6] Goto("SIP/ZTE-IP-44-00000007", "from-did-direct,9000,1") in new stack
-- Goto (from-did-direct,9000,1)
-- Executing [9000@from-did-direct:1] Macro("SIP/ZTE-IP-44-00000007", "exten-vm,novm,9000") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/ZTE-IP-44-00000007", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/ZTE-IP-44-00000007", "AMPUSER=1477513") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/ZTE-IP-44-00000007", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/ZTE-IP-44-00000007", "1?Set(REALCALLERIDNUM=1477513)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/ZTE-IP-44-00000007", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/ZTE-IP-44-00000007", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/ZTE-IP-44-00000007", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/ZTE-IP-44-00000007", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/ZTE-IP-44-00000007", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/ZTE-IP-44-00000007", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/ZTE-IP-44-00000007", "CALLERID(number)=1477513") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/ZTE-IP-44-00000007", "CALLERID(name)=1477513") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/ZTE-IP-44-00000007", "Using CallerID "1477513" <1477513>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/ZTE-IP-44-00000007", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/ZTE-IP-44-00000007", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/ZTE-IP-44-00000007", "__EXTTOCALL=9000") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/ZTE-IP-44-00000007", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/ZTE-IP-44-00000007", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/ZTE-IP-44-00000007", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/ZTE-IP-44-00000007", "record-enable,9000,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/ZTE-IP-44-00000007", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/ZTE-IP-44-00000007", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/ZTE-IP-44-00000007", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/ZTE-IP-44-00000007", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/ZTE-IP-44-00000007", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/ZTE-IP-44-00000007", "dial-one,"",tTw,9000") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/ZTE-IP-44-00000007", "DEXTEN=9000") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/ZTE-IP-44-00000007", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/ZTE-IP-44-00000007", "0?screen,1") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/ZTE-IP-44-00000007", "0?cf,1") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/ZTE-IP-44-00000007", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/ZTE-IP-44-00000007", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/ZTE-IP-44-00000007", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/ZTE-IP-44-00000007", "EXTHASCW=") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/ZTE-IP-44-00000007", "1?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,12)
-- Executing [s@macro-dial-one:12] GotoIf("SIP/ZTE-IP-44-00000007", "0?docfu:skip3") in new stack
-- Goto (macro-dial-one,s,16)
-- Executing [s@macro-dial-one:16] GotoIf("SIP/ZTE-IP-44-00000007", "1?next2:continue") in new stack
-- Goto (macro-dial-one,s,17)
-- Executing [s@macro-dial-one:17] GotoIf("SIP/ZTE-IP-44-00000007", "1?continue") in new stack
-- Goto (macro-dial-one,s,25)
-- Executing [s@macro-dial-one:25] GotoIf("SIP/ZTE-IP-44-00000007", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/ZTE-IP-44-00000007", "1?dstring,1:dlocal,1") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/ZTE-IP-44-00000007", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/ZTE-IP-44-00000007", "DEVICES=9000") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/ZTE-IP-44-00000007", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/ZTE-IP-44-00000007", "0?Set(DEVICES=000)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/ZTE-IP-44-00000007", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/ZTE-IP-44-00000007", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/ZTE-IP-44-00000007", "THISDIAL=SIP/9000") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/ZTE-IP-44-00000007", "1?zap2dahdi,1") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/ZTE-IP-44-00000007", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/ZTE-IP-44-00000007", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/ZTE-IP-44-00000007", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/ZTE-IP-44-00000007", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/ZTE-IP-44-00000007", "THISPART2=SIP/9000") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/ZTE-IP-44-00000007", "0?Set(THISPART2=DAHDI/9000)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/ZTE-IP-44-00000007", "NEWDIAL=SIP/9000&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/ZTE-IP-44-00000007", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/ZTE-IP-44-00000007", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/ZTE-IP-44-00000007", "THISDIAL=SIP/9000") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/ZTE-IP-44-00000007", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/ZTE-IP-44-00000007", "DSTRING=SIP/9000&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/ZTE-IP-44-00000007", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/ZTE-IP-44-00000007", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/ZTE-IP-44-00000007", "DSTRING=SIP/9000") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/ZTE-IP-44-00000007", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/ZTE-IP-44-00000007", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/ZTE-IP-44-00000007", "1?skiptrace") in new stack
-- Goto (macro-dial-one,s,30)
-- Executing [s@macro-dial-one:30] Set("SIP/ZTE-IP-44-00000007", "D_OPTIONS=tTw") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/ZTE-IP-44-00000007", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/ZTE-IP-44-00000007", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/ZTE-IP-44-00000007", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/ZTE-IP-44-00000007", "0?qwait,1") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/ZTE-IP-44-00000007", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/ZTE-IP-44-00000007", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] Dial("SIP/ZTE-IP-44-00000007", "SIP/9000,"",tTw") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/9000
== Spawn extension (macro-dial-one, s, 37) exited non-zero on 'SIP/ZTE-IP-44-00000007' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/ZTE-IP-44-00000007' in macro 'exten-vm'
== Spawn extension (from-did-direct, 9000, 1) exited non-zero on 'SIP/ZTE-IP-44-00000007'
-- Executing [h@from-did-direct:1] Macro("SIP/ZTE-IP-44-00000007", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/ZTE-IP-44-00000007", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/ZTE-IP-44-00000007", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/ZTE-IP-44-00000007", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/ZTE-IP-44-00000007", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/ZTE-IP-44-00000007", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/ZTE-IP-44-00000007", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/ZTE-IP-44-00000007", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/ZTE-IP-44-00000007", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/ZTE-IP-44-00000007", "1?skiprg") in new stack
-- Goexit
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.