csadi at hotmail.com Guest
|
Posted: Tue Feb 15, 2022 1:22 pm Post subject: [Freeswitch-users] How to add text outside P-Asserted-Identi |
|
|
Hello Team
Am trying to add a text tag to the P-Asserted-Identity as below to make my app where the INVITE is coming from
<action application="export" data="sip_cid_type=none"/>
<action application="export" data="sip_h_P-Asserted-Identity='TextTag';sip:${sip_P-Asserted-Identity}@${distributor(fidelity-site_p)};user=phone"/>
When I do the above, the TextTag is getting included within the P-Asserted-Identity and hence when the call is transferred, the carrier will reject saying it is Invalid P-Asserted-Identity
So - how can I add a TextTag to P-Asserted-Identity but outside .....
Currently it is adding as,
P-Asserted-Identity: <'TextTag';sip:+13333333333;oli=00@10.6.3.7:5060;user=phone>
How can i make the above as
P-Asserted-Identity: "TextTag" <sip:+13333333333;oli=00@10.6.3.7:5060;user=phone>
Thanks a lot in advance
Regards
Adi |
|