Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] FROM/P-Asserted-Identity and anonymous


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





PostPosted: Thu Jan 07, 2021 2:16 pm    Post subject: [Freeswitch-users] FROM/P-Asserted-Identity and anonymous Reply with quote

------ Start of attached email. Subject: FROM/P-Asserted-Identity and anonymous ------
Hi,

I'm changing the value of the From URI, in the dialplan, based on whether the Privacy: id header is present. If it's present, the value of the From URI is set to sip:anonymous AT anonymous.invalid, else it is set to sip:PHONE_NUMBER AT X.X.X.X.
This works fine, but for some reason, during the bridging of the call using a gateway (with cid_type set to pid), Freeswitch sets the host part of the P-Asserted-Identity URI to anonymous.invalid (only during anonymous calls of course).
Is there a way to make Freeswitch leave the host part of the P-Asserted-Identity header alone and set it to its IP address, while still utilizing the cid_type variable?

Actual:
From: <sip:anonymous AT anonymous.invalid>
Privacy: id
P-Asserted-Identity: "1234" <sip:1234 AT anonymous.invalid>

Expected:
From: <sip:anonymous AT anonymous.invalid>
Privacy: id
P-Asserted-Identity: "1234" <sip:1234 AT X.X.X.X>

Removing the cid_type variable (or set to none), and inserting a P-Asserted-Identity header manually in the required format works fine.
Also, when using the cid_type=pid, is it possible to add the user=phone param to the P-Asserted-Identity URI? Or does this also require setting the header manually?

Regards,

Grant



------ 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
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