Skip to content
Snippets Groups Projects
  • Sean Bright's avatar
    2b3f903e
    app_waitforsilence: Cleanup & don't treat missing frames as 'noise' · 2b3f903e
    Sean Bright authored
    * WaitForSilence completes successfully if it receives no media in the
      specified timeout, but when acting as WaitForNoise that logic needs
      to be reversed.
    
    * Use standard argument parsing macros and add some error checking for
      invalid values.
    
    * The documentation indicated that the first argument to both
      WaitForSilence and WaitForNoise was required when it was not. Update
      the documentation to reflect that.
    
    * Wrap up some behavior in structs to avoid boolean checks all over the
      place.
    
    ASTERISK-24066 #close
    Reported by: M vd S
    
    Change-Id: I01d40adc5b63342bb5018a1bea2081a0aa191ef9
    2b3f903e
    History
    app_waitforsilence: Cleanup & don't treat missing frames as 'noise'
    Sean Bright authored
    * WaitForSilence completes successfully if it receives no media in the
      specified timeout, but when acting as WaitForNoise that logic needs
      to be reversed.
    
    * Use standard argument parsing macros and add some error checking for
      invalid values.
    
    * The documentation indicated that the first argument to both
      WaitForSilence and WaitForNoise was required when it was not. Update
      the documentation to reflect that.
    
    * Wrap up some behavior in structs to avoid boolean checks all over the
      place.
    
    ASTERISK-24066 #close
    Reported by: M vd S
    
    Change-Id: I01d40adc5b63342bb5018a1bea2081a0aa191ef9