forked from Mirrors/freeswitch
send silence on smaller sleeps
This commit is contained in:
parent
e0db68d20b
commit
68021e862f
@ -170,7 +170,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session,
|
|||||||
SWITCH_IVR_VERIFY_SILENCE_DIVISOR(sval);
|
SWITCH_IVR_VERIFY_SILENCE_DIVISOR(sval);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ms > 100 && sval) {
|
if (ms > 10 && sval) {
|
||||||
switch_core_session_get_read_impl(session, &imp);
|
switch_core_session_get_read_impl(session, &imp);
|
||||||
|
|
||||||
if (switch_core_codec_init(&codec,
|
if (switch_core_codec_init(&codec,
|
||||||
|
Loading…
Reference in New Issue
Block a user