use the privacy app to set the proper flags and it should do asserted On Mon, Dec 20, 2010 at 10:18 AM, Lucian Marginean <lucian@e-utile.ro> wrote:
I try to setup P-Asserted-Identity on setup but I get P-Preferred-Identity and I don't understand why
Did I do something wrong or some other flags affect the PID feature?
<action application="set" data="effective_caller_id_name=647476xxxx"/> <action application="set" data="effective_caller_id_number=647788xxxx"/> <action application="set" data="origination_privacy=screen"/> <action application="bridge" data="[sip_cid_type=pid,origination_caller_id_name=647476xxxx,origination_caller_id_number=647788xxxx]sofia/private/905780xxxx@10.10.67.82:5060"/>
and invite generated look like this:
U 10.10.67.83:5060 -> 10.10.67.82:5060 INVITE sip:905780xxxx@10.10.67.82:5060 SIP/2.0. Via: SIP/2.0/UDP 10.10.67.83;rport;branch=z9hG4bKH8KNm98v4Qv1N. Max-Forwards: 68. From: "647476xxxx" <sip:647788xxxx@10.10.67.83>;tag=F1QF1Z26cBQZm. To: <sip:905780xxxx@10.10.67.82:5060>. Call-ID: ff01d92d-86ec-122e-cba2-001143e7e50c. CSeq: 6092608 INVITE. Contact: <sip:mod_sofia@10.10.67.83:5060>. User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-79ced28 2010-08-22 20-58-52 -0400. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY. Supported: timer, precondition, path, replaces. Allow-Events: talk, hold, refer. Privacy: none. Content-Type: application/sdp. Content-Disposition: session. Content-Length: 242. X-FS-Support: update_display. P-Preferred-Identity: "647476xxxx" <sip:647788xxxx@10.10.67.83>
Lucian
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900