1 | изначальная версия редактировать | |
Иногда наблюдается подряд, иногда пропадает. Звонок из города через АТС DX-500 по потоку E1 через TDMoE шлюз в сервер FreePBX 12.0.74. Вызывающий слышит короткие гудки. На SIP-телефоне происходит один звонок и связь разрывается.
-- Executing [90706@from-pstn:1] Set("DAHDI/i1/XXXXXXXXXX-95", "__FROM_DID=90706") in new stack
-- Executing [90706@from-pstn:2] Gosub("DAHDI/i1/XXXXXXXXXX-95", "sub-record-check,s,1(in,90706,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("DAHDI/i1/XXXXXXXXXX-95", "NOW=1480395587") in new stack
-- Executing [s@sub-record-check:4] Set("DAHDI/i1/XXXXXXXXXX-95", "__DAY=29") in new stack
-- Executing [s@sub-record-check:5] Set("DAHDI/i1/XXXXXXXXXX-95", "__MONTH=11") in new stack
-- Executing [s@sub-record-check:6] Set("DAHDI/i1/XXXXXXXXXX-95", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:7] Set("DAHDI/i1/XXXXXXXXXX-95", "__TIMESTR=20161129-075947") in new stack
-- Executing [s@sub-record-check:8] Set("DAHDI/i1/XXXXXXXXXX-95", "__FROMEXTEN=unknown") in new stack
-- Executing [s@sub-record-check:9] Set("DAHDI/i1/XXXXXXXXXX-95", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("DAHDI/i1/XXXXXXXXXX-95", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "2?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?sub-record-check,in,1") in new stack
-- Goto (sub-record-check,in,1)
-- Executing [in@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Inbound Recording Check to 90706") in new stack
-- Executing [in@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "FROMEXTEN=unknown") in new stack
-- Executing [in@sub-record-check:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "10?Set(FROMEXTEN=XXXXXXXXXX)") in new stack
-- Executing [in@sub-record-check:4] Gosub("DAHDI/i1/XXXXXXXXXX-95", "recordcheck,1(dontcare,in,90706)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/XXXXXXXXXX-95", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [in@sub-record-check:5] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [90706@from-pstn:3] Gosub("DAHDI/i1/XXXXXXXXXX-95", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [90706@from-pstn:4] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(did)=90706") in new stack
-- Executing [90706@from-pstn:5] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1 ?Set(CALLERID(name)=XXXXXXXXXX)") in new stack
-- Executing [90706@from-pstn:6] Set("DAHDI/i1/XXXXXXXXXX-95", "CHANNEL(musicclass)=default") in new stack
-- Executing [90706@from-pstn:7] Set("DAHDI/i1/XXXXXXXXXX-95", "__MOHCLASS=default") in new stack
-- Executing [90706@from-pstn:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?macro-hangupcall") in new stack
-- Executing [90706@from-pstn:9] Set("DAHDI/i1/XXXXXXXXXX-95", "__CALLINGPRES_SV=allowed") in new stack
-- Executing [90706@from-pstn:10] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [90706@from-pstn:11] Goto("DAHDI/i1/XXXXXXXXXX-95", "from-did-direct,2306,1") in new stack
-- Goto (from-did-direct,2306,1)
-- Executing [2306@from-did-direct:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?ext-local,2306,1") in new stack
-- Goto (ext-local,2306,1)
-- Executing [2306@ext-local:1] Set("DAHDI/i1/XXXXXXXXXX-95", "__RINGTIMER=15") in new stack
-- Executing [2306@ext-local:2] Macro("DAHDI/i1/XXXXXXXXXX-95", "exten-vm,novm,2306,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("DAHDI/i1/XXXXXXXXXX-95", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLERID(all)=2323)") in new stack
-- Executing [s@macro-user-callerid:2] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSER=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(REALCALLERIDNUM=XXXXXXXXXX)") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?continue") in new stack
-- Executing [s@macro-user-callerid:17] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:18] Set("DAHDI/i1/XXXXXXXXXX-95", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?continue") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERID(number)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:31] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERID(name)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:32] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(cnum)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:33] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(cnam)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:34] Set("DAHDI/i1/XXXXXXXXXX-95", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("DAHDI/i1/XXXXXXXXXX-95", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("DAHDI/i1/XXXXXXXXXX-95", "__EXTTOCALL=2306") in new stack
-- Executing [s@macro-exten-vm:4] Set("DAHDI/i1/XXXXXXXXXX-95", "__PICKUPMARK=2306") in new stack
-- Executing [s@macro-exten-vm:5] Set("DAHDI/i1/XXXXXXXXXX-95", "RT=") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:6] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:7] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?MacroExit()") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:8] Gosub("DAHDI/i1/XXXXXXXXXX-95", "sub-record-check,s,1(exten,2306,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "10?initialized") in new stack
-- Goto (sub-record-check,s,10)
-- Executing [s@sub-record-check:10] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("DAHDI/i1/XXXXXXXXXX-95", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Exten Recording Check between XXXXXXXXXX and 2306") in new stack
-- Executing [exten@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLTYPE=external") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLEE=yes") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?callee") in new stack
-- Goto (sub-record-check,exten,11)
-- Executing [exten@sub-record-check:11] Gosub("DAHDI/i1/XXXXXXXXXX-95", "recordcheck,1(yes,external,2306)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording check against yes") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/XXXXXXXXXX-95", "yes") in new stack
-- Goto (sub-record-check,recordcheck,9)
-- Executing [recordcheck@sub-record-check:9] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [recordcheck@sub-record-check:10] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_POLICY_MODE=YES") in new stack
-- Executing [recordcheck@sub-record-check:11] Goto("DAHDI/i1/XXXXXXXXXX-95", "startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording: external, 2306") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("DAHDI/i1/XXXXXXXXXX-95", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("DAHDI/i1/XXXXXXXXXX-95", "__CALLFILENAME=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("DAHDI/i1/XXXXXXXXXX-95", "2016/11/29/external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav,ai(LOCAL_MIXMON_ID),") in new stack
-- Executing [recordcheck@sub-record-check:20] Set("DAHDI/i1/XXXXXXXXXX-95", "__MIXMON_ID=0x7f7c400416b0") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("DAHDI/i1/XXXXXXXXXX-95", "__RECORD_ID=DAHDI/i1/XXXXXXXXXX-95") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_STATUS=RECORDING") in new stack
-- Executing [recordcheck@sub-record-check:23] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(recordingfile)=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav") in new stack
-- Executing [recordcheck@sub-record-check:24] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [exten@sub-record-check:12] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-exten-vm:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,15)
-- Executing [s@macro-exten-vm:15] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:16] Macro("DAHDI/i1/XXXXXXXXXX-95", "dial-one,,Ttr,2306") in new stack
-- Executing [s@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DEXTEN=2306") in new stack
-- Executing [s@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?skip1") in new stack
== Begin MixMonitor Recording DAHDI/i1/XXXXXXXXXX-95
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("DAHDI/i1/XXXXXXXXXX-95", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "DEVICES=2306") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(DEVICES=306)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("DAHDI/i1/XXXXXXXXXX-95", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("DAHDI/i1/XXXXXXXXXX-95", "THISDIAL=SIP/2306") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("DAHDI/i1/XXXXXXXXXX-95", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("DAHDI/i1/XXXXXXXXXX-95", "THISPART2=SIP/2306") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(THISPART2=DAHDI/2306)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("DAHDI/i1/XXXXXXXXXX-95", "NEWDIAL=SIP/2306&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("DAHDI/i1/XXXXXXXXXX-95", "THISDIAL=SIP/2306") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?doset") in new stack
-- Goto (macro-dial-one,dstring,13)
-- Executing [dstring@macro-dial-one:13] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=SIP/2306&") in new stack
-- Executing [dstring@macro-dial-one:14] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:15] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:16] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:17] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=SIP/2306") in new stack
-- Executing [dstring@macro-dial-one:18] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DB(CALLTRACE/2306)=XXXXXXXXXX") in new stack
-- Executing [ctset@macro-dial-one:2] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:30] Set("DAHDI/i1/XXXXXXXXXX-95", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("DAHDI/i1/XXXXXXXXXX-95", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("DAHDI/i1/XXXXXXXXXX-95", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Macro("DAHDI/i1/XXXXXXXXXX-95", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:44] Dial("DAHDI/i1/XXXXXXXXXX-95", "SIP/2306,,Ttr") in new stack
-- Span 1: Channel 0/7 got hangup, cause 97
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2016-11-29 07:59:47.401956'},'ildutov','2306','','','','s','from-internal','SIP/2306-0000009c','','',3,'','1480395587.313','1480395587.312','','','')]
-- Called SIP/2306
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2016-11-29 07:59:47.404068'},'ildutov','2306','2306','','','2306','from-internal','SIP/2306-0000009c','AppDial','(Outgoing Line)',3,'','1480395587.313','1480395587.312','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2016-11-29 07:59:47.404654'},'ildutov','2306','2306','','','2306','from-internal','SIP/2306-0000009c','AppDial','(Outgoing Line)',3,'','1480395587.313','1480395587.312','','','')]
== Spawn extension (macro-dial-one, s, 44) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'exten-vm'
== Spawn extension (ext-local, 2306, 2) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95'
-- Executing [h@ext-local:1] Macro("DAHDI/i1/XXXXXXXXXX-95", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CDR(recordingfile)=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav)") in new stack
-- Executing [s@macro-hangupcall:2] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?theend") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] Hangup("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95'
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2016-11-29 07:59:47.407922'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
-- Hungup 'DAHDI/i1/XXXXXXXXXX-95'
== MixMonitor close filestream (mixed)
> [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid,did,recordingfile,cnum,cnam) VALUES ({ ts '2016-11-29 07:59:47' },'"XXXXXXXXXX" <XXXXXXXXXX>','XXXXXXXXXX','2306','ext-local','DAHDI/i1/XXXXXXXXXX-95','SIP/2306-0000009c','Dial','SIP/2306,,Ttr',0,0,'NO ANSWER',3,'1480395587.312','90706','external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav','XXXXXXXXXX','XXXXXXXXXX')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2016-11-29 07:59:47.410349'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2016-11-29 07:59:47.410911'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
== End MixMonitor Recording DAHDI/i1/XXXXXXXXXX-95
[2016-11-29 08:00:05] NOTICE[1806]: chan_sip.c:28016 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 6996
[2016-11-29 08:00:27] NOTICE[1806]: chan_sip.c:23707 handle_response_peerpoke: Peer '6907' is now Lagged. (2039ms / 2000ms)
2 | No.2 Revision редактировать |
Иногда наблюдается подряд, иногда пропадает. Звонок из города через АТС DX-500 по потоку E1 через TDMoE шлюз в сервер FreePBX 12.0.74. Вызывающий слышит короткие гудки. На SIP-телефоне происходит один звонок и связь разрывается.
-- Executing [90706@from-pstn:1] Set("DAHDI/i1/XXXXXXXXXX-95", "__FROM_DID=90706") in new stack
-- Executing [90706@from-pstn:2] Gosub("DAHDI/i1/XXXXXXXXXX-95", "sub-record-check,s,1(in,90706,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("DAHDI/i1/XXXXXXXXXX-95", "NOW=1480395587") in new stack
-- Executing [s@sub-record-check:4] Set("DAHDI/i1/XXXXXXXXXX-95", "__DAY=29") in new stack
-- Executing [s@sub-record-check:5] Set("DAHDI/i1/XXXXXXXXXX-95", "__MONTH=11") in new stack
-- Executing [s@sub-record-check:6] Set("DAHDI/i1/XXXXXXXXXX-95", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:7] Set("DAHDI/i1/XXXXXXXXXX-95", "__TIMESTR=20161129-075947") in new stack
-- Executing [s@sub-record-check:8] Set("DAHDI/i1/XXXXXXXXXX-95", "__FROMEXTEN=unknown") in new stack
-- Executing [s@sub-record-check:9] Set("DAHDI/i1/XXXXXXXXXX-95", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("DAHDI/i1/XXXXXXXXXX-95", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "2?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?sub-record-check,in,1") in new stack
-- Goto (sub-record-check,in,1)
-- Executing [in@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Inbound Recording Check to 90706") in new stack
-- Executing [in@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "FROMEXTEN=unknown") in new stack
-- Executing [in@sub-record-check:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "10?Set(FROMEXTEN=XXXXXXXXXX)") in new stack
-- Executing [in@sub-record-check:4] Gosub("DAHDI/i1/XXXXXXXXXX-95", "recordcheck,1(dontcare,in,90706)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/XXXXXXXXXX-95", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [in@sub-record-check:5] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [90706@from-pstn:3] Gosub("DAHDI/i1/XXXXXXXXXX-95", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [90706@from-pstn:4] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(did)=90706") in new stack
-- Executing [90706@from-pstn:5] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1 ?Set(CALLERID(name)=XXXXXXXXXX)") in new stack
-- Executing [90706@from-pstn:6] Set("DAHDI/i1/XXXXXXXXXX-95", "CHANNEL(musicclass)=default") in new stack
-- Executing [90706@from-pstn:7] Set("DAHDI/i1/XXXXXXXXXX-95", "__MOHCLASS=default") in new stack
-- Executing [90706@from-pstn:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?macro-hangupcall") in new stack
-- Executing [90706@from-pstn:9] Set("DAHDI/i1/XXXXXXXXXX-95", "__CALLINGPRES_SV=allowed") in new stack
-- Executing [90706@from-pstn:10] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [90706@from-pstn:11] Goto("DAHDI/i1/XXXXXXXXXX-95", "from-did-direct,2306,1") in new stack
-- Goto (from-did-direct,2306,1)
-- Executing [2306@from-did-direct:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?ext-local,2306,1") in new stack
-- Goto (ext-local,2306,1)
-- Executing [2306@ext-local:1] Set("DAHDI/i1/XXXXXXXXXX-95", "__RINGTIMER=15") in new stack
-- Executing [2306@ext-local:2] Macro("DAHDI/i1/XXXXXXXXXX-95", "exten-vm,novm,2306,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("DAHDI/i1/XXXXXXXXXX-95", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLERID(all)=2323)") in new stack
-- Executing [s@macro-user-callerid:2] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSER=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(REALCALLERIDNUM=XXXXXXXXXX)") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?continue") in new stack
-- Executing [s@macro-user-callerid:17] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:18] Set("DAHDI/i1/XXXXXXXXXX-95", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?continue") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERID(number)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:31] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERID(name)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:32] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(cnum)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:33] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(cnam)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:34] Set("DAHDI/i1/XXXXXXXXXX-95", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("DAHDI/i1/XXXXXXXXXX-95", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("DAHDI/i1/XXXXXXXXXX-95", "__EXTTOCALL=2306") in new stack
-- Executing [s@macro-exten-vm:4] Set("DAHDI/i1/XXXXXXXXXX-95", "__PICKUPMARK=2306") in new stack
-- Executing [s@macro-exten-vm:5] Set("DAHDI/i1/XXXXXXXXXX-95", "RT=") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:6] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:7] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?MacroExit()") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:8] Gosub("DAHDI/i1/XXXXXXXXXX-95", "sub-record-check,s,1(exten,2306,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "10?initialized") in new stack
-- Goto (sub-record-check,s,10)
-- Executing [s@sub-record-check:10] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("DAHDI/i1/XXXXXXXXXX-95", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Exten Recording Check between XXXXXXXXXX and 2306") in new stack
-- Executing [exten@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLTYPE=external") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLEE=yes") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?callee") in new stack
-- Goto (sub-record-check,exten,11)
-- Executing [exten@sub-record-check:11] Gosub("DAHDI/i1/XXXXXXXXXX-95", "recordcheck,1(yes,external,2306)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording check against yes") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/XXXXXXXXXX-95", "yes") in new stack
-- Goto (sub-record-check,recordcheck,9)
-- Executing [recordcheck@sub-record-check:9] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [recordcheck@sub-record-check:10] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_POLICY_MODE=YES") in new stack
-- Executing [recordcheck@sub-record-check:11] Goto("DAHDI/i1/XXXXXXXXXX-95", "startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording: external, 2306") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("DAHDI/i1/XXXXXXXXXX-95", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("DAHDI/i1/XXXXXXXXXX-95", "__CALLFILENAME=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("DAHDI/i1/XXXXXXXXXX-95", "2016/11/29/external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav,ai(LOCAL_MIXMON_ID),") in new stack
-- Executing [recordcheck@sub-record-check:20] Set("DAHDI/i1/XXXXXXXXXX-95", "__MIXMON_ID=0x7f7c400416b0") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("DAHDI/i1/XXXXXXXXXX-95", "__RECORD_ID=DAHDI/i1/XXXXXXXXXX-95") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_STATUS=RECORDING") in new stack
-- Executing [recordcheck@sub-record-check:23] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(recordingfile)=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav") in new stack
-- Executing [recordcheck@sub-record-check:24] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [exten@sub-record-check:12] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-exten-vm:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,15)
-- Executing [s@macro-exten-vm:15] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:16] Macro("DAHDI/i1/XXXXXXXXXX-95", "dial-one,,Ttr,2306") in new stack
-- Executing [s@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DEXTEN=2306") in new stack
-- Executing [s@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?skip1") in new stack
== Begin MixMonitor Recording DAHDI/i1/XXXXXXXXXX-95
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("DAHDI/i1/XXXXXXXXXX-95", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "DEVICES=2306") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(DEVICES=306)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("DAHDI/i1/XXXXXXXXXX-95", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("DAHDI/i1/XXXXXXXXXX-95", "THISDIAL=SIP/2306") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("DAHDI/i1/XXXXXXXXXX-95", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("DAHDI/i1/XXXXXXXXXX-95", "THISPART2=SIP/2306") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(THISPART2=DAHDI/2306)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("DAHDI/i1/XXXXXXXXXX-95", "NEWDIAL=SIP/2306&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("DAHDI/i1/XXXXXXXXXX-95", "THISDIAL=SIP/2306") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?doset") in new stack
-- Goto (macro-dial-one,dstring,13)
-- Executing [dstring@macro-dial-one:13] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=SIP/2306&") in new stack
-- Executing [dstring@macro-dial-one:14] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:15] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:16] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:17] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=SIP/2306") in new stack
-- Executing [dstring@macro-dial-one:18] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DB(CALLTRACE/2306)=XXXXXXXXXX") in new stack
-- Executing [ctset@macro-dial-one:2] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:30] Set("DAHDI/i1/XXXXXXXXXX-95", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("DAHDI/i1/XXXXXXXXXX-95", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("DAHDI/i1/XXXXXXXXXX-95", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Macro("DAHDI/i1/XXXXXXXXXX-95", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:44] Dial("DAHDI/i1/XXXXXXXXXX-95", "SIP/2306,,Ttr") in new stack
-- Span 1: Channel 0/7 got hangup, cause 97
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2016-11-29 07:59:47.401956'},'ildutov','2306','','','','s','from-internal','SIP/2306-0000009c','','',3,'','1480395587.313','1480395587.312','','','')]
-- Called SIP/2306
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2016-11-29 07:59:47.404068'},'ildutov','2306','2306','','','2306','from-internal','SIP/2306-0000009c','AppDial','(Outgoing Line)',3,'','1480395587.313','1480395587.312','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2016-11-29 07:59:47.404654'},'ildutov','2306','2306','','','2306','from-internal','SIP/2306-0000009c','AppDial','(Outgoing Line)',3,'','1480395587.313','1480395587.312','','','')]
== Spawn extension (macro-dial-one, s, 44) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'exten-vm'
== Spawn extension (ext-local, 2306, 2) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95'
-- Executing [h@ext-local:1] Macro("DAHDI/i1/XXXXXXXXXX-95", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CDR(recordingfile)=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav)") in new stack
-- Executing [s@macro-hangupcall:2] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?theend") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] Hangup("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95'
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2016-11-29 07:59:47.407922'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
-- Hungup 'DAHDI/i1/XXXXXXXXXX-95'
== MixMonitor close filestream (mixed)
> [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid,did,recordingfile,cnum,cnam) VALUES ({ ts '2016-11-29 07:59:47' },'"XXXXXXXXXX" <XXXXXXXXXX>','XXXXXXXXXX','2306','ext-local','DAHDI/i1/XXXXXXXXXX-95','SIP/2306-0000009c','Dial','SIP/2306,,Ttr',0,0,'NO ANSWER',3,'1480395587.312','90706','external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav','XXXXXXXXXX','XXXXXXXXXX')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2016-11-29 07:59:47.410349'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2016-11-29 07:59:47.410911'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
== End MixMonitor Recording DAHDI/i1/XXXXXXXXXX-95
[2016-11-29 08:00:05] NOTICE[1806]: chan_sip.c:28016 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 6996
[2016-11-29 08:00:27] NOTICE[1806]: chan_sip.c:23707 handle_response_peerpoke: Peer '6907' is now Lagged. (2039ms / 2000ms)
Похоже дело в ошибке 97 (MESSAGETYPENONEXIST message type non-existent or not implemented). Не понятно только почему она происходит.
3 | теги изменены редактировать |
Иногда наблюдается подряд, иногда пропадает. Звонок из города через АТС DX-500 по потоку E1 через TDMoE шлюз в сервер FreePBX 12.0.74. Вызывающий слышит короткие гудки. На SIP-телефоне происходит один звонок и связь разрывается.
-- Executing [90706@from-pstn:1] Set("DAHDI/i1/XXXXXXXXXX-95", "__FROM_DID=90706") in new stack
-- Executing [90706@from-pstn:2] Gosub("DAHDI/i1/XXXXXXXXXX-95", "sub-record-check,s,1(in,90706,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("DAHDI/i1/XXXXXXXXXX-95", "NOW=1480395587") in new stack
-- Executing [s@sub-record-check:4] Set("DAHDI/i1/XXXXXXXXXX-95", "__DAY=29") in new stack
-- Executing [s@sub-record-check:5] Set("DAHDI/i1/XXXXXXXXXX-95", "__MONTH=11") in new stack
-- Executing [s@sub-record-check:6] Set("DAHDI/i1/XXXXXXXXXX-95", "__YEAR=2016") in new stack
-- Executing [s@sub-record-check:7] Set("DAHDI/i1/XXXXXXXXXX-95", "__TIMESTR=20161129-075947") in new stack
-- Executing [s@sub-record-check:8] Set("DAHDI/i1/XXXXXXXXXX-95", "__FROMEXTEN=unknown") in new stack
-- Executing [s@sub-record-check:9] Set("DAHDI/i1/XXXXXXXXXX-95", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("DAHDI/i1/XXXXXXXXXX-95", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "2?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?sub-record-check,in,1") in new stack
-- Goto (sub-record-check,in,1)
-- Executing [in@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Inbound Recording Check to 90706") in new stack
-- Executing [in@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "FROMEXTEN=unknown") in new stack
-- Executing [in@sub-record-check:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "10?Set(FROMEXTEN=XXXXXXXXXX)") in new stack
-- Executing [in@sub-record-check:4] Gosub("DAHDI/i1/XXXXXXXXXX-95", "recordcheck,1(dontcare,in,90706)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/XXXXXXXXXX-95", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [in@sub-record-check:5] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [90706@from-pstn:3] Gosub("DAHDI/i1/XXXXXXXXXX-95", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [90706@from-pstn:4] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(did)=90706") in new stack
-- Executing [90706@from-pstn:5] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1 ?Set(CALLERID(name)=XXXXXXXXXX)") in new stack
-- Executing [90706@from-pstn:6] Set("DAHDI/i1/XXXXXXXXXX-95", "CHANNEL(musicclass)=default") in new stack
-- Executing [90706@from-pstn:7] Set("DAHDI/i1/XXXXXXXXXX-95", "__MOHCLASS=default") in new stack
-- Executing [90706@from-pstn:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?macro-hangupcall") in new stack
-- Executing [90706@from-pstn:9] Set("DAHDI/i1/XXXXXXXXXX-95", "__CALLINGPRES_SV=allowed") in new stack
-- Executing [90706@from-pstn:10] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [90706@from-pstn:11] Goto("DAHDI/i1/XXXXXXXXXX-95", "from-did-direct,2306,1") in new stack
-- Goto (from-did-direct,2306,1)
-- Executing [2306@from-did-direct:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?ext-local,2306,1") in new stack
-- Goto (ext-local,2306,1)
-- Executing [2306@ext-local:1] Set("DAHDI/i1/XXXXXXXXXX-95", "__RINGTIMER=15") in new stack
-- Executing [2306@ext-local:2] Macro("DAHDI/i1/XXXXXXXXXX-95", "exten-vm,novm,2306,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("DAHDI/i1/XXXXXXXXXX-95", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLERID(all)=2323)") in new stack
-- Executing [s@macro-user-callerid:2] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSER=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(REALCALLERIDNUM=XXXXXXXXXX)") in new stack
-- Executing [s@macro-user-callerid:5] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("DAHDI/i1/XXXXXXXXXX-95", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?report") in new stack
-- Goto (macro-user-callerid,s,16)
-- Executing [s@macro-user-callerid:16] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?continue") in new stack
-- Executing [s@macro-user-callerid:17] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [s@macro-user-callerid:18] Set("DAHDI/i1/XXXXXXXXXX-95", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?continue") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERID(number)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:31] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLERID(name)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:32] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(cnum)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:33] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(cnam)=XXXXXXXXXX") in new stack
-- Executing [s@macro-user-callerid:34] Set("DAHDI/i1/XXXXXXXXXX-95", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("DAHDI/i1/XXXXXXXXXX-95", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("DAHDI/i1/XXXXXXXXXX-95", "__EXTTOCALL=2306") in new stack
-- Executing [s@macro-exten-vm:4] Set("DAHDI/i1/XXXXXXXXXX-95", "__PICKUPMARK=2306") in new stack
-- Executing [s@macro-exten-vm:5] Set("DAHDI/i1/XXXXXXXXXX-95", "RT=") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:6] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Macro(vm,novm,DIRECTDIAL,)") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:7] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?MacroExit()") in new stack
[2016-11-29 07:59:47] WARNING[29777][C-0000009c]: chan_sip.c:22099 func_header_read: This function can only be used on SIP channels.
-- Executing [s@macro-exten-vm:8] Gosub("DAHDI/i1/XXXXXXXXXX-95", "sub-record-check,s,1(exten,2306,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "10?initialized") in new stack
-- Goto (sub-record-check,s,10)
-- Executing [s@sub-record-check:10] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("DAHDI/i1/XXXXXXXXXX-95", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Exten Recording Check between XXXXXXXXXX and 2306") in new stack
-- Executing [exten@sub-record-check:2] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLTYPE=external") in new stack
-- Executing [exten@sub-record-check:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLTYPE=)") in new stack
-- Executing [exten@sub-record-check:4] Set("DAHDI/i1/XXXXXXXXXX-95", "CALLEE=yes") in new stack
-- Executing [exten@sub-record-check:5] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [exten@sub-record-check:6] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?callee") in new stack
-- Goto (sub-record-check,exten,11)
-- Executing [exten@sub-record-check:11] Gosub("DAHDI/i1/XXXXXXXXXX-95", "recordcheck,1(yes,external,2306)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording check against yes") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/XXXXXXXXXX-95", "yes") in new stack
-- Goto (sub-record-check,recordcheck,9)
-- Executing [recordcheck@sub-record-check:9] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [recordcheck@sub-record-check:10] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_POLICY_MODE=YES") in new stack
-- Executing [recordcheck@sub-record-check:11] Goto("DAHDI/i1/XXXXXXXXXX-95", "startrec") in new stack
-- Goto (sub-record-check,recordcheck,16)
-- Executing [recordcheck@sub-record-check:16] NoOp("DAHDI/i1/XXXXXXXXXX-95", "Starting recording: external, 2306") in new stack
-- Executing [recordcheck@sub-record-check:17] Set("DAHDI/i1/XXXXXXXXXX-95", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
-- Executing [recordcheck@sub-record-check:18] Set("DAHDI/i1/XXXXXXXXXX-95", "__CALLFILENAME=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312") in new stack
-- Executing [recordcheck@sub-record-check:19] MixMonitor("DAHDI/i1/XXXXXXXXXX-95", "2016/11/29/external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav,ai(LOCAL_MIXMON_ID),") in new stack
-- Executing [recordcheck@sub-record-check:20] Set("DAHDI/i1/XXXXXXXXXX-95", "__MIXMON_ID=0x7f7c400416b0") in new stack
-- Executing [recordcheck@sub-record-check:21] Set("DAHDI/i1/XXXXXXXXXX-95", "__RECORD_ID=DAHDI/i1/XXXXXXXXXX-95") in new stack
-- Executing [recordcheck@sub-record-check:22] Set("DAHDI/i1/XXXXXXXXXX-95", "__REC_STATUS=RECORDING") in new stack
-- Executing [recordcheck@sub-record-check:23] Set("DAHDI/i1/XXXXXXXXXX-95", "CDR(recordingfile)=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav") in new stack
-- Executing [recordcheck@sub-record-check:24] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [exten@sub-record-check:12] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-exten-vm:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,15)
-- Executing [s@macro-exten-vm:15] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:16] Macro("DAHDI/i1/XXXXXXXXXX-95", "dial-one,,Ttr,2306") in new stack
-- Executing [s@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DEXTEN=2306") in new stack
-- Executing [s@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?skip1") in new stack
== Begin MixMonitor Recording DAHDI/i1/XXXXXXXXXX-95
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("DAHDI/i1/XXXXXXXXXX-95", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "DEVICES=2306") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(DEVICES=306)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("DAHDI/i1/XXXXXXXXXX-95", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("DAHDI/i1/XXXXXXXXXX-95", "THISDIAL=SIP/2306") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("DAHDI/i1/XXXXXXXXXX-95", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("DAHDI/i1/XXXXXXXXXX-95", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("DAHDI/i1/XXXXXXXXXX-95", "THISPART2=SIP/2306") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(THISPART2=DAHDI/2306)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("DAHDI/i1/XXXXXXXXXX-95", "NEWDIAL=SIP/2306&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("DAHDI/i1/XXXXXXXXXX-95", "THISDIAL=SIP/2306") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [dstring@macro-dial-one:9] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?doset") in new stack
-- Goto (macro-dial-one,dstring,13)
-- Executing [dstring@macro-dial-one:13] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=SIP/2306&") in new stack
-- Executing [dstring@macro-dial-one:14] Set("DAHDI/i1/XXXXXXXXXX-95", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:15] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:16] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:17] Set("DAHDI/i1/XXXXXXXXXX-95", "DSTRING=SIP/2306") in new stack
-- Executing [dstring@macro-dial-one:18] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "1?ctset,1():ctclear,1()") in new stack
-- Executing [ctset@macro-dial-one:1] Set("DAHDI/i1/XXXXXXXXXX-95", "DB(CALLTRACE/2306)=XXXXXXXXXX") in new stack
-- Executing [ctset@macro-dial-one:2] Return("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:30] Set("DAHDI/i1/XXXXXXXXXX-95", "D_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "1?Set(CHANNEL(musicclass)=default)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("DAHDI/i1/XXXXXXXXXX-95", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("DAHDI/i1/XXXXXXXXXX-95", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("DAHDI/i1/XXXXXXXXXX-95", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?godial") in new stack
-- Goto (macro-dial-one,s,43)
-- Executing [s@macro-dial-one:43] Macro("DAHDI/i1/XXXXXXXXXX-95", "dialout-one-predial-hook,") in new stack
-- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
-- Executing [s@macro-dial-one:44] Dial("DAHDI/i1/XXXXXXXXXX-95", "SIP/2306,,Ttr") in new stack
-- Span 1: Channel 0/7 got hangup, cause 97
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2016-11-29 07:59:47.401956'},'ildutov','2306','','','','s','from-internal','SIP/2306-0000009c','','',3,'','1480395587.313','1480395587.312','','','')]
-- Called SIP/2306
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2016-11-29 07:59:47.404068'},'ildutov','2306','2306','','','2306','from-internal','SIP/2306-0000009c','AppDial','(Outgoing Line)',3,'','1480395587.313','1480395587.312','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2016-11-29 07:59:47.404654'},'ildutov','2306','2306','','','2306','from-internal','SIP/2306-0000009c','AppDial','(Outgoing Line)',3,'','1480395587.313','1480395587.312','','','')]
== Spawn extension (macro-dial-one, s, 44) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'dial-one'
== Spawn extension (macro-exten-vm, s, 16) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'exten-vm'
== Spawn extension (ext-local, 2306, 2) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95'
-- Executing [h@ext-local:1] Macro("DAHDI/i1/XXXXXXXXXX-95", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] ExecIf("DAHDI/i1/XXXXXXXXXX-95", "0?Set(CDR(recordingfile)=external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav)") in new stack
-- Executing [s@macro-hangupcall:2] GotoIf("DAHDI/i1/XXXXXXXXXX-95", "1?theend") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] Hangup("DAHDI/i1/XXXXXXXXXX-95", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95' in macro 'hangupcall'
== Spawn extension (ext-local, h, 1) exited non-zero on 'DAHDI/i1/XXXXXXXXXX-95'
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2016-11-29 07:59:47.407922'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
-- Hungup 'DAHDI/i1/XXXXXXXXXX-95'
== MixMonitor close filestream (mixed)
> [INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,uniqueid,did,recordingfile,cnum,cnam) VALUES ({ ts '2016-11-29 07:59:47' },'"XXXXXXXXXX" <XXXXXXXXXX>','XXXXXXXXXX','2306','ext-local','DAHDI/i1/XXXXXXXXXX-95','SIP/2306-0000009c','Dial','SIP/2306,,Ttr',0,0,'NO ANSWER',3,'1480395587.312','90706','external-2306-XXXXXXXXXX-20161129-075947-1480395587.312.wav','XXXXXXXXXX','XXXXXXXXXX')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2016-11-29 07:59:47.410349'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2016-11-29 07:59:47.410911'},'XXXXXXXXXX','XXXXXXXXXX','XXXXXXXXXX','','90706','h','ext-local','DAHDI/i1/XXXXXXXXXX-95','','',3,'','1480395587.312','1480395587.312','','','')]
== End MixMonitor Recording DAHDI/i1/XXXXXXXXXX-95
[2016-11-29 08:00:05] NOTICE[1806]: chan_sip.c:28016 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 6996
[2016-11-29 08:00:27] NOTICE[1806]: chan_sip.c:23707 handle_response_peerpoke: Peer '6907' is now Lagged. (2039ms / 2000ms)
Похоже дело в ошибке 97 (MESSAGETYPENONEXIST message type non-existent or not implemented). Не понятно только почему она происходит.
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.