[Freeswitch-users] Transfer fails when P-Asserted-Identity is modified
Adiseshu Channasamudhram
csadi at hotmail.com
Tue Feb 15 17:51:18 UTC 2022
Hello Team
please ignore this question - i figured out what the problem is
I will send out a separate email for the new problem
Regards
Adi
________________________________
From: Adiseshu Channasamudhram
Sent: Tuesday, February 15, 2022 9:56 AM
To: freeswitch-users at lists.freeswitch.org <freeswitch-users at lists.freeswitch.org>
Subject: Transfer fails when P-Asserted-Identity is modified
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/c0f52ce3/attachment.html>
More information about the FreeSWITCH-users
mailing list