]> 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)
committerSperl Viktor <viktike32@gmail.com>
Thu, 28 Mar 2024 15:05:02 +0000 (15:05 +0000)
commit83f1317eb4ab8adb7181424854c4016e317448d9
treec79d3e814a68e6b309bbcf997b1b5112bfde330d
parentf61e1d902b6905d2808e6cade39929350f0ae7dc
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