Hi all!
I am facing a problem with Follow-Me.
I am putting an external public mobile number to call there for a regular extension.
Then it seems like the outbound route used is not correct when I check the asterisk monitor.
Do I miss something?
When I change the caller ID in the advanced settings, to be same as the callee then it works. If I want the original caller ID (which I need in my case) this does not really work. Perhaps I need to tweak something on my trunk?
VitalPBX v4 (latest)
I add some part of the log. It ends with saying “wrong number” (the number is correct and can be called directly). Seems like it is using wrong route? Sorry for the rookie question, but this “Local” prefix makes me think of that… 1234… in the example is the mobile number and 011… the outgoing publiic gateway
-- Called PJSIP/1234567890#@00112233
-- Local/1234567890#@cos-all-00000015;1 is ringing
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [1234567890#@trk-13-dial:45] GotoIf("Local/1234567890#@cos-all-00000015;2", "0?:after-fax") in new stack
-- Goto (trk-13-dial,1234567890#,48)
-- Executing [1234567890#@trk-13-dial:48] NoOp("Local/1234567890#@cos-all-00000015;2", "End Fax Section") in new stack
-- Executing [1234567890#@trk-13-dial:49] NoOp("Local/1234567890#@cos-all-00000015;2", "After Dial") in new stack
-- Executing [1234567890#@trk-13-dial:50] GotoIf("Local/1234567890#@cos-all-00000015;2", "1?come-back") in new stack
-- Goto (trk-13-dial,1234567890#,52)
-- Executing [1234567890#@trk-13-dial:52] Return("Local/1234567890#@cos-all-00000015;2", "") in new stack
-- Executing [1234567890#@trk-13:3] GotoIf("Local/1234567890#@cos-all-00000015;2", "1?come-back") in new stack
-- Goto (trk-13,1234567890#,5)
-- Executing [1234567890#@trk-13:5] Return("Local/1234567890#@cos-all-00000015;2", "") in new stack
-- Executing [s-6@cos-all-post:4] NoOp("Local/1234567890#@cos-all-00000015;2", "Hangup Cause: 1, Dial Status: CHANUNAVAIL") in new stack
-- Executing [s-6@cos-all-post:5] NoOp("Local/1234567890#@cos-all-00000015;2", "End Trunks Dialing") in new stack
-- Executing [s-6@cos-all-post:6] Gosub("Local/1234567890#@cos-all-00000015;2", "sub-log-crm-call,s,1") in new stack
-- Executing [s@sub-log-crm-call:1] NoOp("Local/1234567890#@cos-all-00000015;2", "Logging Call on CRM") in new stack
-- Executing [s@sub-log-crm-call:2] GotoIf("Local/1234567890#@cos-all-00000015;2", "0?:end") in new stack
-- Goto (sub-log-crm-call,s,5)
-- Executing [s@sub-log-crm-call:5] Return("Local/1234567890#@cos-all-00000015;2", "") in new stack
-- Executing [s-6@cos-all-post:7] GotoIf("Local/1234567890#@cos-all-00000015;2", "0?end_call") in new stack
-- Executing [s-6@cos-all-post:8] GosubIf("Local/1234567890#@cos-all-00000015;2", "0?sub-outbound-queue-call,s,1") in new stack
-- Executing [s-6@cos-all-post:9] Gosub("Local/1234567890#@cos-all-00000015;2", "sub-hangup-cause,s,1(1)") in new stack
-- Executing [s@sub-hangup-cause:1] NoOp("Local/1234567890#@cos-all-00000015;2", "Executing Hangup Cause 1") in new stack
-- Executing [s@sub-hangup-cause:2] GotoIf("Local/1234567890#@cos-all-00000015;2", "0?hangup") in new stack
-- Executing [s@sub-hangup-cause:3] NoCDR("Local/1234567890#@cos-all-00000015;2", "") in new stack
-- Executing [s@sub-hangup-cause:4] Progress("Local/1234567890#@cos-all-00000015;2", "") in new stack
-- Local/1234567890#@cos-all-00000015;1 is making progress passing it to PJSIP/00112233-00000045
-- Executing [s@sub-hangup-cause:5] GotoIf("Local/1234567890#@cos-all-00000015;2", "1?wrong_number,1") in new stack
-- Goto (sub-hangup-cause,wrong_number,1)
-- Executing [wrong_number@sub-hangup-cause:1] NoOp("Local/1234567890#@cos-all-00000015;2", "Wrong Number") in new stack
-- Executing [wrong_number@sub-hangup-cause:2] Playback("Local/1234567890#@cos-all-00000015;2", "im-sorry&you-dialed-wrong-number&check-number-dial-again,noanswer") in new stack
-- <Local/1234567890#@cos-all-00000015;2> Playing 'im-sorry.ulaw' (language 'en')
-- <Local/1234567890#@cos-all-00000015;2> Playing 'you-dialed-wrong-number.ulaw' (language 'en')
-- <Local/1234567890#@cos-all-00000015;2> Playing 'check-number-dial-again.ulaw' (language 'en')