[Freeswitch-users] Remove Privacy: none Header in INVITE

B.Tietz at pinguin.ag B.Tietz at pinguin.ag
Fri Aug 3 14:48:48 MSD 2012


Hi,

this is what I came up my mind right now too... :-)

Benjamin


-----Ursprüngliche Nachricht-----
Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Paul Cupis
Gesendet: Freitag, 3. August 2012 12:24
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users] Remove Privacy: none Header in INVITE

On Fri, Aug 03, 2012 at 11:09:24AM +0200, B.Tietz at pinguin.ag wrote:
> I have to send an INVITE with P-asserted-identity but without the Privacy: none header.
> Right now I use
> 
> <action application="bridge" 
> data="{sip_contact_user=12345,sip_cid_type=pid}sofia/gateway/gw1/..."/
> >
> 
> Is there anything I can set/unset to get this!?

This requirement from your carrier(?) seems a little odd, but you can do it "the hard way" with something like this:

  <action application="set" data="sip_cid_type=none"/>
  <action application="unset" data="sip_h_Privacy"/>
  <action application="unset" data="sip_h_P-Asserted-Identity"/>
  <action application="set" data="sip_h_P-Asserted-Identity=&quot;NAME&quot; <sip:NUMBER at IP_ADDRESS>"/>

I don't know an easier way to just say "send P-A-ID, but not Privacy".

Regards,


_________________________________________________________________________
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

Join Us At ClueCon - Aug 7-9, 2012

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



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list