use system default dtmf duration instead of hardcoded value

This commit is contained in:
Michael Jerris 2011-08-31 14:44:48 -04:00
parent f5dac88b66
commit 77284b5d21
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
}
while (ftdm_channel_dequeue_dtmf(tech_pvt->ftdmchan, dtmf, sizeof(dtmf))) {
switch_dtmf_t _dtmf = { 0, SWITCH_DEFAULT_DTMF_DURATION };
switch_dtmf_t _dtmf = { 0, switch_core_default_dtmf_duration(0) };
char *p;
for (p = dtmf; p && *p; p++) {
if (is_dtmf(*p)) {