[Freeswitch-users] Use the From instead of P-Asserted-Identity

Marcel Haldemann marcel.haldemann at convercom.ch
Wed Oct 30 10:55:48 UTC 2019


What u can in the dialplan is ...:

<action application="export" data="sip_cid_type=none"/>
<action application="export" data="sip_from_uri=${sip_from_user}@${network_addr}"/>

... to overwrite the from uri of the b-leg with the from_uri from the a-leg, if this is waht u want.


Von: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> Im Auftrag von igor.potjevlesch at gmail.com
Gesendet: Mittwoch, 30. Oktober 2019 11:36
An: 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org>
Betreff: Re: [Freeswitch-users] Use the From instead of P-Asserted-Identity

Hello,

No one has an idea on that? Thanks.

Regards,

Igor.

De : igor.potjevlesch at gmail.com<mailto:igor.potjevlesch at gmail.com> <igor.potjevlesch at gmail.com<mailto:igor.potjevlesch at gmail.com>>
Envoyé : lundi 28 octobre 2019 19:22
À : 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Objet : Use the From instead of P-Asserted-Identity

Hello,

I have a call scenario with From + P-Asserted-Identity. I would like to give precedence on From. I configured the caller-id-in-from to True for this gateway and force on leg B sip_cid_type to none in the dialplan.
I have tried some others combinations, but each time the PAI is inserted into the From header on the leg B.

Any idea of the right way to do this?

Regards,

Igor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191030/f080885a/attachment.html>


More information about the FreeSWITCH-users mailing list