Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] (no subject)


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
csadi at hotmail.com
Guest





PostPosted: Mon Feb 07, 2022 9:38 am    Post subject: [Freeswitch-users] (no subject) Reply with quote

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
Back to top
shaun at sysconfig.cloud
Guest





PostPosted: Mon Feb 07, 2022 10:42 am    Post subject: [Freeswitch-users] (no subject) Reply with quote

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@lists.freeswitch.org> on behalf of Adiseshu Channasamudhram <csadi@hotmail.com>
Sent: 07 February 2022 14:55
To: freeswitch-users@lists.freeswitch.org <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
Back to top
Antony.Stone at freesw...
Guest





PostPosted: Mon Feb 07, 2022 10:59 am    Post subject: [Freeswitch-users] (no subject) Reply with quote

On Monday 07 February 2022 at 14:55:30, Adiseshu Channasamudhram wrote:

Quote:
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?

Quote:
<action application="set"
data="sip_h_P-Asserted-Identity=${sip_P-Asserted_Identity}"/>

Do you not simply have a - vs. _ typo there?


Antony.

--
Most people have more than the average number of legs.

Please reply to the list;
please *don't* CC me.

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
freeswitch-users at li...
Guest





PostPosted: Mon Feb 07, 2022 11:09 am    Post subject: [Freeswitch-users] (no subject) Reply with quote

------ Start of attached email. Subject: RE: [Freeswitch-users] (no subject) ------
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
This communication is for informational purposes only. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Present message and any attached files may be or contain privileged information and is the property exclusive of ASSECO SEE CAPITAL GROUP. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. The information contained in this message is solely intended for the physical or legal person to whom it is addressed and to the authorized persons for receiving it. In the case you are not the intended recipient or the authorized person to receive this message, we inform that disclosure, duplicate, distribution or taking up any actions on information contained in this message are strictly forbidden and are under civil and legal responsibility. In case you received it by error, you are requested to notify the sender and to destroy the original e-mail message from your system. Opinions, conclusions or any other information contained into this message, which are not related to ASSECO SEE CAPITAL GROUP activity must not be understood to be expressed or should be endorsed by ASSECO SEE CAPITAL GROUP. The interpretation expressed in the present message did not reflect ASSECO SEE CAPITAL GROUP opinion.


------ End of attached email ------
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
heedfeld at gmail.com
Guest





PostPosted: Mon Feb 07, 2022 12:15 pm    Post subject: [Freeswitch-users] (no subject) Reply with quote

Hi,
that’s the way I do it:

<extension name="PAI/PPI" continue="true"> <condition field="${sip_P-Asserted-Identity}" expression="^.+$"/> <condition field="${sip_P-Preferred-Identity}" expression="^$"> <!-- if PAI present and PPI NOT present: use PPI from FROM-Header —>
<action application="export" data="sip_cid_type=none"/> <action application="export" data="sip_h_P-Asserted-Identity=[url=sip:${sip_P-Asserted-Identity}@sbc;user=phone]sip:${sip_P-Asserted-Identity}@sbc;user=phone[/url]"/> <action application="export" data="sip_h_P-Preferred-Identity=[url=sip:${sip_from_user}@sbc;user=phone]sip:${sip_from_user}@sbc;user=phone[/url]“/> <!-- if both PAI and PPI present: copy to B-leg —>
<anti-action application="export" data="sip_cid_type=none"/> <anti-action application="export" data="sip_h_P-Asserted-Identity=[url=sip:${sip_P-Asserted-Identity}@sbc;user=phone]sip:${sip_P-Asserted-Identity}@sbc;user=phone[/url]"/> <anti-action application="export" data="sip_h_P-Preferred-Identity=[url=sip:${caller_id_number}@sbc;user=phone]sip:${caller_id_number}@sbc;user=phone[/url]"/> </condition> </extension>

br
Henning

Quote:
Am 07.02.2022 um 14:55 schrieb Adiseshu Channasamudhram <csadi@hotmail.com (csadi@hotmail.com)>:
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
_________________________________________________________________________The FreeSWITCH project is sponsored by SignalWire sales@freeswitch.com (sales@freeswitch.com)FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttps://freeswitch.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services