Override the original caller ID number not working in Call Routing

Hi Everyone

I am using Master Version of FusionPBX 4.5.1 with Switch Version1.6.20 (64bit). I am having issue with Call Routing/Follow me

Let me explain here

If i enable Call Forward to any external DID the original caller ID number won't get override.


Where as it works with Follow Me

Can anyone help me with this.


Staff member
Unfortunately this is yet another regression in the new 4.4 release. It relates to the way call forwarding is now done via the dialplan rather than a custom dialstring using the old method.

The using of the dialplan for forwarding is a positive move as the old method using the bridge had its own problems.

The lead developer is aware of this current problem but as to when it may be resolved is anyone's guess.
Hi I recently had the same issue. I use my Sip providor to help me. So i forward the call to a number on another trunk where i have the option to always show the dialled number. My sip providor only charges for calls so its not to expensive to do this.

Not ideal in terms of legs but this is for one of our client that pay us serious ammounts of money so it was a case of whatever we can do to fix the issue.

Fingers crossed for a fix.


Hi Daz,

I have installed the patch, I have an issue with this forward, as instead of generating an outgoing call, the incoming call gets sent to internal voicemail. When the incoming call starts on the internal system, however, the call goes straight to local voicemail. I have tried to do some troubleshooting and found this - does it make any sense to you? I expect I have missed an important setting somewhere!

2019-11-11 12:59:08.554941 [ERR] mod_lua.cpp:203 /usr/share/freeswitch/scripts/call_forward_all.lua:79: attempt to concatenate global 'caller_id_number' (a nil value)
stack traceback:
/usr/share/freeswitch/scripts/call_forward_all.lua:79: in main chunk
2019-11-11 12:59:08.554941 [DEBUG] switch_cpp.cpp:1107 sofia/External2/07908053221@ destroy/unlink session from object