Hi, When freeswitch receives 200 OK in the packet we see the following: From: "company" <sip:+compnay phone #@IP;user=xxxx> P-Asserted-Identity:"vendor"<sip:+vendor phone #@IP;user=phone> Privecy: id When freeswitch sends the same 200 OK packet to the endpoint: P-Asserted-Identity: "vendor" <sip:+vendor phone #@IP> Ideally we need freeswitch to either stripped the identity or leave the *privacy id* header. How to do that? Regards, George
Maybe have a look in the sofia config files in sip_profiles? Here's a snippet from the default internal.xml file: <!-- Caller-ID type (choose one, can be overridden by inbound call type and/or sip_cid_type channel variable --> <!-- Remote-Party-ID header --> <!--<param name="caller-id-type" value="rpid"/>--> <!-- P-*-Identity family of headers --> <!--<param name="caller-id-type" value="pid"/>--> <!-- neither one --> <!--<param name="caller-id-type" value="none"/>--> I'm sure making some adjustments here or researching the variables will lead you to the answer you're looking for. Be interested to hear how you get on. Callum ______________________________ Callum Guy Senior Developer X-on Framlingham Technology Centre Station Road, Framlingham, Suffolk, IP13 9EZ T 0333 332 0116 E callum.guy@x-on.co.uk X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD Company Registration No. 2578478 This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems. Please consider the environment before printing this email. On 19 March 2014 21:54, George Assaad <gassaad@emassembly.com> wrote:
Hi, When freeswitch receives 200 OK in the packet we see the following:
From: "company" <sip:+compnay phone #@IP;user=xxxx> P-Asserted-Identity:"vendor"<sip:+vendor phone #@IP;user=phone> Privecy: id
When freeswitch sends the same 200 OK packet to the endpoint: P-Asserted-Identity: "vendor" <sip:+vendor phone #@IP>
Ideally we need freeswitch to either stripped the identity or leave the *privacy id* header.
How to do that?
Regards,
George
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
I don't remember the rfc regarding P-Asserted-identity completely, but it also has to do with trusted networks. When someone sends an invite to freeswitch that is authenticated, this side is authenticated and freeswitch trusts it's p-asserted-identity I believe, unless you overwrite it. When the other side is also trusted, it just forwards it, else it will strip it to anaonymous (or it should I think). Kind regards, Michel On Wed, Mar 19, 2014 at 10:54 PM, George Assaad <gassaad@emassembly.com>wrote:
Hi, When freeswitch receives 200 OK in the packet we see the following:
From: "company" <sip:+compnay phone #@IP;user=xxxx> P-Asserted-Identity:"vendor"<sip:+vendor phone #@IP;user=phone> Privecy: id
When freeswitch sends the same 200 OK packet to the endpoint: P-Asserted-Identity: "vendor" <sip:+vendor phone #@IP>
Ideally we need freeswitch to either stripped the identity or leave the *privacy id* header.
How to do that?
Regards,
George
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
participants (3)
-
Callum Guy
-
George Assaad
-
Michel Brabants