]> 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)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 3 Apr 2024 17:18:00 +0000 (17:18 +0000)
commit0ab4a5ef6b1b3aab967e782fa9d5cb60d1cbcc5f
treeb89450f9d1b7d12ebf6dedd4c8c8b2ffebd012c5
parentb23f089472600ccff34a7d6ce1ff6f328f51e52e
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