We are using something like this:
<action application="set" data="sip_h_Diversion=<sip:00123456789@10.0.0.1>"/>
<action application="privacy" data="no"/>
Br,
Zvonimir
From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org>
On Behalf Of Adiseshu Channasamudhram
Sent: 07. veljače 2022. 14:56
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] (no subject)
Hello Freeswitch Team
Can one of you please let me know how i can copy the P-Asserted-Identity header from the incoming INVITE to the outgoing INVITE?
I did go through most of the articles but none of them helped.
I have tried the below so far in my dialplan
<action application="set" data="sip_h_P-Asserted-Identity=${sip_P-Asserted_Identity}"/>
<action application="bridge" data="{sip_cid_type=pid}sofia/gateway/Mygateway/$1"/>
<action application="bridge" data="{sip_cid_type=pid,origination_privacy=screen}sofia/internal/${destination_number}@${distributor(cust-site_p)}"/>
Thank you in advance
Regards,
Adi