[Asterisk-code-review] res_pjsip_endpoint_identifier_ip.c: Add port matching support (asterisk[13])

Sean Bright asteriskteam at digium.com
Sat Nov 30 15:55:51 CST 2019


Hello 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 (#3).

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/32
  match_port = 5060, 6000

If the IP matches but the source port does not, we reject and search for
alternatives.

ASTERISK-28639 #close
Reported by: Mitch Claborn

Change-Id: I256d5bd5d478b95f526e2f80ace31b690eebba92
---
M configs/samples/pjsip.conf.sample
A contrib/ast-db-manage/config/versions/e6420d7ca697_add_match_port_to_ip_identify.py
A doc/CHANGES-staging/identify-match-port.txt
M res/res_pjsip_endpoint_identifier_ip.c
4 files changed, 170 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/12/13312/3
-- 
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: 3
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20191130/1091eb68/attachment.html>


More information about the asterisk-code-review mailing list