]> 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:56:16 +0000 (12:56 -0700)
commit95e3e202cc62876c91c3a2fb0eff99eee667739d
tree27b8b23e877a1b97e84edfde8bd7a6d3711c45cc
parent65d531c8e983e3514cce950fac284bed8e8839fa
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