]> 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)
committerSean Bright <sean@seanbright.com>
Tue, 23 Jan 2024 16:36:11 +0000 (16:36 +0000)
commit9dd9615edf86d200bb35e2ebf9ca0f52b557ab1d
treed75cdb125e584b00a22a7f23903bc827ed444c7f
parentd6c10075f8bbfdf84f83ee0f3bfdd3c00bc480c8
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
apps/confbridge/conf_config_parser.c