[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:48:28 CST 2019


Sean Bright has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/c/asterisk/+/13312 )

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: MLC in #asterisk

Change-Id: I256d5bd5d478b95f526e2f80ace31b690eebba92
---
M configs/samples/pjsip.conf.sample
A contrib/ast-db-manage/config/versions/e6420d7ca697_add_match_port_to_ip_identify.py
M res/res_pjsip_endpoint_identifier_ip.c
3 files changed, 165 insertions(+), 6 deletions(-)


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


More information about the asterisk-code-review mailing list