mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 06:26:41 +00:00
res_pjsip: Endpoint IP Access Controls
With the old SIP module we can use IP access controls per peer.
PJSIP module missing this feature.
This patch added next configuration Endpoint options:
"acl" - list of IP ACL section names in acl.conf
"deny" - List of IP addresses to deny access from
"permit" - List of IP addresses to permit access from
"contact_acl" - List of Contact ACL section names in acl.conf
"contact_deny" - List of Contact header addresses to deny
"contact_permit" - List of Contact header addresses to permit
This patch also better logging failed request:
add custom message instead of "No matching endpoint found"
add SIP method to logging
ASTERISK-25900
Change-Id: I456dea3909d929d413864fb347d28578415ebf02
This commit is contained in:
9
CHANGES
9
CHANGES
@@ -19,6 +19,15 @@ res_fax
|
||||
|
||||
res_pjsip
|
||||
------------------
|
||||
* Endpoint IP Access Controls
|
||||
Added new configuration Endpoint options:
|
||||
"acl" - list of IP ACL section names in acl.conf
|
||||
"deny" - List of IP addresses to deny access from
|
||||
"permit" - List of IP addresses to permit access from
|
||||
"contact_acl" - List of Contact ACL section names in acl.conf
|
||||
"contact_deny" - List of Contact header addresses to deny
|
||||
"contact_permit" - List of Contact header addresses to permit
|
||||
|
||||
* Added new status Updated to AMI event ContactStatus on update registration
|
||||
|
||||
* Added "reg_server" to contacts.
|
||||
|
||||
Reference in New Issue
Block a user