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"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></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 <<a href="mailto:lucian@e-utile.ro">lucian@e-utile.ro</a>> wrote:<br>
> I try to setup P-Asserted-Identity on setup but I get P-Preferred-Identity<br>
> and I don't understand why<br>
><br>
> Did I do something wrong or some other flags affect the PID feature?<br>
><br>
> <action application="set" data="effective_caller_id_name=647476xxxx"/><br>
> <action application="set" data="effective_caller_id_number=647788xxxx"/><br>
> <action application="set" data="origination_privacy=screen"/><br>
> <action application="bridge"<br>
> data="[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>"/><br>
><br>
> and invite generated look like this:<br>
><br>
> U <a href="http://10.10.67.83:5060" target="_blank">10.10.67.83:5060</a> -> <a href="http://10.10.67.82:5060" target="_blank">10.10.67.82:5060</a><br>
> 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>
> Via: SIP/2.0/UDP 10.10.67.83;rport;branch=z9hG4bKH8KNm98v4Qv1N.<br>
> Max-Forwards: 68.<br>
> From: "647476xxxx" <<a href="mailto:sip%3A647788xxxx@10.10.67.83">sip:647788xxxx@10.10.67.83</a>>;tag=F1QF1Z26cBQZm.<br>
> To: <<a href="http://sip:905780xxxx@10.10.67.82:5060" target="_blank">sip:905780xxxx@10.10.67.82:5060</a>>.<br>
> Call-ID: ff01d92d-86ec-122e-cba2-001143e7e50c.<br>
> CSeq: 6092608 INVITE.<br>
> Contact: <<a href="http://sip:mod_sofia@10.10.67.83:5060" target="_blank">sip:mod_sofia@10.10.67.83:5060</a>>.<br>
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-79ced28 2010-08-22 20-58-52<br>
> -0400.<br>
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,<br>
> REFER, NOTIFY.<br>
> Supported: timer, precondition, path, replaces.<br>
> Allow-Events: talk, hold, refer.<br>
> Privacy: none.<br>
> Content-Type: application/sdp.<br>
> Content-Disposition: session.<br>
> Content-Length: 242.<br>
> X-FS-Support: update_display.<br>
> P-Preferred-Identity: "647476xxxx" <<a href="mailto:sip%3A647788xxxx@10.10.67.83">sip:647788xxxx@10.10.67.83</a>><br>
><br>
> Lucian<br>
><br>
</div></div>> _______________________________________________<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>
><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>