Inbound route to extension fail

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

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

– Executing [[email protected]:1] GotoIf (" SIP/future-0000000b ", " 0?blacklisted ") in new stack

– Executing [[email protected]:2] Set (" SIP/future-0000000b ", " CALLED_BLACKLIST=1 ") in new stack

– Executing [[email protected]:3] Return (" SIP/future-0000000b ", “”) in new stack

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

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

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

– Executing [[email protected]:6] Set (" SIP/future-0000000b ", " __MOHCLASS=default ") in new stack

– Executing [[email protected]:7] Set (" SIP/future-0000000b ", " __CALLINGPRES_SV=allowed_not_screened ") in new stack

– Executing [[email protected]:8] Set (" SIP/future-0000000b ", " CALLERPRES()=allowed_not_screened ") in new stack

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

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

– Executing [[email protected]:1] Set (" SIP/future-0000000b ", " __RINGTIMER=15 ") in new stack

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

– Executing [[email protected]:1] Macro (" SIP/future-0000000b ", " user-callerid, ") in new stack

– Executing [[email protected]:1] Set (" SIP/future-0000000b ", " TOUCH_MONITOR=1576321224.11 ") in new stack

– Executing [[email protected]:2] Set (" SIP/future-0000000b ", " AMPUSER=+60164319019 ") in new stack

– Executing [[email protected]:3] GotoIf (" SIP/future-0000000b ", " 0?report ") in new stack

– Executing [[email protected]:4] ExecIf (" SIP/future-0000000b ", " 1?Set(REALCALLERIDNUM=+60164319019) ") in new stack

– Executing [[email protected]:5] Set (" SIP/future-0000000b ", " AMPUSER= ") in new stack

– Executing [[email protected]:6] GotoIf (" SIP/future-0000000b ", " 0?limit ") in new stack

– Executing [[email protected]:7] Set (" SIP/future-0000000b ", " AMPUSERCIDNAME= ") in new stack

– Executing [[email protected]:8] GotoIf (" SIP/future-0000000b ", " 1?report ") in new stack

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

– Executing [[email protected]:15] GotoIf (" SIP/future-0000000b ", " 0?continue ") in new stack

– Executing [[email protected]:16] Set (" SIP/future-0000000b ", " __TTL=64 ") in new stack

– Executing [[email protected]:17] GotoIf (" SIP/future-0000000b ", " 1?continue ") in new stack

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

– Executing [[email protected]:28] Set (" SIP/future-0000000b ", " CALLERID(number)=+60164319019 ") in new stack

– Executing [[email protected]:29] Set (" SIP/future-0000000b ", " CALLERID(name)=+60164319019 ") in new stack

– Executing [[email protected]:30] Set (" SIP/future-0000000b ", " CDR(cnum)=+60164319019 ") in new stack

– Executing [[email protected]:31] Set (" SIP/future-0000000b ", " CDR(cnam)=+60164319019 ") in new stack

– Executing [[email protected]:32] Set (" SIP/future-0000000b ", " CHANNEL(language)=en ") in new stack

– Executing [[email protected]:2] Set (" SIP/future-0000000b ", " RingGroupMethod=none ") in new stack

– Executing [[email protected]:3] Set (" SIP/future-0000000b ", " __EXTTOCALL=8888 ") in new stack

– Executing [[email protected]:4] Set (" SIP/future-0000000b ", " __PICKUPMARK=8888 ") in new stack

– Executing [[email protected]:5] Set (" SIP/future-0000000b ", " RT= ") in new stack

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

– Executing [[email protected]:1] Set (" SIP/future-0000000b ", " REC_POLICY_MODE_SAVE= ") in new stack

– Executing [[email protected]:2] GotoIf (" SIP/future-0000000b ", " 1?check ") in new stack

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

– Executing [[email protected]:7] Set (" SIP/future-0000000b ", " __MON_FMT=wav ") in new stack

– Executing [[email protected]:8] GotoIf (" SIP/future-0000000b ", " 1?next ") in new stack

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

– Executing [[email protected]:11] ExecIf (" SIP/future-0000000b ", " 0?Return() ") in new stack

– Executing [[email protected]:12] ExecIf (" SIP/future-0000000b ", " 0?Set(__REC_POLICY_MODE=) ") in new stack

– Executing [[email protected]:13] GotoIf (" SIP/future-0000000b ", " 0?exten,1 ") in new stack

– Executing [[email protected]:14] Set (" SIP/future-0000000b ", " __REC_STATUS=INITIALIZED ") in new stack

– Executing [[email protected]:15] Set (" SIP/future-0000000b ", " NOW=1576321224 ") in new stack

– Executing [[email protected]:16] Set (" SIP/future-0000000b ", " __DAY=14 ") in new stack

– Executing [[email protected]:17] Set (" SIP/future-0000000b ", " __MONTH=12 ") in new stack

– Executing [[email protected]:18] Set (" SIP/future-0000000b ", " __YEAR=2019 ") in new stack

– Executing [[email protected]:19] Set (" SIP/future-0000000b ", " __TIMESTR=20191214-190024 ") in new stack

– Executing [[email protected]:20] Set (" SIP/future-0000000b ", " __FROMEXTEN=+60164319019 ") in new stack

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

– Executing [[email protected]:22] Goto (" SIP/future-0000000b ", " exten,1 ") in new stack

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

– Executing [[email protected]:1] GotoIf (" SIP/future-0000000b ", " 0?callee ") in new stack

– Executing [[email protected]:2] Set (" SIP/future-0000000b ", " __REC_POLICY_MODE=always ") in new stack

– Executing [[email protected]:3] GotoIf (" SIP/future-0000000b ", " 0?caller ") in new stack

– Executing [[email protected]:4] GotoIf (" SIP/future-0000000b ", " 1?callee ") in new stack

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

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

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

– Executing [[email protected]: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 [[email protected]:3] Set (" SIP/future-0000000b ", " __REC_STATUS=RECORDING ") in new stack

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

– Executing [[email protected]:5] Return (" SIP/future-0000000b ", “”) in new stack

– Executing [[email protected]:9] Return (" SIP/future-0000000b ", “”) in new stack

– Executing [[email protected]:7] Macro (" SIP/future-0000000b ", " dial-one,8888 ") in new stack

– Executing [[email protected]:1] Set (" SIP/future-0000000b ", " DEXTEN=8888 ") in new stack

– Executing [[email protected]:2] Set (" SIP/future-0000000b ", " DIALSTATUS_CW= ") in new stack

– Executing [[email protected]:3] GosubIf (" SIP/future-0000000b ", " 0?screen,1() ") in new stack

– Executing [[email protected]:4] GosubIf (" SIP/future-0000000b ", " 0?cf,1() ") in new stack

– Executing [[email protected]:5] GotoIf (" SIP/future-0000000b ", " 1?skip1 ") in new stack

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

– Executing [[email protected]:8] GotoIf (" SIP/future-0000000b ", " 0?nodial ") in new stack

– Executing [[email protected]:9] GotoIf (" SIP/future-0000000b ", " 0?continue ") in new stack

– Executing [[email protected]:10] Set (" SIP/future-0000000b ", " EXTHASCW=ENABLED ") in new stack

– Executing [[email protected]:11] GotoIf (" SIP/future-0000000b ", " 0?next1:cwinusebusy ") in new stack

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

– Executing [[email protected]:23] GotoIf (" SIP/future-0000000b ", " 1?next3:continue ") in new stack

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

– Executing [[email protected]:24] ExecIf (" SIP/future-0000000b ", " 0?Set(DIALSTATUS_CW=BUSY) ") in new stack

– Executing [[email protected]:1] Macro (" SIP/future-0000000b ", " hangupcall, ") in new stack

– Executing [[email protected]:1] GotoIf (" SIP/future-0000000b ", " 0?endmixmoncheck ") in new stack

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

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

– Executing [[email protected]:4] NoOp (" SIP/future-0000000b ", " SYSTEMSTATUS = APPERROR ") in new stack

– Executing [[email protected]:5] GotoIf (" SIP/future-0000000b ", " 0?finalcdr ") in new stack

– Executing [[email protected]: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 [[email protected]: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 [[email protected]:8] NoOp (" SIP/future-0000000b ", " SYSTEMSTATUS = SUCCESS ") in new stack

– Executing [[email protected]:9] GotoIf (" SIP/future-0000000b ", " 1?mmtestsuccess1 ") in new stack

– Goto (macro-hangupcall,s,11)

– Executing [[email protected]: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 [[email protected]:12] Goto (" SIP/future-0000000b ", " finalcdr ") in new stack

– Goto (macro-hangupcall,s,63)

– Executing [[email protected]: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 [[email protected]:64] GotoIf (" SIP/future-0000000b ", " 1?skiprg ") in new stack

– Goto (macro-hangupcall,s,67)

– Executing [[email protected]:67] GotoIf (" SIP/future-0000000b ", " 1?skipblkvm ") in new stack

– Goto (macro-hangupcall,s,70)

– Executing [[email protected]:70] GotoIf (" SIP/future-0000000b ", " 1?theend ") in new stack

– Goto (macro-hangupcall,s,72)

– Executing [[email protected]: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 [[email protected]: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.