]> 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>
Tue, 19 Nov 2024 19:55:40 +0000 (12:55 -0700)
commit43b4863b8a4773783d4aee49072263162255cdff
treede83d83d05e29b8fcdc84d2b16a83daf1a01af5d
parent48941949176125f1d8e8d106811016b14611f1a7
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