]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_confbridge: Don't emit warnings on valid configurations.
authorSean Bright <sean@seanbright.com>
Sun, 21 Jan 2024 16:40:19 +0000 (11:40 -0500)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 7 Mar 2024 14:16:38 +0000 (14:16 +0000)
commit295ef9d052569837b994a5ae6a93d3c94bb44a33
treecc2adc17cd9121c7b519f80404ffb11e1002973f
parentcf91d9f53dfc4d11b09c0035174f119ab4c643d6
app_confbridge: Don't emit warnings on valid configurations.

The numeric bridge profile options `internal_sample_rate` and
`maximum_sample_rate` are documented to accept the special values
`auto` and `none`, respectively. While these values currently work,
they also emit warnings when used which could be confusing for users.

In passing, also ensure that we only accept the documented range of
sample rate values between 8000 and 192000.

Fixes #546

(cherry picked from commit 9dd9615edf86d200bb35e2ebf9ca0f52b557ab1d)
apps/confbridge/conf_config_parser.c