mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
OPENZAP-99
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1036 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
@@ -1225,9 +1225,7 @@ OZ_DECLARE(zap_status_t) zap_channel_done(zap_channel_t *zchan)
|
||||
zchan->pre_buffer_size = 0;
|
||||
zap_mutex_unlock(zchan->pre_buffer_mutex);
|
||||
|
||||
if (zchan->dtmf_buffer) {
|
||||
zap_buffer_zero(zchan->dtmf_buffer);
|
||||
}
|
||||
zap_channel_flush_dtmf(zchan);
|
||||
|
||||
zchan->init_state = ZAP_CHANNEL_STATE_DOWN;
|
||||
zchan->state = ZAP_CHANNEL_STATE_DOWN;
|
||||
|
Reference in New Issue
Block a user