]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip: Endpoint identifier request URI
authorSperl Viktor <viktike32@gmail.com>
Thu, 28 Mar 2024 13:20:26 +0000 (14:20 +0100)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Thu, 28 Mar 2024 15:05:05 +0000 (15:05 +0000)
commit895ab9d798f8917e07d82485646966e63fb3fd57
tree8265e93f65e41380324e749fbe9af63d46891007
parentc8ab570c6faf2a32c95079d2c01a9ba404f5f91f
res_pjsip_endpoint_identifier_ip: Endpoint identifier request URI

Add ability to match against PJSIP request URI.

UserNote: this new feature let users match endpoints based on the
indound SIP requests' URI. To do so, add 'request_uri' to the
endpoint's 'identify_by' option. The 'match_request_uri' option of
the identify can be an exact match for the entire request uri, or a
regular expression (between slashes). It's quite similar to the
header identifer.

Fixes: #599
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/cf150a175fd3_add_match_request_uri_attribute_to_.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/res_pjsip/pjsip_config.xml
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_endpoint_identifier_ip.c