]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Mon, 18 Nov 2024 16:29:51 +0000 (16:29 +0000)
commit297559dc1ef41a6b359141bc01f00b908b5e4085
tree8c164341fb192944b4d8d6d89ec9747791e2dcc6
parentd443a960e20bb7bd3b1205972c367e6ab39a2763
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