]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Change suppress_moh_on_sendonly to OPT_BOOL_T
authorGeorge Joseph <gjoseph@sangoma.com>
Fri, 15 Nov 2024 17:24:42 +0000 (10:24 -0700)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Mon, 18 Nov 2024 16:29:54 +0000 (16:29 +0000)
commit2694f78d03b91abfd82c3818af7d1d1d0bd5e0ca
tree74deda1a02908ddaddaed5d520f955768ffc6d1d
parent02e2000653e559856fef3e1172d1c5b52ce46785
res_pjsip: Change suppress_moh_on_sendonly to OPT_BOOL_T

The suppress_moh_on_sendonly endpoint option should have been
defined as OPT_BOOL_T in pjsip_configuration.c and AST_BOOL_VALUES
in the alembic script instead of OPT_YESNO_T and YESNO_VALUES.

Also updated contrib/ast-db-manage/README.md to indicate that
AST_BOOL_VALUES should always be used and provided an example.

Resolves: #995
contrib/ast-db-manage/README.md
contrib/ast-db-manage/config/versions/4f91fc18c979_add_suppress_moh_on_sendonly.py
res/res_pjsip/pjsip_configuration.c