Inbound route to extension fail

– Executing [0123456789@from-pstn:1] Set (" SIP/future-0000000b ", " __FROM_DID= 0123456789 ") in new stack

– Executing [0123456789@from-pstn:2] Gosub (" SIP/future-0000000b ", " app-blacklist-check,s,1() ") in new stack

– Executing [s@app-blacklist-check:1] GotoIf (" SIP/future-0000000b ", " 0?blacklisted ") in new stack

– Executing [s@app-blacklist-check:2] Set (" SIP/future-0000000b ", " CALLED_BLACKLIST=1 ") in new stack

– Executing [s@app-blacklist-check:3] Return (" SIP/future-0000000b ", “”) in new stack

– Executing [0123456789@from-pstn:3] Set (" SIP/future-0000000b ", " CDR(did)= 0123456789 ") in new stack

– Executing [0123456789@from-pstn:4] ExecIf (" SIP/future-0000000b ", " 1 ?Set(CALLERID(name)=+60164319019) ") in new stack

– Executing [0123456789@from-pstn:5] Set (" SIP/future-0000000b ", " CHANNEL(musicclass)=default ") in new stack

– Executing [0123456789@from-pstn:6] Set (" SIP/future-0000000b ", " __MOHCLASS=default ") in new stack

– Executing [0123456789@from-pstn:7] Set (" SIP/future-0000000b ", " __CALLINGPRES_SV=allowed_not_screened ") in new stack

– Executing [0123456789@from-pstn:8] Set (" SIP/future-0000000b ", " CALLERPRES()=allowed_not_screened ") in new stack

– Executing [0123456789@from-pstn:9] Goto (" SIP/future-0000000b ", " from-did-direct,8888,1 ") in new stack

– Goto (from-did-direct,8888,1)

– Executing [8888@from-did-direct:1] Set (" SIP/future-0000000b ", " __RINGTIMER=15 ") in new stack

– Executing [8888@from-did-direct:2] Macro (" SIP/future-0000000b ", " exten-vm,novm,8888,0,0,0 ") in new stack

– Executing [s@macro-exten-vm:1] Macro (" SIP/future-0000000b ", " user-callerid, ") in new stack

– Executing [s@macro-user-callerid:1] Set (" SIP/future-0000000b ", " TOUCH_MONITOR=1576321224.11 ") in new stack

– Executing [s@macro-user-callerid:2] Set (" SIP/future-0000000b ", " AMPUSER=+60164319019 ") in new stack

– Executing [s@macro-user-callerid:3] GotoIf (" SIP/future-0000000b ", " 0?report ") in new stack

– Executing [s@macro-user-callerid:4] ExecIf (" SIP/future-0000000b ", " 1?Set(REALCALLERIDNUM=+60164319019) ") in new stack

– Executing [s@macro-user-callerid:5] Set (" SIP/future-0000000b ", " AMPUSER= ") in new stack

– Executing [s@macro-user-callerid:6] GotoIf (" SIP/future-0000000b ", " 0?limit ") in new stack

– Executing [s@macro-user-callerid:7] Set (" SIP/future-0000000b ", " AMPUSERCIDNAME= ") in new stack

– Executing [s@macro-user-callerid:8] GotoIf (" SIP/future-0000000b ", " 1?report ") in new stack

– Goto (macro-user-callerid,s,15)

– Executing [s@macro-user-callerid:15] GotoIf (" SIP/future-0000000b ", " 0?continue ") in new stack

– Executing [s@macro-user-callerid:16] Set (" SIP/future-0000000b ", " __TTL=64 ") in new stack

– Executing [s@macro-user-callerid:17] GotoIf (" SIP/future-0000000b ", " 1?continue ") in new stack

– Goto (macro-user-callerid,s,28)

– Executing [s@macro-user-callerid:28] Set (" SIP/future-0000000b ", " CALLERID(number)=+60164319019 ") in new stack

– Executing [s@macro-user-callerid:29] Set (" SIP/future-0000000b ", " CALLERID(name)=+60164319019 ") in new stack

– Executing [s@macro-user-callerid:30] Set (" SIP/future-0000000b ", " CDR(cnum)=+60164319019 ") in new stack

– Executing [s@macro-user-callerid:31] Set (" SIP/future-0000000b ", " CDR(cnam)=+60164319019 ") in new stack

– Executing [s@macro-user-callerid:32] Set (" SIP/future-0000000b ", " CHANNEL(language)=en ") in new stack

– Executing [s@macro-exten-vm:2] Set (" SIP/future-0000000b ", " RingGroupMethod=none ") in new stack

– Executing [s@macro-exten-vm:3] Set (" SIP/future-0000000b ", " __EXTTOCALL=8888 ") in new stack

– Executing [s@macro-exten-vm:4] Set (" SIP/future-0000000b ", " __PICKUPMARK=8888 ") in new stack

– Executing [s@macro-exten-vm:5] Set (" SIP/future-0000000b ", " RT= ") in new stack

– Executing [s@macro-exten-vm:6] Gosub (" SIP/future-0000000b ", " sub-record-check,s,1(exten,8888,) ") in new stack

– Executing [s@sub-record-check:1] Set (" SIP/future-0000000b ", " REC_POLICY_MODE_SAVE= ") in new stack

– Executing [s@sub-record-check:2] GotoIf (" SIP/future-0000000b ", " 1?check ") in new stack

– Goto (sub-record-check,s,7)

– Executing [s@sub-record-check:7] Set (" SIP/future-0000000b ", " __MON_FMT=wav ") in new stack

– Executing [s@sub-record-check:8] GotoIf (" SIP/future-0000000b ", " 1?next ") in new stack

– Goto (sub-record-check,s,11)

– Executing [s@sub-record-check:11] ExecIf (" SIP/future-0000000b ", " 0?Return() ") in new stack

– Executing [s@sub-record-check:12] ExecIf (" SIP/future-0000000b ", " 0?Set(__REC_POLICY_MODE=) ") in new stack

– Executing [s@sub-record-check:13] GotoIf (" SIP/future-0000000b ", " 0?exten,1 ") in new stack

– Executing [s@sub-record-check:14] Set (" SIP/future-0000000b ", " __REC_STATUS=INITIALIZED ") in new stack

– Executing [s@sub-record-check:15] Set (" SIP/future-0000000b ", " NOW=1576321224 ") in new stack

– Executing [s@sub-record-check:16] Set (" SIP/future-0000000b ", " __DAY=14 ") in new stack

– Executing [s@sub-record-check:17] Set (" SIP/future-0000000b ", " __MONTH=12 ") in new stack

– Executing [s@sub-record-check:18] Set (" SIP/future-0000000b ", " __YEAR=2019 ") in new stack

– Executing [s@sub-record-check:19] Set (" SIP/future-0000000b ", " __TIMESTR=20191214-190024 ") in new stack

– Executing [s@sub-record-check:20] Set (" SIP/future-0000000b ", " __FROMEXTEN=+60164319019 ") in new stack

– Executing [s@sub-record-check:21] Set (" SIP/future-0000000b ", " __CALLFILENAME=exten-8888-+60164319019-20191214-190024-1576321224.11 ") in new stack

– Executing [s@sub-record-check:22] Goto (" SIP/future-0000000b ", " exten,1 ") in new stack

– Goto (sub-record-check,exten,1)

– Executing [exten@sub-record-check:1] GotoIf (" SIP/future-0000000b ", " 0?callee ") in new stack

– Executing [exten@sub-record-check:2] Set (" SIP/future-0000000b ", " __REC_POLICY_MODE=always ") in new stack

– Executing [exten@sub-record-check:3] GotoIf (" SIP/future-0000000b ", " 0?caller ") in new stack

– Executing [exten@sub-record-check:4] GotoIf (" SIP/future-0000000b ", " 1?callee ") in new stack

– Goto (sub-record-check,exten,8)

– Executing [exten@sub-record-check:8] GosubIf (" SIP/future-0000000b ", " 1?record,1(exten,8888,+60164219012) ") in new stack

– Executing [record@sub-record-check:1] Set (" SIP/future-0000000b ", " AUDIOHOOK_INHERIT(MixMonitor)=yes ") in new stack

– Executing [record@sub-record-check:2] MixMonitor (" SIP/future-0000000b ", " 2019/12/14/exten-8888-+60164319019-20191214-190024-1576321224.11.wav, ") in new stack

== Begin MixMonitor Recording SIP/future-0000000b

– Executing [record@sub-record-check:3] Set (" SIP/future-0000000b ", " __REC_STATUS=RECORDING ") in new stack

– Executing [record@sub-record-check:4] Set (" SIP/future-0000000b ", " CDR(recordingfile)=exten-8888-+60164319019-20191214-190024-1576321224.11.wav ") in new stack

– Executing [record@sub-record-check:5] Return (" SIP/future-0000000b ", “”) in new stack

– Executing [exten@sub-record-check:9] Return (" SIP/future-0000000b ", “”) in new stack

– Executing [s@macro-exten-vm:7] Macro (" SIP/future-0000000b ", " dial-one,8888 ") in new stack

– Executing [s@macro-dial-one:1] Set (" SIP/future-0000000b ", " DEXTEN=8888 ") in new stack

– Executing [s@macro-dial-one:2] Set (" SIP/future-0000000b ", " DIALSTATUS_CW= ") in new stack

– Executing [s@macro-dial-one:3] GosubIf (" SIP/future-0000000b ", " 0?screen,1() ") in new stack

– Executing [s@macro-dial-one:4] GosubIf (" SIP/future-0000000b ", " 0?cf,1() ") in new stack

– Executing [s@macro-dial-one:5] GotoIf (" SIP/future-0000000b ", " 1?skip1 ") in new stack

– Goto (macro-dial-one,s,8)

– Executing [s@macro-dial-one:8] GotoIf (" SIP/future-0000000b ", " 0?nodial ") in new stack

– Executing [s@macro-dial-one:9] GotoIf (" SIP/future-0000000b ", " 0?continue ") in new stack

– Executing [s@macro-dial-one:10] Set (" SIP/future-0000000b ", " EXTHASCW=ENABLED ") in new stack

– Executing [s@macro-dial-one:11] GotoIf (" SIP/future-0000000b ", " 0?next1:cwinusebusy ") in new stack

– Goto (macro-dial-one,s,23)

– Executing [s@macro-dial-one:23] GotoIf (" SIP/future-0000000b ", " 1?next3:continue ") in new stack

– Goto (macro-dial-one,s,24)

– Executing [s@macro-dial-one:24] ExecIf (" SIP/future-0000000b ", " 0?Set(DIALSTATUS_CW=BUSY) ") in new stack

– Executing [h@from-did-direct:1] Macro (" SIP/future-0000000b ", " hangupcall, ") in new stack

– Executing [s@macro-hangupcall:1] GotoIf (" SIP/future-0000000b ", " 0?endmixmoncheck ") in new stack

– Executing [s@macro-hangupcall:2] Set (" SIP/future-0000000b ", " MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/exten-8888-+60164319019-20191214-190024-1576321224.11.wav ") in new stack

– Executing [s@macro-hangupcall:3] System (" SIP/future-0000000b ", " test -e /var/spool/asterisk/monitor/exten-8888-+ 60164319019-20191214-190024-1576321224.11.wav ") in new stack

– Executing [s@macro-hangupcall:4] NoOp (" SIP/future-0000000b ", " SYSTEMSTATUS = APPERROR ") in new stack

– Executing [s@macro-hangupcall:5] GotoIf (" SIP/future-0000000b ", " 0?finalcdr ") in new stack

– Executing [s@macro-hangupcall:6] Set (" SIP/future-0000000b ", " MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/2019/12/14/exten-8888-+60164219012-20191214-190024-1576321224.11.wav ") in new stack

– Executing [s@macro-hangupcall:7] System (" SIP/future-0000000b ", " test -e /var/spool/asterisk/monitor/2019/12/14/exten-8888-+ 60164319019-20191214-190024-1576321224.11.wav ") in new stack

– Executing [s@macro-hangupcall:8] NoOp (" SIP/future-0000000b ", " SYSTEMSTATUS = SUCCESS ") in new stack

– Executing [s@macro-hangupcall:9] GotoIf (" SIP/future-0000000b ", " 1?mmtestsuccess1 ") in new stack

– Goto (macro-hangupcall,s,11)

– Executing [s@macro-hangupcall:11] Set (" SIP/future-0000000b ", " CDR(recordingfile)=/var/spool/asterisk/monitor/2019/12/14/exten-8888-+ 60164319019-20191214-190024-1576321224.11.wav ") in new stack

– Executing [s@macro-hangupcall:12] Goto (" SIP/future-0000000b ", " finalcdr ") in new stack

– Goto (macro-hangupcall,s,63)

– Executing [s@macro-hangupcall:63] NoOp (" SIP/future-0000000b ", " CDR recordingfile set to: /var/spool/asterisk/monitor/2019/12/14/exten-8888-+60164319019-20191214-190024-1576321224.11.wav ") in new stack

– Executing [s@macro-hangupcall:64] GotoIf (" SIP/future-0000000b ", " 1?skiprg ") in new stack

– Goto (macro-hangupcall,s,67)

– Executing [s@macro-hangupcall:67] GotoIf (" SIP/future-0000000b ", " 1?skipblkvm ") in new stack

– Goto (macro-hangupcall,s,70)

– Executing [s@macro-hangupcall:70] GotoIf (" SIP/future-0000000b ", " 1?theend ") in new stack

– Goto (macro-hangupcall,s,72)

– Executing [s@macro-hangupcall:72] AGI (" SIP/future-0000000b ", " hangup.agi ") in new stack

– Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi

– <SIP/future-0000000b>AGI Script hangup.agi completed, returning 0

– Executing [s@macro-hangupcall:73] Hangup (" SIP/future-0000000b ", “”) in new stack

I’m facing the incoming call from 0123456789 to extension 8888. it keep said the number you have dial is not in service, please check the number and try again. from the console, I has been verify that the extension 8888 already register successful and manage to call from extension to extension. just this weird issue for incoming call will not pass it to extension 8888. Please help

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.