Hi Marcel,
Thank you! I have an issue with that is that I'm doing some numbering plan manipulation later in the dialplan by working with a condition matching on caller_id_number field and then modifying the effective_caller_id.
If I did this, these modifications are not applied. By the way, it's a good step because now I don't have the PAI on the leg B, only the From.
Should I change caller-id-in-from to false? It's on true now for the leg A gateway.
Regards,
Igor.
De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> De la part de Marcel Haldemann
Envoyé : mercredi 30 octobre 2019 11:56
À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Objet : Re: [Freeswitch-users] Use the From instead of P-Asserted-Identity
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@lists.freeswitch.org> Im Auftrag von igor.potjevlesch@gmail.com
Gesendet: Mittwoch, 30. Oktober 2019 11:36
An: 'FreeSWITCH Users Help' <freeswitch-users@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@gmail.com <igor.potjevlesch@gmail.com>
Envoyé : lundi 28 octobre 2019 19:22
À : 'FreeSWITCH Users Help' <freeswitch-users@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.