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