Follow me issues with IVR

Hi There,

I have a new FreePBX and I am just setting up some IVR. One IVR branch is designed to go to an extension, which then has follow me set up to my mobile (cell).

When I dial that extension internally, the follow me works and calls my mobile. but when the IVR goes to the extension, the call drops. Follow me is obviously working, and I can’t see anything in the IVR that would cause it not to work. do I have to enable a setting that permits forwarding of external calls to an external number?

Any assistance would be appreciated.

logs below:

2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:32] GotoIf("Local/xxxxxxxx#@from-internal-000000a3;2", "0?continue,1:s-CHANUNAVAIL,1") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:1] Set("Local/xxxxxxxx#@from-internal-000000a3;2", "RC=21") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:2] Goto("Local/xxxxxxxx#@from-internal-000000a3;2", "21,1") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx_builtins.c: Goto (macro-dialout-trunk,21,1)
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:1] Goto("Local/xxxxxxxx#@from-internal-000000a3;2", "continue,1") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx_builtins.c: Goto (macro-dialout-trunk,continue,1)
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:1] NoOp("Local/xxxxxxxx#@from-internal-000000a3;2", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:2] ExecIf("Local/xxxxxxxx#@from-internal-000000a3;2", "0?Set(CALLERID(number)=)") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [xxxxxxxx#@from-internal:8] Macro("Local/xxxxxxxx#@from-internal-000000a3;2", "outisbusy,") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:1] Progress("Local/xxxxxxxx#@from-internal-000000a3;2", "") in new stack
[2017-10-21 23:37:22] VERBOSE[9445][C-000000dd] app_dial.c: Local/xxxxxxxx#@from-internal-000000a3;1 is making progress passing it to Local/FMGL-xxxxxxxx##@from-internal-000000a2;2
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:2] GotoIf("Local/xxxxxxxx#@from-internal-000000a3;2", "0?emergency,1") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:3] GotoIf("Local/xxxxxxxx#@from-internal-000000a3;2", "0?intracompany,1") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:4] Playback("Local/xxxxxxxx#@from-internal-000000a3;2", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
[2017-10-21 23:37:22] VERBOSE[9457][C-000000dd] file.c: <Local/xxxxxxxx#@from-internal-000000a3;2> Playing 'all-circuits-busy-now.ulaw' (language 'en')
[2017-10-21 23:37:23] VERBOSE[9457][C-000000dd] file.c: <Local/xxxxxxxx#@from-internal-000000a3;2> Playing 'please-try-call-later.ulaw' (language 'en')
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:5] Congestion("Local/xxxxxxxx#@from-internal-000000a3;2", "20") in new stack
[2017-10-21 23:37:26] WARNING[9457][C-000000dd] translate.c: no samples for ulawtolin
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] app_dial.c: Local/xxxxxxxx#@from-internal-000000a3;1 is circuit-busy
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] app_stack.c: Local/xxxxxxxx#@from-internal-000000a3;1 Internal Gosub(crm-hangup,s,1) start
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:1] NoOp("Local/xxxxxxxx#@from-internal-000000a3;1", "Sending Hangup to CRM") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:2] NoOp("Local/xxxxxxxx#@from-internal-000000a3;1", "HANGUP CAUSE: 0") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:3] ExecIf("Local/xxxxxxxx#@from-internal-000000a3;1", "0?Set(__CRM_VOICEMAIL=)") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:4] NoOp("Local/xxxxxxxx#@from-internal-000000a3;1", "MASTER CHANNEL: 1508589441.1028 = 1508589414.1022") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:5] GotoIf("Local/xxxxxxxx#@from-internal-000000a3;1", "1?return") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx_builtins.c: Goto (crm-hangup,s,8)
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:8] Return("Local/xxxxxxxx#@from-internal-000000a3;1", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] app_stack.c: Spawn extension (from-internal, FMGL-xxxxxxxx##, 1) exited non-zero on 'Local/xxxxxxxx#@from-internal-000000a3;1'
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] app_stack.c: Local/xxxxxxxx#@from-internal-000000a3;1 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] app_macro.c: Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'Local/xxxxxxxx#@from-internal-000000a3;2' in macro 'outisbusy'
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] pbx.c: Spawn extension (from-internal, xxxxxxxx#, 8) exited non-zero on 'Local/xxxxxxxx#@from-internal-000000a3;2'
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:1] Macro("Local/xxxxxxxx#@from-internal-000000a3;2", "hangupcall") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] app_dial.c: Everyone is busy/congested at this time (1:0/1/0)
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:1] GotoIf("Local/xxxxxxxx#@from-internal-000000a3;2", "1?theend") in new stack
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:21] Set("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "DIALSTATUS=CONGESTION") in new stack
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:3] ExecIf("Local/xxxxxxxx#@from-internal-000000a3;2", "0?Set(CDR(recordingfile)=)") in new stack
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] pbx.c: Executing [[email protected]:4] Hangup("Local/xxxxxxxx#@from-internal-000000a3;2", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/xxxxxxxx#@from-internal-000000a3;2' in macro 'hangupcall'
[2017-10-21 23:37:26] VERBOSE[9457][C-000000dd] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'Local/xxxxxxxx#@from-internal-000000a3;2'
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:22] GosubIf("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "0?CONGESTION,1()") in new stack
[2017-10-21 23:37:26] VERBOSE[9458][C-000000dd] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2017-10-21 23:37:26] VERBOSE[9458][C-000000dd] app_mixmonitor.c: End MixMonitor Recording Local/xxxxxxxx#@from-internal-000000a3;2
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:23] NoOp("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "Returning since nobody answered") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:24] MacroExit("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [FMGL-xxxxxxxx##@from-internal:8] Hangup("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Spawn extension (from-internal, FMGL-xxxxxxxx##, 8) exited non-zero on 'Local/FMGL-xxxxxxxx##@from-internal-000000a2;2'
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:1] Macro("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "hangupcall") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:1] GotoIf("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "1?theend") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:3] ExecIf("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "0?Set(CDR(recordingfile)=)") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Executing [[email protected]:4] Hangup("Local/FMGL-xxxxxxxx##@from-internal-000000a2;2", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/FMGL-xxxxxxxx##@from-internal-000000a2;2' in macro 'hangupcall'
[2017-10-21 23:37:26] VERBOSE[9445][C-000000dd] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'Local/FMGL-xxxxxxxx##@from-internal-000000a2;2'
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] app_stack.c: Local/FMGL-xxxxxxxx##@from-internal-000000a2;1 Internal Gosub(crm-hangup,s,1) start
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:1] NoOp("Local/FMGL-xxxxxxxx##@from-internal-000000a2;1", "Sending Hangup to CRM") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:2] NoOp("Local/FMGL-xxxxxxxx##@from-internal-000000a2;1", "HANGUP CAUSE: 16") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:3] ExecIf("Local/FMGL-xxxxxxxx##@from-internal-000000a2;1", "0?Set(__CRM_VOICEMAIL=)") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:4] NoOp("Local/FMGL-xxxxxxxx##@from-internal-000000a2;1", "MASTER CHANNEL: 1508589431.1025 = 1508589414.1022") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:5] GotoIf("Local/FMGL-xxxxxxxx##@from-internal-000000a2;1", "1?return") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx_builtins.c: Goto (crm-hangup,s,8)
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:8] Return("Local/FMGL-xxxxxxxx##@from-internal-000000a2;1", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] app_stack.c: Spawn extension (from-internal, 311, 1) exited non-zero on 'Local/FMGL-xxxxxxxx##@from-internal-000000a2;1'
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] app_stack.c: Local/FMGL-xxxxxxxx##@from-internal-000000a2;1 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] app_dial.c: No one is available to answer at this time (2:0/0/0)
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:21] Set("SIP/engin-000002b0", "DIALSTATUS=NOANSWER") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:22] GosubIf("SIP/engin-000002b0", "0?NOANSWER,1()") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:23] NoOp("SIP/engin-000002b0", "Returning since nobody answered") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:24] MacroExit("SIP/engin-000002b0", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:41] Goto("SIP/engin-000002b0", "nextstep") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx_builtins.c: Goto (followme-sub,311,46)
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:46] Set("SIP/engin-000002b0", "RingGroupMethod=") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:47] GotoIf("SIP/engin-000002b0", "0?nodest") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:48] Set("SIP/engin-000002b0", "__NODEST=") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:49] Set("SIP/engin-000002b0", "__PICKUPMARK=") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:50] Macro("SIP/engin-000002b0", "blkvm-clr,") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:1] Set("SIP/engin-000002b0", "SHARED(BLKVM,SIP/engin-000002b0)=") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:2] Set("SIP/engin-000002b0", "GOSUB_RETVAL=") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:3] MacroExit("SIP/engin-000002b0", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:51] Set("SIP/engin-000002b0", "DIALSTATUS=NOANSWER") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:52] GotoIf("SIP/engin-000002b0", "0?dohangup") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:53] Goto("SIP/engin-000002b0", "app-blackhole,hangup,1") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx_builtins.c: Goto (app-blackhole,hangup,1)
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:1] NoOp("SIP/engin-000002b0", "Blackhole Dest: Hangup") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:2] Hangup("SIP/engin-000002b0", "") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/engin-000002b0'
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] app_stack.c: SIP/engin-000002b0 Internal Gosub(crm-hangup,s,1) start
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:1] NoOp("SIP/engin-000002b0", "Sending Hangup to CRM") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:2] NoOp("SIP/engin-000002b0", "HANGUP CAUSE: 16") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:3] ExecIf("SIP/engin-000002b0", "0?Set(__CRM_VOICEMAIL=)") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:4] NoOp("SIP/engin-000002b0", "MASTER CHANNEL: 1508589414.1022 = 1508589414.1022") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:5] GotoIf("SIP/engin-000002b0", "0?return") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:6] Set("SIP/engin-000002b0", "__CRM_HANGUP=1") in new stack
[2017-10-21 23:37:26] VERBOSE[9379][C-000000dd] pbx.c: Executing [[email protected]:7] AGI("SIP/engin-000002b0", "sangomacrm.agi") in new stack

Hi Everyone, Is anyone able to shed some light on this issue?

Cheers,

Damian.

Here’s where the problems start.

HANGUPCAUSE 21 is “Forbidden”. I’m gonna guess your provider doesn’t allow you to forward calls with foreign Caller IDs. Check with your provider with the call information (date, time, destination) and see what they have to say.

Hi Dave,

Thanks for your reply. I did touch base with them on Friday about exactly that, and they said they don’t block anything being relayed. I will go back to them on Monday, but if anyone has any further advice in the mean time, I’d appreciate it.

Issue solved guys, I changed the CID to fix and added my main indial number and that worked a treat.