<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: 4b62ff799e00a30fb898ddea2633d928d0d24eeb (commit)
from: 65d5932c9ffc17be3df98deb0fe0e3552565eb76 (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Anthony Minessale
comments:
put transport in the request uri on outbound registers if register_transport is set and proxy does not already contain a transport param
<span style="color: #000080; font-weight: bold">diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c</span>
<span style="color: #000080; font-weight: bold">index 825d1bf..e9d2cad 100644</span>
<span style="color: #A00000">--- a/src/mod/endpoints/mod_sofia/sofia.c</span>
<span style="color: #00A000">+++ b/src/mod/endpoints/mod_sofia/sofia.c</span>
<span style="color: #800080; font-weight: bold">@@ -2148,8 +2148,13 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)</span>
                        if (!zstr(from_domain)) {
                                gateway->from_domain = switch_core_strdup(gateway->pool, from_domain);
                        }
<span style="color: #00A000">+                        </span>
<span style="color: #00A000">+                        if (!zstr(register_transport) && !switch_stristr("transport=", proxy)) {</span>
<span style="color: #00A000">+                                gateway->register_url = switch_core_sprintf(gateway->pool, "sip:%s;transport=%s", proxy, register_transport);</span>
<span style="color: #00A000">+                        } else {</span>
<span style="color: #00A000">+                                gateway->register_url = switch_core_sprintf(gateway->pool, "sip:%s", proxy);</span>
<span style="color: #00A000">+                        }</span>
<span style="color: #A00000">-                        gateway->register_url = switch_core_sprintf(gateway->pool, "sip:%s", proxy);</span>
                        gateway->register_from = switch_core_sprintf(gateway->pool, "<sip:%s@%s;transport=%s>",
                                                                                                                 from_user, !zstr(from_domain) ? from_domain : proxy, register_transport);
</pre></div>
========================================================================<pre>
Summary of changes:
src/mod/endpoints/mod_sofia/sofia.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 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>