res_pjsip_endpoint_identifier_ip: Add support for SRV lookups.
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:22 +0000 (09:00 -0600)
commita7d856cd96eb1e1f02fcde6b3e6bef35e1715bd5
tree9991d4d01fef6097451ef959793f3b2eb1e7f1ea
parent6962a13466c5e5b42e029f6d79da5262565317b3
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