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@lists.freeswitch.org <freeswitch-users@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