• Travis Cross's avatar
    Fix handling of send_silence_when_idle==0 in switch_ivr_sleep · 11ca1a2b
    Travis Cross 提交于
    When the channel variable send_silence_when_idle was set to zero,
    switch_ivr_sleep was calling SWITCH_IVR_VERIFY_SILENCE_DIVISOR on it
    anyway, causing it to be set to 400.  The only way to get the behavior
    of not sending silence when idle was to unset the variable completely.
    
    This corrects the behavior such that setting the value to zero has the
    same effect as leaving it unset.
    11ca1a2b
switch_ivr.c 114.0 KB