]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address.
authorSperl Viktor <viktike32@gmail.com>
Thu, 28 Mar 2024 15:22:24 +0000 (16:22 +0100)
committerSperl Viktor <viktike32@gmail.com>
Wed, 3 Apr 2024 17:17:57 +0000 (17:17 +0000)
commit62bee37d0d440b817ac0969bd13ab170205b68c0
tree5d52d69fe96eef959cd75572c4795ef8d5c282ce
parent4cb56ccd28a836828409de648f195bc9ba6a6f34
res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address.

Add a new identify_by option to res_pjsip_endpoint_identifier_ip
called 'transport' this matches endpoints based on the bound
ip address (local) instead of the 'ip' option, which matches on
the source ip address (remote).

UserNote: set identify_by=transport for the pjsip endpoint. Then
use the existing 'match' option and the new 'transport' option of
the identify.

Fixes: #672
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/d5122576cca8_add_transport_attribute_to_identify.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