Temporary fix for caller id select for call forwarding in FusionPBX 4.4

DigitalDaz

Administrator
Staff member
Sep 29, 2016
2,327
364
83
Here is a temporary fix to the call forward caller id select problem on the new FusionPBX 4.4

Credit goes to mcrane for this code, all I have done is taken his existing code and jigged it around slightly to suit this purpose.

Download the required file and set permissions:

Code:
cd /usr/share/freeswitch/scripts
wget https://gist.githubusercontent.com/pbxforums/0bb08b7f4b9f9845b7ad5ea0b1cb8ad1/raw/fb5d21b43ee26399ff3d0bbd9bfcbff170493450/call_forward_all.lua
chown www-data:www-data call_forward_all.lua
Now go into dialplan/dialplan manager and find near the bottom, the entry "call_forward_all"

Edit that entry to reflect the image below:
call_forward_all.jpg

That's it. Done and dusted. :)
 
Last edited:

DigitalDaz

Administrator
Staff member
Sep 29, 2016
2,327
364
83
In the past there was a dropdown that you could select caller id when call forwarding. This caller id is the one that would be presented on the forwarded call. The box is still there for the select, it just no longer works. I myself do not use this feature but I know quite a few do.
 
  • Like
Reactions: ASGITunclespammy

rrubix

New Member
May 1, 2019
1
0
1
44
Here is a temporary fix to the call forward caller id select problem on the new FusionPBX 4.4

Credit goes to mcrane for this code, all I have done is taken his existing code and jigged it around slightly to suit this purpose.

Download the required file and set permissions:

Code:
cd /usr/share/freeswitch/scripts
wget https://gist.githubusercontent.com/DigiDaz/0bb08b7f4b9f9845b7ad5ea0b1cb8ad1/raw/fb5d21b43ee26399ff3d0bbd9bfcbff170493450/call_forward_all.lua
chown www-data:www-data call_forward_all.lua
Now go into dialplan/dialplan manager and find near the bottom, the entry "call_forward_all"

Edit that entry to reflect the image below:
View attachment 442

That's it. Done and dusted. :)

When I run the command "chown www-data:www-data call_forward_all.lua" I get the following error. "chown: invalid user: ‘www-data’"
Thanks in advance for the help!
 

Dee

New Member
Jun 7, 2019
15
2
3
31
root@failover:/usr/share/freeswitch/scripts# wget https://gist.githubusercontent.com/...ff3d0bbd9bfcbff170493450/call_forward_all.lua
--2020-03-30 21:51:52-- https://gist.githubusercontent.com/...ff3d0bbd9bfcbff170493450/call_forward_all.lua
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 151.101.16.133
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|151.101.16.133|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-03-30 21:51:52 ERROR 404: Not Found.