diff --git a/libs/freetdm/src/libteletone_detect.c b/libs/freetdm/src/libteletone_detect.c index e995f98d0f..0d0fd27eec 100644 --- a/libs/freetdm/src/libteletone_detect.c +++ b/libs/freetdm/src/libteletone_detect.c @@ -435,6 +435,7 @@ TELETONE_API(teletone_hit_type_t) teletone_dtmf_detect (teletone_dtmf_detect_sta dtmf_detect_state->zc = ZC; dtmf_detect_state->dur = 0; r = TT_HIT_BEGIN; + break; } } diff --git a/libs/libteletone/src/libteletone_detect.c b/libs/libteletone/src/libteletone_detect.c index e995f98d0f..0d0fd27eec 100644 --- a/libs/libteletone/src/libteletone_detect.c +++ b/libs/libteletone/src/libteletone_detect.c @@ -435,6 +435,7 @@ TELETONE_API(teletone_hit_type_t) teletone_dtmf_detect (teletone_dtmf_detect_sta dtmf_detect_state->zc = ZC; dtmf_detect_state->dur = 0; r = TT_HIT_BEGIN; + break; } }