]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Add new AOR option "qualify_2xx_only"
authorKent <kent@amtelco.com>
Tue, 3 Dec 2024 14:24:44 +0000 (08:24 -0600)
committerKent <kent@amtelco.com>
Thu, 26 Dec 2024 14:58:11 +0000 (14:58 +0000)
commit0b30f546bac549fae8cc0c7c3ea2fb433d29d3e5
treeb719c03da1e7fe4cd2781cf755dc9261b7a66cab
parent10adfa920af4f0c2ca4b17794567d92c29ff23cb
res_pjsip: Add new AOR option "qualify_2xx_only"

Added a new option "qualify_2xx_only" to the res_pjsip AOR qualify
feature to mark a contact as available only if an OPTIONS request
returns a 2XX response. If the option is not specified or is false,
any response to the OPTIONS request marks the contact as available.

UserNote: The pjsip.conf AOR section now has a "qualify_2xx_only"
option that can be set so that only 2XX responses to OPTIONS requests
used to qualify a contact will mark the contact as available.
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/44bd6dd914fa_add_qualify_2xx_only_option.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/res_pjsip/location.c
res/res_pjsip/pjsip_config.xml
res/res_pjsip/pjsip_options.c
res/res_pjsip_registrar.c