diff options
author | Matt Jordan <mjordan@digium.com> | 2017-03-14 07:50:07 -0500 |
---|---|---|
committer | Matt Jordan <mjordan@digium.com> | 2017-03-14 10:55:36 -0500 |
commit | b3c2c996f1de6a26364c7f691ceeebf30586cff1 (patch) | |
tree | d12a2293099fffc6678aa495644ded180c555952 /CHANGES | |
parent | 523de8eb8e0f7283b6c9210d5da0df541684e784 (diff) |
res_pjsip_endpoint_identifier_ip: Add an option to match requests by header
This patch adds a new features to the endpoint identifier module,
'match_header'. When set, inbound requests are matched by a provided SIP
header: value pair. This option works in conjunction with the existing
'match' configuration option, such that if any 'match*' attribute
matches an inbound request, the request is associated with the specified
endpoint.
Since this module now identifies by more than just IP address,
appropriate renaming of the module and/or variables can be done in a
non-release branch.
ASTERISK-26863 #close
Change-Id: Icfc14835c962f92e35e67bbdb235cf0589de5453
(cherry picked from commit 30f52d79d7fc9ab0b628bef2b61ea515413795a2)
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -12,6 +12,14 @@ --- Functionality changes from Asterisk 13.14.0 to Asterisk 13.15.0 ---------- ------------------------------------------------------------------------------ +AMI +------------------ + * The 'PJSIPShowEndpoint' command's respone event of 'IdentifyDetail' now + contains a new optional parameter, 'MatchHeader', mapping to the new + configuration option 'match_header' for the corresponding 'identify' object. + It should be noted that since 'match_header' takes in a key: value pair, the + event parameter will contain a ':' as well. + app_record ------------------ * Added new 'u' option to Record() application which prevents Asterisk from @@ -41,6 +49,20 @@ res_pjsip_transport_websocket when Asterisk attempts to send SIP requests to do something like initiate call hangup. +res_pjsip_endpoint_identifier_ip +------------------ + * A new option has been added to the 'identify' configuration object, + 'match_header'. The 'match_header' attribute should contain a SIP + header: value pair that, When set, will cause inbound requests that contain + the matching SIP header/value pair to be associated with the corresponding + endpoint. This option is cumulative with the 'match' option, so that if + either option matches the request, the request is associated with the + endpoint. + + In a future release, this module will be renamed to something more + appropriate, as it now matches inbound requests on more than just IP + address. + ------------------------------------------------------------------------------ --- Functionality changes from Asterisk 13.13.0 to Asterisk 13.14.0 ---------- ------------------------------------------------------------------------------ |