Call go directly to the voicemail

Hello everyone,

I’m new to FreePBX/Asterisk, so sorry if my question are stupid :sweat_smile:

My problem is that when i try to call an extension, i go directly to the voicemail. Like if the device was busy.

What i’m doing wrong ?

Thanks

Here my log when 6003 call 6005:

Setting global variable ‘SIPDOMAIN’ to ‘192.168.1.69’
== Setting global variable ‘SIPDOMAIN’ to ‘192.168.1.69’
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “__RINGTIMER=15”) in new stack
– Executing [[email protected]:2] Macro(“PJSIP/6003-00000005”, “exten-vm,6005,6005,0,0,0”) in new stack
– Executing [[email protected]:1] Macro(“PJSIP/6003-00000005”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “TOUCH_MONITOR=1559802371.5”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/6003-00000005”, “AMPUSER=6003”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/6003-00000005”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/6003-00000005”, “1?Set(REALCALLERIDNUM=6003)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/6003-00000005”, “AMPUSER=”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/6003-00000005”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/6003-00000005”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:8] ExecIf(“PJSIP/6003-00000005”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/6003-00000005”, “1?report”) in new stack
– Goto (macro-user-callerid,s,16)
– Executing [[email protected]:16] NoOp(“PJSIP/6003-00000005”, “Macro Depth is 2”) in new stack
– Executing [[email protected]:17] GotoIf(“PJSIP/6003-00000005”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,18)
– Executing [[email protected]:18] GotoIf(“PJSIP/6003-00000005”, “0?continue”) in new stack
– Executing [[email protected]:19] Set(“PJSIP/6003-00000005”, “__TTL=64”) in new stack
– Executing [[email protected]:20] GotoIf(“PJSIP/6003-00000005”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,36)
– Executing [[email protected]:36] Set(“PJSIP/6003-00000005”, “CALLERID(number)=6003”) in new stack
– Executing [[email protected]:37] Set(“PJSIP/6003-00000005”, “CALLERID(name)=Gerard”) in new stack
– Executing [[email protected]:38] GotoIf(“PJSIP/6003-00000005”, “0?cnum”) in new stack
– Executing [[email protected]:39] Set(“PJSIP/6003-00000005”, “CDR(cnam)=Gerard”) in new stack
– Executing [[email protected]:40] Set(“PJSIP/6003-00000005”, “CDR(cnum)=6003”) in new stack
– Executing [[email protected]:41] Set(“PJSIP/6003-00000005”, “CHANNEL(language)=fr”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/6003-00000005”, “RingGroupMethod=none”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/6003-00000005”, “__EXTTOCALL=6005”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/6003-00000005”, “__PICKUPMARK=6005”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/6003-00000005”, “RT=15”) in new stack
– Executing [[email protected]:6] Gosub(“PJSIP/6003-00000005”, “sub-record-check,s,1(exten,6005,dontcare)”) in new s tack
– Executing [[email protected]:1] GotoIf(“PJSIP/6003-00000005”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/6003-00000005”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/6003-00000005”, “NOW=1559802371”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/6003-00000005”, “__DAY=06”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/6003-00000005”, “__MONTH=06”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/6003-00000005”, “__YEAR=2019”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/6003-00000005”, “__TIMESTR=20190606-082611”) in new stack
– Executing [[email protected]:8] Set(“PJSIP/6003-00000005”, “__FROMEXTEN=6003”) in new stack
– Executing [[email protected]:9] Set(“PJSIP/6003-00000005”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“PJSIP/6003-00000005”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“PJSIP/6003-00000005”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/6003-00000005”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/6003-00000005”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/6003-00000005”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/6003-00000005”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [[email protected]:1] NoOp(“PJSIP/6003-00000005”, “Exten Recording Check between 6003 and 6005”) i n new stack
– Executing [[email protected]:2] Set(“PJSIP/6003-00000005”, “CALLTYPE=internal”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/6003-00000005”, “0?Set(CALLTYPE=)”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/6003-00000005”, “CALLEE=dontcare”) in new stack
– Executing [[email protected]:5] ExecIf(“PJSIP/6003-00000005”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/6003-00000005”, “0?callee”) in new stack
– Executing [[email protected]:7] GotoIf(“PJSIP/6003-00000005”, “1?caller”) in new stack
– Goto (sub-record-check,exten,13)
– Executing [[email protected]:13] Set(“PJSIP/6003-00000005”, “RECMODE=”) in new stack
– Executing [[email protected]:14] ExecIf(“PJSIP/6003-00000005”, “1?Set(RECMODE=dontcare)”) in new stack
– Executing [[email protected]:15] ExecIf(“PJSIP/6003-00000005”, “1?Set(RECMODE=dontcare)”) in new stack
– Executing [[email protected]:16] Gosub(“PJSIP/6003-00000005”, “recordcheck,1(dontcare,internal,6005)”) in ne w stack
– Executing [[email protected]:1] NoOp(“PJSIP/6003-00000005”, "Starting recording check against dontcare ") in new stack
– Executing [[email protected]:2] Goto(“PJSIP/6003-00000005”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“PJSIP/6003-00000005”, “”) in new stack
– Executing [[email protected]:17] Return(“PJSIP/6003-00000005”, “”) in new stack
– Executing [[email protected]:7] GotoIf(“PJSIP/6003-00000005”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,13)
– Executing [[email protected]:13] GosubIf(“PJSIP/6003-00000005”, “0?clrheader,1()”) in new stack
– Executing [[email protected]:14] Macro(“PJSIP/6003-00000005”, “dial-one,15,HhTtr,6005”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “DEXTEN=6005”) in new stack
– Executing [[email protected]:2] ExecIf(“PJSIP/6003-00000005”, “0?Set(__EXTTOCALL=6005)”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/6003-00000005”, “DIALSTATUS_CW=”) in new stack
– Executing [[email protected]:4] GosubIf(“PJSIP/6003-00000005”, “0?screen,1()”) in new stack
– Executing [[email protected]:5] GosubIf(“PJSIP/6003-00000005”, “0?cf,1()”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/6003-00000005”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,9)
– Executing [[email protected]:9] GotoIf(“PJSIP/6003-00000005”, “0?nodial”) in new stack
– Executing [[email protected]:10] GotoIf(“PJSIP/6003-00000005”, “0?continue”) in new stack
– Executing [[email protected]:11] Set(“PJSIP/6003-00000005”, “EXTHASCW=”) in new stack
– Executing [[email protected]:12] GotoIf(“PJSIP/6003-00000005”, “1?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,13)
– Executing [[email protected]:13] GotoIf(“PJSIP/6003-00000005”, “0?docfu:skip3”) in new stack
– Goto (macro-dial-one,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/6003-00000005”, “1?next2:continue”) in new stack
– Goto (macro-dial-one,s,18)
– Executing [[email protected]:18] GotoIf(“PJSIP/6003-00000005”, “1?continue”) in new stack
– Goto (macro-dial-one,s,26)
– Executing [[email protected]:26] GotoIf(“PJSIP/6003-00000005”, “0?nodial”) in new stack
– Executing [[email protected]:27] GosubIf(“PJSIP/6003-00000005”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “DSTRING=”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/6003-00000005”, “DEVICES=6005”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/6003-00000005”, “0?Return()”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/6003-00000005”, “0?Set(DEVICES=005)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/6003-00000005”, “LOOPCNT=1”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/6003-00000005”, “ITER=1”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/6003-00000005”, “THISDIAL=PJSIP/6005”) in new stack
– Executing [[email protected]:8] GotoIf(“PJSIP/6003-00000005”, “0?docheck”) in new stack
– Executing [[email protected]:9] NoOp(“PJSIP/6003-00000005”, “Debug: Found PJSIP Destination PJSIP/6005”) in new stack
– Executing [[email protected]:10] GotoIf(“PJSIP/6003-00000005”, “0?doset”) in new stack
– Executing [[email protected]:11] NoOp(“PJSIP/6003-00000005”, “Debug: Updating PJSIP Destination with PJSIP_D IAL_CONTACTS”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/6003-00000005”, “THISDIAL=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/6003-00000005”, “1?Set(DIALSTATUS=CHANUNAVAIL)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/6003-00000005”, “1?skipset”) in new stack
– Goto (macro-dial-one,dstring,16)
– Executing [[email protected]:16] Set(“PJSIP/6003-00000005”, “ITER=2”) in new stack
– Executing [[email protected]:17] GotoIf(“PJSIP/6003-00000005”, “0?begin”) in new stack
– Executing [[email protected]:18] ExecIf(“PJSIP/6003-00000005”, “1?Return()”) in new stack
– Executing [[email protected]:28] GotoIf(“PJSIP/6003-00000005”, “1?nodial”) in new stack
– Goto (macro-dial-one,s,60)
– Executing [[email protected]:60] NoOp(“PJSIP/6003-00000005”, “”) in new stack
– Executing [[email protected]:61] ExecIf(“PJSIP/6003-00000005”, “0?Set(DIALSTATUS=NOANSWER)”) in new stack
– Executing [[email protected]:62] NoOp(“PJSIP/6003-00000005”, “Returned from dial-one with nothing to call and DIAL STATUS: CHANUNAVAIL”) in new stack
– Executing [[email protected]:63] MacroExit(“PJSIP/6003-00000005”, “”) in new stack
– Executing [[email protected]:15] Set(“PJSIP/6003-00000005”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [[email protected]:16] GosubIf(“PJSIP/6003-00000005”, “0?docfu,1()”) in new stack
– Executing [[email protected]:17] GosubIf(“PJSIP/6003-00000005”, “0?docfb,1()”) in new stack
– Executing [[email protected]:18] Set(“PJSIP/6003-00000005”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [[email protected]:19] ExecIf(“PJSIP/6003-00000005”, “0?MacroExit()”) in new stack
– Executing [[email protected]:20] GotoIf(“PJSIP/6003-00000005”, “0?s-CHANUNAVAIL,1”) in new stack
– Executing [[email protected]:21] Macro(“PJSIP/6003-00000005”, “vm,6005,CHANUNAVAIL,”) in new stack
– Executing [[email protected]:1] Macro(“PJSIP/6003-00000005”, “user-callerid,SKIPTTL”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “TOUCH_MONITOR=1559802371.5”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/6003-00000005”, “AMPUSER=6003”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/6003-00000005”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/6003-00000005”, “0?Set(REALCALLERIDNUM=6003)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/6003-00000005”, “AMPUSER=”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/6003-00000005”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/6003-00000005”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:8] ExecIf(“PJSIP/6003-00000005”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/6003-00000005”, “1?report”) in new stack
– Goto (macro-user-callerid,s,16)
– Executing [[email protected]:16] NoOp(“PJSIP/6003-00000005”, “Macro Depth is 3”) in new stack
– Executing [[email protected]:17] GotoIf(“PJSIP/6003-00000005”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,18)
– Executing [[email protected]:18] GotoIf(“PJSIP/6003-00000005”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,36)
– Executing [[email protected]:36] Set(“PJSIP/6003-00000005”, “CALLERID(number)=6003”) in new stack
– Executing [[email protected]:37] Set(“PJSIP/6003-00000005”, “CALLERID(name)=Gerard”) in new stack
– Executing [[email protected]:38] GotoIf(“PJSIP/6003-00000005”, “0?cnum”) in new stack
– Executing [[email protected]:39] Set(“PJSIP/6003-00000005”, “CDR(cnam)=Gerard”) in new stack
– Executing [[email protected]:40] Set(“PJSIP/6003-00000005”, “CDR(cnum)=6003”) in new stack
– Executing [[email protected]:41] Set(“PJSIP/6003-00000005”, “CHANNEL(language)=fr”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/6003-00000005”, “VMGAIN=”) in new stack
– Executing [[email protected]:3] Macro(“PJSIP/6003-00000005”, “blkvm-check,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “GOSUB_RETVAL=”) in new stack
– Executing [[email protected]:2] ExecIf(“PJSIP/6003-00000005”, “0?Set(GOSUB_RETVAL=TRUE)”) in new stack
– Executing [[email protected]:3] MacroExit(“PJSIP/6003-00000005”, “”) in new stack
– Executing [[email protected]:4] GotoIf(“PJSIP/6003-00000005”, “1?vmx,1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “MEXTEN=6005”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/6003-00000005”, “MMODE=CHANUNAVAIL”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/6003-00000005”, “RETVM=”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/6003-00000005”, “MODE=unavail”) in new stack
– Executing [[email protected]:5] Macro(“PJSIP/6003-00000005”, “get-vmcontext,6005”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “VMCONTEXT=default”) in new stack
– Executing [[email protected]:2] GotoIf(“PJSIP/6003-00000005”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [[email protected]:300] NoOp(“PJSIP/6003-00000005”, “”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/6003-00000005”, “MODE=unavail”) in new stack
– Executing [[email protected]:7] NoOp(“PJSIP/6003-00000005”, “MODE IS: unavail”) in new stack
– Executing [[email protected]:8] GotoIf(“PJSIP/6003-00000005”, “1?chknomsg”) in new stack
– Goto (macro-vm,vmx,10)
– Executing [[email protected]:10] GotoIf(“PJSIP/6003-00000005”, “0?s-CHANUNAVAIL,1”) in new stack
– Executing [[email protected]:11] GotoIf(“PJSIP/6003-00000005”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,13)
– Executing [[email protected]:13] NoOp(“PJSIP/6003-00000005”, "Checking if ext 6005 is enabled: ") in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/6003-00000005”, “1?s-CHANUNAVAIL,1”) in new stack
– Goto (macro-vm,s-CHANUNAVAIL,1)
– Executing [[email protected]:1] Macro(“PJSIP/6003-00000005”, “get-vmcontext,6005”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/6003-00000005”, “VMCONTEXT=default”) in new stack
– Executing [[email protected]:2] GotoIf(“PJSIP/6003-00000005”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [[email protected]:300] NoOp(“PJSIP/6003-00000005”, “”) in new stack
– Executing [[email protected]:2] VoiceMail(“PJSIP/6003-00000005”, “[email protected],u”) in new stack
> 0x7f05a4047dd0 – Strict RTP learning after remote address set to: 192.168.1.73:7076
> 0x7f05a4047dd0 – Strict RTP switching to RTP target address 192.168.1.73:7076 as source
– <PJSIP/6003-00000005> Playing ‘vm-theperson.ulaw’ (language ‘fr’)
– <PJSIP/6003-00000005> Playing ‘digits/6.ulaw’ (language ‘fr’)
– <PJSIP/6003-00000005> Playing ‘digits/0.ulaw’ (language ‘fr’)
– <PJSIP/6003-00000005> Playing ‘digits/0.ulaw’ (language ‘fr’)
– <PJSIP/6003-00000005> Playing ‘digits/5.ulaw’ (language ‘fr’)
– <PJSIP/6003-00000005> Playing ‘vm-isunavail.ulaw’ (language ‘fr’)

Here’s the point at which the call has failed. According to this, extension didn’t answer.

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