<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">The RPID FreeSWITCH sends in the INVITE and in SIP SIP OK is formatted correctly:</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>Remote-Party-ID: "test" <sip:222@mydomain.co.co>;party=calling;screen=yes;privacy=off</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
The UPDATE which follows with the PAI is formatted differently:
<p></p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>P-Asserted-Identity: "test" <sip:222@127.0.0.10></div>
<div><br>
</div>
<div>The host portion of the PAI appears to come from the host portion of the Contact header instead of using the From header.</div>
<div><br>
</div>
<div>
<div><span style="font-size: 12pt;">There doesn't appear to be a way to fix this with-out changing
</span><span style="font-size: 12pt;">code with-in 'mod_sofia.c'.</span><br>
</div>
</div>
<div><br>
</div>
<div>We're working around the problem for now by transforming the PAI from FreeSWITCH as it passes through our proxy.</div>
<div><br>
</div>
<div>- Shaun</div>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Shaun Stokes <shaun.stokes@itec-support.co.uk><br>
<b>Sent:</b> 25 April 2019 19:14:32<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] P-Asserted-Identity in display updates fortPolycom's</font>
<div> </div>
</div>
<div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
The host in our PAI is the proxy (Kamailio) which sits between the device and FreeSWITCH.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Kamailio proxies all messages between the device and FreeSWITCH on an internal address.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
The device communicates with Kamilio on an external address and has no communication with FreeSWITCH other than RTP.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
- Shaun<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Get <a href="https://aka.ms/ghei36">Outlook for Android</a></div>
<br>
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
From: Brian West<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Sent: Thursday 25 April, 19:15<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates forPolycom's<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
To: FreeSWITCH Users Help<br>
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
The host in the PAI differ from the host FS is accessed with? and they differ from the proxy?
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
/b<br>
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
On Thu, Apr 25, 2019 at 9:38 AM Shaun Stokes <<a href="mailto:shaun.stokes@itec-support.co.uk">shaun.stokes@itec-support.co.uk</a>> wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Polycom's are on current firmware '5.7.4'. <br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
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.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
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.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Thanks,<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Shaun<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<b><font color="#000000">From:</font></b><font color="#000000"> Nathan Neulinger <</font><a href="mailto:nneul@mst.edu"><font color="#000000">nneul@mst.edu</font></a><font color="#000000">></font><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<b><font color="#000000">Sent:</font></b><font color="#000000"> 25 April 2019 14:17:19</font><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<b><font color="#000000">To:</font></b><font color="#000000"> FreeSWITCH Users Help; Shaun Stokes</font><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<b><font color="#000000">Subject:</font></b><font color="#000000"> Re: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's</font>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Are you running current polycom firmware on the devices? Sounds from the commit like it was changes after polycom fixed bug on their side.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
-- Nathan<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<b><font color="#000000">From:</font></b><font color="#000000"> Shaun Stokes </font>
<a href="mailto:shaun.stokes@itec-support.co.uk"><font color="#000000"><shaun.stokes@itec-support.co.uk></font></a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<b><font color="#000000">Sent:</font></b><font color="#000000"> Thu, Apr 25, 2019 7:10 AM CDT</font><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<b><font color="#000000">To:</font></b><font color="#000000"> FreeSWITCH Users Help
</font><a href="mailto:freeswitch-users@lists.freeswitch.org"><font color="#000000"><freeswitch-users@lists.freeswitch.org></font></a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<b><font color="#000000">Subject:</font></b><font color="#000000"> [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's</font><br>
<br>
</div>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
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: <br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
"Name" <sip:Number:Host:Port><br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
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:<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
"Name" <Number><br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
This is a result of this change: <a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/9e8ae18f95e7e5a1de1c751eaf562425d93c41df#src/mod/endpoints/mod_sofia/mod_sofia.c">9e8ae18f95e</a>
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
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.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Thanks,<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Shaun<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
_________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire
<a href="https://signalwire.com">https://signalwire.com</a> 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
<a href="https://signalwire.community">https://signalwire.community</a> Professional FreeSWITCH Services
<a href="mailto:sales@freeswitch.com">sales@freeswitch.com</a> <a href="https://freeswitch.com">
https://freeswitch.com</a> Official FreeSWITCH Sites <a href="https://freeswitch.com/oss">
https://freeswitch.com/oss</a> <a href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a>
<a href="https://cluecon.com">https://cluecon.com</a> FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="https://freeswitch.com">https://freeswitch.com</a> <br>
</div>
</blockquote>
</blockquote>
<blockquote type="cite">
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
-- ------------------------------------------------------------ Nathan Neulinger <a href="mailto:nneul@mst.edu">
nneul@mst.edu</a> Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
_________________________________________________________________________<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com">
https://signalwire.com</a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Build your next product on our scalable cloud platform.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Join our online community to chat in real time <a href="https://signalwire.community">
https://signalwire.community</a><br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Professional FreeSWITCH Services<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<a href="mailto:sales@freeswitch.com">sales@freeswitch.com</a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<a href="https://freeswitch.com">https://freeswitch.com</a><br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
Official FreeSWITCH Sites<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<a href="https://freeswitch.com/oss">https://freeswitch.com/oss</a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<a href="https://freeswitch.org/confluence">https://freeswitch.org/confluence</a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<a href="https://cluecon.com">https://cluecon.com</a><br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
FreeSWITCH-users mailing list<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<a href="https://freeswitch.com">https://freeswitch.com</a><br>
</div>
</blockquote>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
-- <br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<font color="#000000">Brian West | Co-founder and Developer</font><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<font color="#000000">Need Commercial support? email </font><a href="mailto:sales@freeswitch.com"><font color="#000000">sales@freeswitch.com</font></a><font color="#000000">
</font><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<font color="#000000">FreeSWITCH Solutions | </font><a href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g"><font color="#000000">17345 Civic Drive #2531 Brookfield, WI 53045</font></a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<font color="#000000">Email: </font><a href="mailto:brian@freeswitch.com"><font color="#000000">brian@freeswitch.com</font></a><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<font color="#000000">Mobile: 918-424-9378</font><br>
</div>
<div dir="auto" style="direction:ltr; margin:0; padding:0; font-family:sans-serif; font-size:11pt; color:black">
<font color="#000000">Website: </font><a href="https://www.freeswitch.com/"><font color="#000000">https://www.FreeSWITCH.com</font></a><br>
<br>
<br>
<br>
</div>
</div>
</body>
</html>