[Freeswitch-users] To get rid of P-Asserted-Identity ?

Vallimamod Abdullah vma at vallimamod.org
Tue Dec 20 15:32:59 MSK 2016


Hi David,

Have you tried to change its value with set_profile_var?

<action application="set_profile_var" data="caller_id_number=${sip_from_user}"/>

According to the source, it should work™ :)

Best Regards,
-- 
Vallimamod Abdullah
vma at vallimamod.org
.

> On 16 Dec 2016, at 13:23, David Ponzone <david.ponzone at ipeva.fr> wrote:
> 
> Abdullah,
> 
> I am talking only about inbound.
> I am not even sending a call yet. I just don’t want a wrong caller_id_number read-only chanvar to be set as it will be propagated in the CDR.
> 
> Also, AFAIK, caller-id-in-from is for outbound calls only.
> 
> David Ponzone  Direction Technique
> email: david.ponzone at 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.
> 
> 
> 
> 
>> Le 15 déc. 2016 à 17:17, Vallimamod Abdullah <vma at 440hz.fr> a écrit :
>> 
>> 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 at vallimamod.org
>> .
>> 
>>> On 15 Dec 2016, at 16:10, David Ponzone <david.ponzone at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list