[Freeswitch-users] On what condition P-Asserted-Identity is replaced by P-Preferred-Identity?

Anthony Minessale anthony.minessale at gmail.com
Tue Dec 21 05:33:39 MSK 2010


yes it's always safe to make wiki edits, someone always audits the
changes to make sure they are correct.


On Mon, Dec 20, 2010 at 3:19 PM, Lucian Marginean <lucian at e-utile.ro> wrote:
> It is ok to put a note on
> http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type like this:
>
> Send P-Asserted-Identity
>
> {sip_cid_type=pid}sofia/default/user at example.com
>
> Note: you must set privacy flag, otherwise will be inserted
> P-Preferred-Identity instead of P-Asserted-Identity
>
>
>
> Lucian
>
>
> On Mon, Dec 20, 2010 at 12:59 PM, Anthony Minessale
> <anthony.minessale at gmail.com> wrote:
>>
>> 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 at 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 at 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 at 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 at 10.10.67.83>;tag=F1QF1Z26cBQZm.
>> > To: <sip:905780xxxx at 10.10.67.82:5060>.
>> > Call-ID: ff01d92d-86ec-122e-cba2-001143e7e50c.
>> > CSeq: 6092608 INVITE.
>> > Contact: <sip:mod_sofia at 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 at 10.10.67.83>
>> >
>> > Lucian
>> >
>> > _______________________________________________
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at 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 at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:+19193869900
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list