]> 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:08 +0000 (14:58 +0000)
commit21dba60ff2a0d29d1bef5da33b77c7c7392d7156
treec55af9fc92a8b1ee1e62c98ca56c9803b51ba951
parent865c8b82322ac2464ce6ca2b5ab8f3b6e49543ab
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