Вот это и есть самое интересное. Эту строчку Dial("SIP/3808ХХХХХ72-0000040f", "SIP/701,,tr") я привел не потому что она последняя.
Код: Выделить всё
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [38089ХХХХ72@from-trunk-sip-Ukrtel:1] Set("SIP/38089ХХХХ72-00000427", "GROUP()=OUT_1") in new stack
-- Executing [38089ХХХХ72@from-trunk-sip-Ukrtel:2] Goto("SIP/38089ХХХХ72-00000427", "from-trunk,38089ХХХХ72,1") in new stack
-- Goto (from-trunk,38089ХХХХ72,1)
-- Executing [38089ХХХХ72@from-trunk:1] Set("SIP/38089ХХХХ72-00000427", "__FROM_DID=38089ХХХХ72") in new stack
-- Executing [38089ХХХХ72@from-trunk:2] Gosub("SIP/38089ХХХХ72-00000427", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/38089ХХХХ72-00000427", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/38089ХХХХ72-00000427", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/38089ХХХХ72-00000427", "") in new stack
-- Executing [38089ХХХХ72@from-trunk:3] Set("SIP/38089ХХХХ72-00000427", "CDR(did)=38089ХХХХ72") in new stack
-- Executing [38089ХХХХ72@from-trunk:4] ExecIf("SIP/38089ХХХХ72-00000427", "0 ?Set(CALLERID(name)=38097XXXXXX8)") in new stack
-- Executing [38089ХХХХ72@from-trunk:5] Set("SIP/38089ХХХХ72-00000427", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [38089ХХХХ72@from-trunk:6] Set("SIP/38089ХХХХ72-00000427", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [38089ХХХХ72@from-trunk:7] Goto("SIP/38089ХХХХ72-00000427", "from-did-direct,701,1") in new stack
-- Goto (from-did-direct,701,1)
-- Executing [701@from-did-direct:1] Set("SIP/38089ХХХХ72-00000427", "__RINGTIMER=15") in new stack
-- Executing [701@from-did-direct:2] Macro("SIP/38089ХХХХ72-00000427", "exten-vm,novm,701,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/38089ХХХХ72-00000427", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/38089ХХХХ72-00000427", "AMPUSER=38097XXXXXX8") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/38089ХХХХ72-00000427", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/38089ХХХХ72-00000427", "1?Set(REALCALLERIDNUM=38097XXXXXX8)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/38089ХХХХ72-00000427", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/38089ХХХХ72-00000427", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/38089ХХХХ72-00000427", "1?report") in new stack
-- Goto (macro-user-callerid,s,13)
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/38089ХХХХ72-00000427", "0?continue") in new stack
-- Executing [s@macro-user-callerid:14] Set("SIP/38089ХХХХ72-00000427", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/38089ХХХХ72-00000427", "1?continue") in new stack
-- Goto (macro-user-callerid,s,26)
-- Executing [s@macro-user-callerid:26] Set("SIP/38089ХХХХ72-00000427", "CALLERID(number)=38097XXXXXX8") in new stack
-- Executing [s@macro-user-callerid:27] Set("SIP/38089ХХХХ72-00000427", "CALLERID(name)=38097XXXXXX8") in new stack
-- Executing [s@macro-user-callerid:28] Set("SIP/38089ХХХХ72-00000427", "CHANNEL(language)=ru") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/38089ХХХХ72-00000427", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/38089ХХХХ72-00000427", "__EXTTOCALL=701") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/38089ХХХХ72-00000427", "__PICKUPMARK=701") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/38089ХХХХ72-00000427", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("SIP/38089ХХХХ72-00000427", "sub-record-check,s,1(exten,701,)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/38089ХХХХ72-00000427", "1?check") in new stack
-- Goto (sub-record-check,s,6)
-- Executing [s@sub-record-check:6] Set("SIP/38089ХХХХ72-00000427", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:7] GotoIf("SIP/38089ХХХХ72-00000427", "1?next") in new stack
-- Goto (sub-record-check,s,10)
-- Executing [s@sub-record-check:10] ExecIf("SIP/38089ХХХХ72-00000427", "0?Return()") in new stack
-- Executing [s@sub-record-check:11] GotoIf("SIP/38089ХХХХ72-00000427", "0?exten,1") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/38089ХХХХ72-00000427", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/38089ХХХХ72-00000427", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:14] Set("SIP/38089ХХХХ72-00000427", "NOW=1387543135") in new stack
-- Executing [s@sub-record-check:15] Set("SIP/38089ХХХХ72-00000427", "__DAY=20") in new stack
-- Executing [s@sub-record-check:16] Set("SIP/38089ХХХХ72-00000427", "__MONTH=12") in new stack
-- Executing [s@sub-record-check:17] Set("SIP/38089ХХХХ72-00000427", "__YEAR=2013") in new stack
-- Executing [s@sub-record-check:18] Set("SIP/38089ХХХХ72-00000427", "__TIMESTR=20131220-143855") in new stack
-- Executing [s@sub-record-check:19] Set("SIP/38089ХХХХ72-00000427", "__FROMEXTEN=38097XXXXXX8") in new stack
-- Executing [s@sub-record-check:20] Set("SIP/38089ХХХХ72-00000427", "__CALLFILENAME=exten-701-38097XXXXXX8-20131220-143855-1387543135.1830") in new stack
-- Executing [s@sub-record-check:21] Goto("SIP/38089ХХХХ72-00000427", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("SIP/38089ХХХХ72-00000427", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("SIP/38089ХХХХ72-00000427", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("SIP/38089ХХХХ72-00000427", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("SIP/38089ХХХХ72-00000427", "__REC_POLICY_MODE=") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("SIP/38089ХХХХ72-00000427", "0?record,1(exten,701,38097XXXXXX8)") in new stack
-- Executing [exten@sub-record-check:12] Return("SIP/38089ХХХХ72-00000427", "") in new stack
-- Executing [s@macro-exten-vm:7] GotoIf("SIP/38089ХХХХ72-00000427", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,13)
-- Executing [s@macro-exten-vm:13] GosubIf("SIP/38089ХХХХ72-00000427", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:14] Macro("SIP/38089ХХХХ72-00000427", "dial-one,,tr,701") in new stack
-- Executing [s@macro-dial-one:1] Set("SIP/38089ХХХХ72-00000427", "DEXTEN=701") in new stack
-- Executing [s@macro-dial-one:2] Set("SIP/38089ХХХХ72-00000427", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("SIP/38089ХХХХ72-00000427", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("SIP/38089ХХХХ72-00000427", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("SIP/38089ХХХХ72-00000427", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("SIP/38089ХХХХ72-00000427", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("SIP/38089ХХХХ72-00000427", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("SIP/38089ХХХХ72-00000427", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("SIP/38089ХХХХ72-00000427", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("SIP/38089ХХХХ72-00000427", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("SIP/38089ХХХХ72-00000427", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("SIP/38089ХХХХ72-00000427", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("SIP/38089ХХХХ72-00000427", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("SIP/38089ХХХХ72-00000427", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("SIP/38089ХХХХ72-00000427", "DEVICES=701") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("SIP/38089ХХХХ72-00000427", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("SIP/38089ХХХХ72-00000427", "0?Set(DEVICES=01)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("SIP/38089ХХХХ72-00000427", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("SIP/38089ХХХХ72-00000427", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("SIP/38089ХХХХ72-00000427", "THISDIAL=SIP/701") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("SIP/38089ХХХХ72-00000427", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/38089ХХХХ72-00000427", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/38089ХХХХ72-00000427", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/38089ХХХХ72-00000427", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/38089ХХХХ72-00000427", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/38089ХХХХ72-00000427", "THISPART2=SIP/701") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/38089ХХХХ72-00000427", "0?Set(THISPART2=DAHDI/701)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/38089ХХХХ72-00000427", "NEWDIAL=SIP/701&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/38089ХХХХ72-00000427", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/38089ХХХХ72-00000427", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/38089ХХХХ72-00000427", "THISDIAL=SIP/701") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/38089ХХХХ72-00000427", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("SIP/38089ХХХХ72-00000427", "DSTRING=SIP/701&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("SIP/38089ХХХХ72-00000427", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("SIP/38089ХХХХ72-00000427", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("SIP/38089ХХХХ72-00000427", "DSTRING=SIP/701") in new stack
-- Executing [dstring@macro-dial-one:13] Return("SIP/38089ХХХХ72-00000427", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("SIP/38089ХХХХ72-00000427", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("SIP/38089ХХХХ72-00000427", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("SIP/38089ХХХХ72-00000427", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("SIP/38089ХХХХ72-00000427", "DB(CALLTRACE/701)=38097XXXXXX8") in new stack
-- Executing [ctset@macro-dial-one:2] Return("SIP/38089ХХХХ72-00000427", "") in new stack
-- Executing [s@macro-dial-one:30] Set("SIP/38089ХХХХ72-00000427", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("SIP/38089ХХХХ72-00000427", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("SIP/38089ХХХХ72-00000427", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("SIP/38089ХХХХ72-00000427", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("SIP/38089ХХХХ72-00000427", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("SIP/38089ХХХХ72-00000427", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("SIP/38089ХХХХ72-00000427", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("SIP/38089ХХХХ72-00000427", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("SIP/38089ХХХХ72-00000427", "1?godial") in new stack
-- Goto (macro-dial-one,s,42)
-- Executing [s@macro-dial-one:42] Dial("SIP/38089ХХХХ72-00000427", "SIP/701,,tr") in new stack
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/701
-- SIP/701-00000428 is ringing
== Spawn extension (macro-dial-one, s, 42) exited non-zero on 'SIP/38089ХХХХ72-00000427' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'SIP/38089ХХХХ72-00000427' in macro 'exten-vm'
== Spawn extension (from-did-direct, 701, 2) exited non-zero on 'SIP/38089ХХХХ72-00000427'
-- Executing [h@from-did-direct:1] Macro("SIP/38089ХХХХ72-00000427", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/38089ХХХХ72-00000427", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("SIP/38089ХХХХ72-00000427", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("SIP/38089ХХХХ72-00000427", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/38089ХХХХ72-00000427' in macro 'hangupcall'
== Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/38089ХХХХ72-00000427'
Т.е. про 0444ХХХХ98 нет ничего. Как и про внутренний номер 700. Так что вряд ли дело доходит до Goto(from-did-direct,700,1). А куда смотреть дальше я не знаю..
Кстати, контекст from-did-direct я в extensions_additional.conf не нашел, в extensions_custom.conf тоже нет.