It is ok to put a note on <a href="http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type">http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type</a> like this:<br><p>Send P-Asserted-Identity
</p>
<pre>{sip_cid_type=pid}sofia/default/<a href="mailto:user@example.com">user@example.com</a><br></pre><br><i>Note: you must set privacy flag, otherwise will be inserted P-Preferred-Identity instead of P-Asserted-Identity<br>
<br><br><br clear="all"></i>Lucian<br>
<br><br><div class="gmail_quote">On Mon, Dec 20, 2010 at 12:59 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
use the privacy app to set the proper flags and it should do asserted<br>
<div><div></div><div class="h5"><br>
On Mon, Dec 20, 2010 at 10:18 AM, Lucian Marginean &lt;<a href="mailto:lucian@e-utile.ro">lucian@e-utile.ro</a>&gt; wrote:<br>
&gt; I try to setup P-Asserted-Identity on setup but I get P-Preferred-Identity<br>
&gt; and I don&#39;t understand why<br>
&gt;<br>
&gt; Did I do something wrong or some other flags affect the PID feature?<br>
&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=647476xxxx&quot;/&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=647788xxxx&quot;/&gt;<br>
&gt; &lt;action application=&quot;set&quot; data=&quot;origination_privacy=screen&quot;/&gt;<br>
&gt; &lt;action application=&quot;bridge&quot;<br>
&gt; data=&quot;[sip_cid_type=pid,origination_caller_id_name=647476xxxx,origination_caller_id_number=647788xxxx]sofia/private/<a href="http://905780xxxx@10.10.67.82:5060" target="_blank">905780xxxx@10.10.67.82:5060</a>&quot;/&gt;<br>

&gt;<br>
&gt; and invite generated look like this:<br>
&gt;<br>
&gt; U <a href="http://10.10.67.83:5060" target="_blank">10.10.67.83:5060</a> -&gt; <a href="http://10.10.67.82:5060" target="_blank">10.10.67.82:5060</a><br>
&gt; INVITE <a href="http://sip:905780xxxx@10.10.67.82:5060" target="_blank">sip:905780xxxx@10.10.67.82:5060</a> SIP/2.0.<br>
&gt; Via: SIP/2.0/UDP 10.10.67.83;rport;branch=z9hG4bKH8KNm98v4Qv1N.<br>
&gt; Max-Forwards: 68.<br>
&gt; From: &quot;647476xxxx&quot; &lt;<a href="mailto:sip%3A647788xxxx@10.10.67.83">sip:647788xxxx@10.10.67.83</a>&gt;;tag=F1QF1Z26cBQZm.<br>
&gt; To: &lt;<a href="http://sip:905780xxxx@10.10.67.82:5060" target="_blank">sip:905780xxxx@10.10.67.82:5060</a>&gt;.<br>
&gt; Call-ID: ff01d92d-86ec-122e-cba2-001143e7e50c.<br>
&gt; CSeq: 6092608 INVITE.<br>
&gt; Contact: &lt;<a href="http://sip:mod_sofia@10.10.67.83:5060" target="_blank">sip:mod_sofia@10.10.67.83:5060</a>&gt;.<br>
&gt; User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-79ced28 2010-08-22 20-58-52<br>
&gt; -0400.<br>
&gt; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,<br>
&gt; REFER, NOTIFY.<br>
&gt; Supported: timer, precondition, path, replaces.<br>
&gt; Allow-Events: talk, hold, refer.<br>
&gt; Privacy: none.<br>
&gt; Content-Type: application/sdp.<br>
&gt; Content-Disposition: session.<br>
&gt; Content-Length: 242.<br>
&gt; X-FS-Support: update_display.<br>
&gt; P-Preferred-Identity: &quot;647476xxxx&quot; &lt;<a href="mailto:sip%3A647788xxxx@10.10.67.83">sip:647788xxxx@10.10.67.83</a>&gt;<br>
&gt;<br>
&gt; Lucian<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">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" target="_blank">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>
<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>