<div dir="ltr"><a href="https://wiki.freeswitch.org/wiki/Variable_sip_cid_type">https://wiki.freeswitch.org/wiki/Variable_sip_cid_type</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 4:57 PM, mbo <span dir="ltr">&lt;<a href="mailto:mbodbg@gmx.net" target="_blank">mbodbg@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Our carrier sends us always the callerid in the P-Asserted-Identity field in the SIP header. When a caller calls anonymous, in the INVITE the relevant fields in the header look like:<br>
<br>
From: &lt;sip:anonymous@anonymous.invalid;user=phone;udp&gt;<br>
P-Asserted-Identity: &lt;sip:+PHONENUMBER@IPADDRESS&gt;<br>
Privacy: header;user;id<br>
<br>
When I bridge the call, in the INVITE which is sent to the remote server, the relevant fields in the header look like:<br>
<br>
From: &quot;anonymous&quot; &lt;sip:+PHONENUMBER@IP-ADDRESS&gt;;tag=K90ap6HBNQDtQ<br>
Privacy: id<br>
P-Asserted-Identity: &quot;anonymous&quot; &lt;sip:+PHONENUMBER@IP-ADDRESS&gt;<br>
<br>
But I fo not want to sent the callerid at all, so the fields should be set to:<br>
<br>
From: &lt;sip:anonymous@anonymous.invalid;user=phone;udp&gt;<br>
P-Asserted-Identity: &quot;anonymous&quot; &lt;sip:+anonymous@anonymous.invalid;user=phone;udp&gt;<br>
Privacy: header;user;id<br>
<br>
or drop the P-Asserted-Identity field like:<br>
<br>
From: &lt;sip:anonymous@anonymous.invalid;user=phone;udp&gt;<br>
Privacy: header;user;id<br>
<br>
Which variables do I need to set before the call is bridged to archive this (I’m still using FS 1.2)<br>
<br>
Thanks and Regards<br>
<br>
Markus<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ítalo Rossi<br></div></div>
</div>