Fix for not flushing DTMF buffer at end of call
This commit is contained in:
parent
ac0defb874
commit
fb9163fe5a
|
@ -2968,6 +2968,10 @@ static ftdm_status_t ftdm_channel_done(ftdm_channel_t *ftdmchan)
|
|||
ftdm_buffer_zero(ftdmchan->gen_dtmf_buffer);
|
||||
}
|
||||
|
||||
if (ftdmchan->dtmf_buffer) {
|
||||
ftdm_buffer_zero(ftdmchan->dtmf_buffer);
|
||||
}
|
||||
|
||||
if (ftdmchan->digit_buffer) {
|
||||
ftdm_buffer_zero(ftdmchan->digit_buffer);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue