]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip: Add support for SRV lookups. 97/4697/4
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 14:56:41 +0000 (14:56 +0000)
commit37aaaa2da24ee7f3631a63b26c96fd3586cedbcb
treedfa410b63cf4032bf5c1ae145c3343316ad0e4bb
parentd7e5a747c312de18647213359103ce6022776864
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