<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: 5f2857b8b8e2d426f9b442e5afb9a26997635330 (commit)
from: 722b2ce16807e77228f7698275a177af9901ad61 (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Brian West
comments:
use the correct URI on endpoints behind nat
<span style="color: #000080; font-weight: bold">diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c</span>
<span style="color: #000080; font-weight: bold">index 3755894..df472f2 100644</span>
<span style="color: #A00000">--- a/src/mod/endpoints/mod_sofia/sofia_presence.c</span>
<span style="color: #00A000">+++ b/src/mod/endpoints/mod_sofia/sofia_presence.c</span>
<span style="color: #800080; font-weight: bold">@@ -190,16 +190,8 @@ switch_status_t sofia_presence_chat_send(const char *proto, const char *from, co</span>
                dup_dest = strdup(dst->contact);
<span style="color: #A00000">-                if (switch_stristr("fs_path", dst->contact)) {</span>
<span style="color: #A00000">-                        const char *s;</span>
<span style="color: #A00000">-</span>
<span style="color: #A00000">-                        if ((s = switch_stristr("fs_path=", dst->contact))) {</span>
<span style="color: #A00000">-                                s += 8;</span>
<span style="color: #A00000">-                        }</span>
<span style="color: #A00000">-                        if (s) {</span>
<span style="color: #A00000">-                                remote_host = strdup(s);</span>
<span style="color: #A00000">-                                switch_url_decode(remote_host);</span>
<span style="color: #A00000">-                        }</span>
<span style="color: #00A000">+                if (dst->route_uri) {</span>
<span style="color: #00A000">+                        remote_host = strdup(dst->route_uri);</span>
                        if (!zstr(remote_host)) {
                                switch_split_user_domain(remote_host, NULL, &remote_ip);
                        }
</pre></div>
========================================================================<pre>
Summary of changes:
src/mod/endpoints/mod_sofia/sofia_presence.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>