Hi Marcel, I have exactly the same problem. And yes, the issue with the dialplan solved it really. But is it really necessary to put it in the dialplan ? Is there no way to put it somehow in the gateway section ? best, Tamer On 10/30/19 11:55 AM, Marcel Haldemann wrote:
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 <mailto:igor.potjevlesch@gmail.com> <igor.potjevlesch@gmail.com <mailto:igor.potjevlesch@gmail.com>> *Envoyé :* lundi 28 octobre 2019 19:22 *À :* 'FreeSWITCH Users Help' <freeswitch-users@lists.freeswitch.org <mailto: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.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://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 https://freeswitch.com