Hi,
You can tell freeswitch to not set the pid automatically with the param caller-id-type=none in your sip profile. Then you can export the sip_h_P-Asserted-Identity var before the bridge to set the header manually.
For gateways, you also have caller-id-in-from=true param to retrieve the caller_id_number in the From header.
Best Regards,
--
Vallimamod Abdullah
vma@vallimamod.org.
On 15 Dec 2016, at 16:10, David Ponzone <david.ponzone@ipeva.fr> wrote:
Hello all,
when FS receives an inbound call with a PAID header, it uses this number to fill the caller_id_number channel variable.
I can’t manage to alter this behavior for inbound legs.
At least, I’d like to tell FS to ignore the PAID because it’s wrong, and to use the SIP From for the caller_id_number.
Ideas ? Am I missing something obvious ?
David Ponzone Direction Technique
email: david.ponzone@ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34
Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com
Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org