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

DigitalDaz

Administrator
Staff member
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:
call_forward_all.jpg

That's it. Done and dusted. :)
 

DigitalDaz

Administrator
Staff member
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.
 
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!