The RPID FreeSWITCH sends in the INVITE and in SIP SIP OK is formatted correctly: Remote-Party-ID: "test" <sip:222@mydomain.co.co>;party=calling;screen=yes;privacy=off The RPID appears to get this information from the To\From headers, the Contact header has the proxy as the host which wouldn't be suitable. The UPDATE which follows with the PAI is formatted differently: P-Asserted-Identity: "test" <sip:222@127.0.0.10> The host portion of the PAI appears to come from the host portion of the Contact header instead of using the From header. There doesn't appear to be a way to fix this with-out changing code with-in 'mod_sofia.c'. We're working around the problem for now by transforming the PAI from FreeSWITCH as it passes through our proxy. - Shaun ________________________________ From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Shaun Stokes <shaun.stokes@itec-support.co.uk> Sent: 25 April 2019 19:14:32 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates fortPolycom's The host in our PAI is the proxy (Kamailio) which sits between the device and FreeSWITCH. Kamailio proxies all messages between the device and FreeSWITCH on an internal address. The device communicates with Kamilio on an external address and has no communication with FreeSWITCH other than RTP. - Shaun Get Outlook for Android<https://aka.ms/ghei36> From: Brian West Sent: Thursday 25 April, 19:15 Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates forPolycom's To: FreeSWITCH Users Help The host in the PAI differ from the host FS is accessed with? and they differ from the proxy? /b On Thu, Apr 25, 2019 at 9:38 AM Shaun Stokes <shaun.stokes@itec-support.co.uk<mailto:shaun.stokes@itec-support.co.uk>> wrote: Polycom's are on current firmware '5.7.4'. We use FreeSWITCH internally with Kamailio as our internet facing registrar but FreeSWITCH is grabbing the IP address of Kamailio and using it in the PAI which is sent to the device. I'm going to do some more digging to see if there's anyway we can get FreeSWITCH to use the domain\context instead of the IP address, if not then we should be able to fix this with-in Kamailio before the UPDATE is sent to the device. Thanks, Shaun From: Nathan Neulinger <nneul@mst.edu<mailto:nneul@mst.edu>> Sent: 25 April 2019 14:17:19 To: FreeSWITCH Users Help; Shaun Stokes Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's Are you running current polycom firmware on the devices? Sounds from the commit like it was changes after polycom fixed bug on their side. -- Nathan From: Shaun Stokes <shaun.stokes@itec-support.co.uk><mailto:shaun.stokes@itec-support.co.uk> Sent: Thu, Apr 25, 2019 7:10 AM CDT To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org><mailto:freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's After FreeSWITCH 1.8.5 (and 1.8.3) we've noticed that display updates have changed, on Polycom's (UA/5) for example this now includes the host portion such as the IP address which breaks directory contact association and is confusing for the user to see on the display: "Name" <sip:Number:Host:Port> Previously in FreeSWITCH 1.8.2 on Polycom's and on most other devices we've tested this doesn't include the host portion and works perfectly: "Name" <Number> This is a result of this change: 9e8ae18f95e<https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/9e8ae18f95e7e5a1de1c751eaf562425d93c41df#src/mod/endpoints/mod_sofia/mod_sofia.c> How do we stop FreeSWITCH from including the IP address in the PAI on display updates for Polycom's? Other than manually reversing this change in our environment. Thanks, Shaun _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales@freeswitch.com<mailto:sales@freeswitch.com> https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu<mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales@freeswitch.com<mailto:sales@freeswitch.com> https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com<mailto:sales@freeswitch.com> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com<mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>