]> 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:10 +0000 (14:58 +0000)
commit85f5a047c121542c3e106c221b51b21ddb36dd15
tree589ef60e936cad85b990ae46489bee1716270956
parente98887f3dce5920ef066c84010a4496d1321ac7c
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