git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10536 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-25 19:35:20 +00:00
parent c6127f7797
commit 9fdb108bb9

View File

@ -1673,6 +1673,10 @@ SWITCH_DECLARE(switch_size_t) switch_rtp_dequeue_dtmf(switch_rtp_t *rtp_session,
}
switch_mutex_unlock(rtp_session->dtmf_data.dtmf_mutex);
if (bytes) {
rtp_flush_read_buffer(rtp_session);
}
return bytes;
}