freetdm: fix fxs dialtone - should be stopped on first digit

This commit is contained in:
Moises Silva 2010-08-09 10:11:17 -04:00
parent 9b4ab6f877
commit f822180fb4
1 changed files with 0 additions and 1 deletions

View File

@ -673,7 +673,6 @@ static void *ftdm_analog_channel_run(ftdm_thread_t *me, void *obj)
if (ftdmchan->state == FTDM_CHANNEL_STATE_DIALTONE) {
ftdm_set_state_locked(ftdmchan, FTDM_CHANNEL_STATE_COLLECT);
ftdm_clear_flag_locked(ftdmchan, FTDM_CHANNEL_STATE_CHANGE);
collecting = 1;
}
dtmf_offset = strlen(dtmf);