FreePBX | Register | Issues | Wiki | Portal | Support

Call go directly to the voicemail


(Znuf) #1

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


(Dave Burgess) #2

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


(system) closed #3

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