{cid_type=none,sip_h_Privacy=id}<div><br></div><div>you have to disable any other privacy headers or it will not let you add Privacy (which is think is deprecated anyway)</div><div><br></div><div><br><br><div class="gmail_quote">
On Fri, Jun 4, 2010 at 12:46 PM, Michael De Lorenzo <span dir="ltr"><<a href="mailto:delorenzodesign@gmail.com">delorenzodesign@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I tried setting the sip_h_Privacy via:<div><br></div><div><div><font face="'courier new', monospace">freeswitch.Session("{sip_cid_type=pid,origination_caller_id_name=" .. caller_id_name .. ",origination_caller_id_number=+1" .. cid .. ",sip_h_Privacy=id,ignore_early_media=true}sofia/gateway/mygateway/" .. call_this_number)</font></div>
<div><br></div><div>but in the SIP Capture Privacy is still none:</div><div><div><br></div><div> <font face="'courier new', monospace"> INVITE <a href="mailto:sip%3A9735551234@5.6.7.8" target="_blank">sip:9735551234@5.6.7.8</a> SIP/2.0</font></div>
<div><font face="'courier new', monospace"> Via: SIP/2.0/UDP 1.2.3.4:5080;rport;branch=z9hG4bKSaXt6Bva8UD5K</font></div><div><font face="'courier new', monospace"> Max-Forwards: 70</font></div>
<div><font face="'courier new', monospace"> From: "Anonymous" <<a href="mailto:sip%3A9727289377@1.2.3.4" target="_blank">sip:9727289377@1.2.3.4</a>;transport=udp>;tag=QjjNSt2m3g0rB</font></div>
<div><font face="'courier new', monospace"> To: <<a href="mailto:sip%3A9735551234@5.6.7.8" target="_blank">sip:9735551234@5.6.7.8</a>></font></div><div><font face="'courier new', monospace"> Call-ID: 9b32aa4a-eaa3-122d-9bbb-000bdb94aab9</font></div>
<div><font face="'courier new', monospace"> CSeq: 131718385 INVITE</font></div><div><font face="'courier new', monospace"> Contact: <sip:gw+verizon1@1.2.3.4:5080;transport=udp;gw=verizon1></font></div>
<div><font face="'courier new', monospace"> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-28484a1 2010-04-22 15:06:05 -0400</font></div><div><font face="'courier new', monospace"> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY</font></div>
<div><font face="'courier new', monospace"> Supported: timer, precondition, path, replaces</font></div><div><font face="'courier new', monospace"> Allow-Events: talk, hold, refer</font></div>
<div><font face="'courier new', monospace"> Privacy: none</font></div><div><font face="'courier new', monospace"> Content-Type: application/sdp</font></div>
<div><font face="'courier new', monospace"> Content-Disposition: session</font></div><div><font face="'courier new', monospace"> Content-Length: 291</font></div>
<div><font face="'courier new', monospace"> X-FS-Support: update_display</font></div><div><font face="'courier new', monospace"> P-Asserted-Identity: "Anonymous" <<a href="mailto:sip%3A%2B19727289377@1.2.3.4" target="_blank">sip:+19727289377@1.2.3.4</a>></font></div>
<div><font face="'courier new', monospace"><br></font></div><div><font face="'courier new', monospace"> v=0</font></div><div><font face="'courier new', monospace"> o=FreeSWITCH 1275645559 1275645560 IN IP4 1.2.3.4</font></div>
<div><font face="'courier new', monospace"> s=FreeSWITCH</font></div><div><font face="'courier new', monospace"> c=IN IP4 1.2.3.4</font></div><div><font face="'courier new', monospace"> t=0 0</font></div>
<div><font face="'courier new', monospace"> m=audio 27884 RTP/AVP 0 8 3 101 13</font></div><div><font face="'courier new', monospace"> a=rtpmap:0 PCMU/8000</font></div>
<div><font face="'courier new', monospace"> a=rtpmap:8 PCMA/8000</font></div><div><font face="'courier new', monospace"> a=rtpmap:3 GSM/8000</font></div>
<div><font face="'courier new', monospace"> a=rtpmap:101 telephone-event/8000</font></div><div><font face="'courier new', monospace"> a=fmtp:101 0-16</font></div>
<div><font face="'courier new', monospace"> a=rtpmap:13 CN/8000</font></div><div><font face="'courier new', monospace"> a=ptime:20</font></div></div><div>
<br></div><div>Am I doing something incorrectly?</div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div>