<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: f734891d75d0c8a24ec815aeb8386e3b8646c162 (commit)
from: 22b3d34d559635485054e8d4b3f0d7cc28e0abec (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Moises Silva
comments:
freetdm: only set ec call end when the HANGUP state is confirmed
<span style="color: #000080; font-weight: bold">diff --git a/libs/freetdm/src/ftdm_io.c b/libs/freetdm/src/ftdm_io.c</span>
<span style="color: #000080; font-weight: bold">index 260892a..504c00f 100644</span>
<span style="color: #A00000">--- a/libs/freetdm/src/ftdm_io.c</span>
<span style="color: #00A000">+++ b/libs/freetdm/src/ftdm_io.c</span>
<span style="color: #800080; font-weight: bold">@@ -2175,8 +2175,6 @@ static ftdm_status_t _ftdm_channel_call_hangup_nl(const char *file, const char *</span>
{
        ftdm_status_t status = FTDM_SUCCESS;
        
<span style="color: #A00000">-        ftdm_set_echocancel_call_end(chan);</span>
<span style="color: #A00000">-        </span>
        if (chan->state != FTDM_CHANNEL_STATE_DOWN) {
                if (chan->state == FTDM_CHANNEL_STATE_HANGUP) {
                        /* make user's life easier, and just ignore double hangup requests */
<span style="color: #000080; font-weight: bold">diff --git a/libs/freetdm/src/ftdm_state.c b/libs/freetdm/src/ftdm_state.c</span>
<span style="color: #000080; font-weight: bold">index de62c0f..9fe2b91 100644</span>
<span style="color: #A00000">--- a/libs/freetdm/src/ftdm_state.c</span>
<span style="color: #00A000">+++ b/libs/freetdm/src/ftdm_state.c</span>
<span style="color: #800080; font-weight: bold">@@ -83,6 +83,8 @@ FT_DECLARE(ftdm_status_t) _ftdm_channel_complete_state(const char *file, const c</span>
                msg.channel = fchan;
                msg.event_id = FTDM_SIGEVENT_DIALING;
                ftdm_span_send_signal(fchan->span, &msg);
<span style="color: #00A000">+        } else if (state == FTDM_CHANNEL_STATE_HANGUP) {</span>
<span style="color: #00A000">+                ftdm_set_echocancel_call_end(fchan);</span>
        }
        /* MAINTENANCE WARNING
</pre></div>
========================================================================<pre>
Summary of changes:
libs/freetdm/src/ftdm_io.c | 2 --
libs/freetdm/src/ftdm_state.c | 2 ++
2 files changed, 2 insertions(+), 2 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>