]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip: Add support for SRV lookups. 98/4698/3
authorJoshua Colp <jcolp@digium.com>
Thu, 5 Jan 2017 12:11:43 +0000 (12:11 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 6 Jan 2017 15:00:16 +0000 (09:00 -0600)
commita52598093d629cbd2da151c52161f9306bb3243e
treefe8a610851c19620425a666bc18f399f1784ccc2
parentb1909a70a5674d99c49ec9fe220e35b8dacd4415
res_pjsip_endpoint_identifier_ip: Add support for SRV lookups.

This change implements SRV support for the IP based endpoint
identifier module. All possible addresses through SRV are looked
up and added as matches. If no SRV records are available a
fallback to normal host resolution is done. If an IP address
is provided then no SRV lookup occurs.

This is configured using the "srv_lookups" option on the
identify section and defaults to "yes".

ASTERISK-26693

Change-Id: I6b641e275bf96629320efa8b479737062aed82ac
CHANGES
contrib/ast-db-manage/config/versions/28ab27a7826d_add_srv_lookups_to_identify.py [new file with mode: 0644]
res/res_pjsip_endpoint_identifier_ip.c