From: Moises Silva Date: Mon, 9 Aug 2010 14:11:17 +0000 (-0400) Subject: freetdm: fix fxs dialtone - should be stopped on first digit X-Git-Tag: v1.2-rc1~526^2~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f822180fb488f689c9a2c74de2078a6f55b6f322;p=thirdparty%2Ffreeswitch.git freetdm: fix fxs dialtone - should be stopped on first digit --- diff --git a/libs/freetdm/src/ftmod/ftmod_analog/ftmod_analog.c b/libs/freetdm/src/ftmod/ftmod_analog/ftmod_analog.c index 6a47b94ff5..4dce1904ac 100644 --- a/libs/freetdm/src/ftmod/ftmod_analog/ftmod_analog.c +++ b/libs/freetdm/src/ftmod/ftmod_analog/ftmod_analog.c @@ -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);