[Freeswitch-users] FreeSWITCH not sending P-Asserted-Identity

Dorn DJBinter djbinter at gmail.com
Mon May 7 19:35:16 MSD 2012


I think you missed the delimiter (+) on origination_privacy.

-djbinter

Sent from my iPad

On May 7, 2012, at 8:14 AM, Vik Killa <vipkilla at gmail.com> wrote:

> I've also tried setting
> <action application="privacy" data="full"/>
> with same results.
>
> On Mon, May 7, 2012 at 10:53 AM, Vik Killa <vipkilla at gmail.com> wrote:
>> I cannot get FS to send the P-Asserted-Identity header instead it
>> always sends the P-Preferred-Identity header.
>> According to http://wiki.freeswitch.org/wiki/Channel_Variables#sip_cid_type
>> I must set the privacy flag in order for P-Asserted-Identity to be
>> used, so here is my dialplan entry and the SIP INVITE that is sent:
>>
>> <extension name="outbound">
>>    <condition field="destination_number" expression="^(\d{10})$">
>>        <action application="lcr" data="$1"/>
>>        <action application="set"
>> data="effective_caller_id_name=${outbound_caller_id_name}"/>
>>        <action application="set"
>> data="effective_caller_id_number=${outbound_caller_id_number}"/>
>>        <action application="set" data="privacy=yes"/>
>>        <action application="privacy" data="yes"/>
>>        <action application="set" data="sip_h_Privacy=id"/>
>>        <action application="bridge"
>> data="{sip_cid_type=pid,origination_privacy=hide_namehide_number}${lcr_auto_route}"/>
>>    </condition>
>> </extension>
>>
>>
>>   ------------------------------------------------------------------------
>>   INVITE sip:+17165555555 at YYY.YYY.YYY.YYY:5060 SIP/2.0
>>   Via: SIP/2.0/UDP 72.43.207.154;rport;branch=z9hG4bKK0pepF2H0atSp
>>   Max-Forwards: 68
>>   From: "1000" <sip:7165551001 at XX.XX.XX.XX>;tag=8U2rQ1pmXXaDQ
>>   To: <sip:+17165555555 at YYY.YYY.YYY.YYY:5060>
>>   Call-ID: de66ec94-12f5-1230-cbb1-5e6ae73de10d
>>   CSeq: 27864844 INVITE
>>   Contact: <sip:mod_sofia at XX.XX.XX.XX:5060>
>>   User-Agent: FSwitch
>>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
>> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
>>   Supported: timer, precondition, path, replaces
>>   Allow-Events: talk, hold, presence, dialog, line-seize, call-info,
>> sla, include-session-description, presence.winfo, message-summary,
>> refer
>>   Privacy: id
>>   Content-Type: application/sdp
>>   Content-Disposition: session
>>   Content-Length: 209
>>   X-FS-Support: update_display,send_info
>>   P-Preferred-Identity: "1000" <sip:7165551001 at XX.XX.XX.XX>
>>
>>   v=0
>>   o=FreeSWITCH 1336383832 1336383833 IN IP4 XX.XX.XX.XX
>>   s=FreeSWITCH
>>   c=IN IP4 XX.XX.XX.XX
>>   t=0 0
>>   m=audio 17984 RTP/AVP 0 9 8 3 101 13
>>   a=rtpmap:101 telephone-event/8000
>>   a=fmtp:101 0-16
>>   a=ptime:20
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list