diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-09-06 11:50:53 -0400 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-09-06 17:11:41 -0400 |
commit | e4797b2cbd11e74de29edf472754648dd761a9e7 (patch) | |
tree | d6956dfd254281e2e1af2cc361c00e3e60c0ac84 /contrib/ast-db-manage/config | |
parent | d715beae165c5aa7c399441ec897dc9ebd6f4efa (diff) |
app_waitforsilence: Cleanup & don't treat missing frames as 'noise'
* 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
Diffstat (limited to 'contrib/ast-db-manage/config')
0 files changed, 0 insertions, 0 deletions