[Asterisk-code-review] res_pjsip_endpoint_identifier_ip.c: Add port	matching support (asterisk[13])
    Sean Bright 
    asteriskteam at digium.com
       
    Thu Jan  2 08:34:42 CST 2020
    
    
  
Hello Joshua Colp, Friendly Automation, 
I'd like you to reexamine a change. Please visit
    https://gerrit.asterisk.org/c/asterisk/+/13312
to look at the new patch set (#8).
Change subject: res_pjsip_endpoint_identifier_ip.c: Add port matching support
......................................................................
res_pjsip_endpoint_identifier_ip.c: Add port matching support
Adds source port matching support when IP matching is used:
  [example]
  type = identify
  match = 1.2.3.4:5060/32, 1.2.3.4:6000/32, asterisk.org:4444
If the IP matches but the source port does not, we reject and search for
alternatives. SRV lookups are still performed if enabled (srv_lookups = yes),
unless the configured FQDN includes a port number in which case just a host
lookup is performed.
ASTERISK-28639 #close
Reported by: Mitch Claborn
Change-Id: I256d5bd5d478b95f526e2f80ace31b690eebba92
---
M configs/samples/pjsip.conf.sample
A doc/CHANGES-staging/res_pjsip_endpoint_identifier_ip_match_port.txt
M include/asterisk/acl.h
M main/acl.c
M res/res_pjsip_endpoint_identifier_ip.c
5 files changed, 113 insertions(+), 24 deletions(-)
  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/12/13312/8
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13312
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I256d5bd5d478b95f526e2f80ace31b690eebba92
Gerrit-Change-Number: 13312
Gerrit-PatchSet: 8
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200102/7141ff9e/attachment.html>
    
    
More information about the asterisk-code-review
mailing list