update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10536 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c6127f7797
commit
9fdb108bb9
|
@ -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);
|
switch_mutex_unlock(rtp_session->dtmf_data.dtmf_mutex);
|
||||||
|
|
||||||
|
if (bytes) {
|
||||||
|
rtp_flush_read_buffer(rtp_session);
|
||||||
|
}
|
||||||
|
|
||||||
return bytes;
|
return bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue