[Freeswitch-users] P-Asserted

Callum Guy callum.guy at x-on.co.uk
Thu Mar 20 12:17:20 MSK 2014


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 at 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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140320/85bec1e1/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list