Remove Privacy: none Header in INVITE
Hi, 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!? regards, Benjamin
On Fri, Aug 03, 2012 at 11:09:24AM +0200, B.Tietz@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="NAME" <sip:NUMBER@IP_ADDRESS>"/> I don't know an easier way to just say "send P-A-ID, but not Privacy". Regards,
Hi, this is what I came up my mind right now too... :-) Benjamin -----Ursprüngliche Nachricht----- Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@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="NAME" <sip:NUMBER@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@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 Join Us At ClueCon - Aug 7-9, 2012 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 (2)
-
B.Tietz@pinguin.ag
-
Paul Cupis