[Freeswitch-users] (no subject)

Shaun Stokes shaun at sysconfig.cloud
Mon Feb 7 15:13:51 UTC 2022


If you're setting the PAID manually using 'sip_h' then CID Type should be set to none, or you'll likely get the two PAID headers.

________________________________
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Adiseshu Channasamudhram <csadi at hotmail.com>
Sent: 07 February 2022 14:55
To: freeswitch-users at lists.freeswitch.org <freeswitch-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220207/261f1ff8/attachment.html>


More information about the FreeSWITCH-users mailing list