Hello,
Not sure if it's the right thing to do replying to a thread that's just over a year old, but I've got exactly the same issue now!
I discovered it when using follow me from a Call Center, it seems to work fine from Ring Groups now!
The exact same fix as suggested by
@SBTech still applies, as I just made that change and it worked. However, I have reverted it as I'm less than happy to be changing the PHP code on the fly, especially if we can contribute a long-term fix.
https://github.com/fusionpbx/fusionpbx/blob/master/app/calls/resources/classes/follow_me.php
The file is still showing the same code in the latest release. Does anyone know FreeSWITCH enough to figure out a reliable dial string so that when calls are passed from the Call Center, it doesn't try (and breaks) the caller ID info?
Here's the code once again to clarify:
PHP:
else {
//set the outbound caller id number if the caller id number is a user
$dial_string .=',origination_caller_id_number=${cond(${from_user_exists} == true ? ${outbound_caller_id_number} : ${origination_caller_id_number})}';
$dial_string .=',effective_caller_id_number=${cond(${from_user_exists} == true ? ${outbound_caller_id_number} : ${effective_caller_id_number})}';
$dial_string .=',origination_caller_id_name=${cond(${from_user_exists} == true ? ${outbound_caller_id_name} : ${origination_caller_id_name})}';
$dial_string .=',effective_caller_id_name=${cond(${from_user_exists} == true ? ${outbound_caller_id_name} : ${effective_caller_id_name})}';
}
If I can get any help with this, I'd be happy to then submit a Pull Request on GitHub?