[Freeswitch-users] Transfer fails when P-Asserted-Identity is modified

Adiseshu Channasamudhram csadi at hotmail.com
Tue Feb 15 14:56:28 UTC 2022


Hello Team

I have a requirement to add a tag and also copy the P-Asserted-Identity from the incoming INVITE to the outgoing INVITE

I tried to use the below config in dialplan and this did change the P-Asserted-Identity value as required but then when the call is made to transfer , it fails

<condition field="network_addr" expression="^(19\.1\.24\.109|19\.1\.27\.109)$">
            <action application="export" data="sip_cid_type=none"/>
            <action application="export" data="sip_h_P-Asserted-Identity='CarrierName';sip:${sip_P-Asserted-Identity}@${distributor(fidelity-site_p)};user=phone"/>
</condition>

Can someone please check and let me know if the above method is correct or what is the best way to achieve this

Regards

Adi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220215/ef000b40/attachment.html>


More information about the FreeSWITCH-users mailing list