P-asserted ID in E164 format

heather.graham at yahoo.com heather.graham at yahoo.com
Mon Aug 27 21:20:59 UTC 2018


Hello,

How can I get FS to send the P-Asserted-Identity back in a 183 Session Progress in E.164 format?  Is there a setting in sip_profile?
For example, we get an INVITE that contains a npdi;rn=.   
   INVITE sip:5556667777;npdi;rn=8889990000 at 5.5.5.5;user=phone SIP/2.0   From: "FromUser"<sip:5553334444 at 2.2.2.2;user=phone>;tag=714539940-1535391478434-
   To: <sip:5556667777 at 1.1.1.1:5060;user=phone>   Call-ID: 181910844198 at 6.6.6.6   CSeq: 1044076882 INVITE   Contact: <sip:5553334444;tgrp=8000;trunk-contextBS at 2.2.2.2:5060;transport=udp>   P-Asserted-Identity: "FromUser"<sip:5553334444 at 2.2.2.2;user=phone>
FS responds with ...
   SIP/2.0 183 Session Progress   From: "FromUser"<sip:5553334444 at 2.2.2.2;user=phone>;tag=714539940-1535391478434-
   To: <sip: 5556667777 at 1.1.1.1:5060;user=phone>;tag=p4Q6eH4D5KcaD   Call-ID: 181910844198 at 6.6.6.6   CSeq: 1044076882 INVITE   Contact: <sip:5556667777 at 5.5.5.5:5060;transport=udp>   User-Agent: FreeSWITCH-mod_sofia/1.6.19~64bit   P-Asserted-Identity: "5556667777;npdi;rn=8889990000" <sip:5556667777;npdi;rn=8889990000 at 1.1.1.1

Is there a way to get FS to respond with rn=+1<number>?
   P-Asserted-Identity: "5556667777;npdi;rn=+18889990000" <sip:5556667777;npdi;rn=+18889990000 at 1.1.1.1
Thanks,Heather  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180827/a4486efd/attachment.html>


More information about the FreeSWITCH-users mailing list