Skip to content
Snippets Groups Projects
Commit 681cc763 authored by George Yang (IOPSYS)'s avatar George Yang (IOPSYS) Committed by Yalu Zhang
Browse files

Asterisk: Enable "match_request_uri" identifier

parent d2f5b32c
No related branches found
No related tags found
1 merge request!172Asterisk: Enable "match_request_uri" identifier
...@@ -5,7 +5,7 @@ allowoverlap = yes ...@@ -5,7 +5,7 @@ allowoverlap = yes
type = global type = global
debug = yes debug = yes
user_agent = |USERAGENT| user_agent = |USERAGENT|
endpoint_identifier_order = header,anonymous,ip endpoint_identifier_order = header,request_uri,anonymous,ip
use_callerid_contact = yes use_callerid_contact = yes
accept_proxy_req_only = |ACCEPT_PROXY_REQ_ONLY| accept_proxy_req_only = |ACCEPT_PROXY_REQ_ONLY|
allow_tx_hash_in_uri = |TX_HASH_IN_URI| allow_tx_hash_in_uri = |TX_HASH_IN_URI|
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
type = identify type = identify
endpoint = |NAME| endpoint = |NAME|
match_header = To: /<sip:\|USER|/ match_header = To: /<sip:\|USER|/
match_request_uri = /sip:(\+\d+|\d*)|USER|@/
[|NAME|_tel] [|NAME|_tel]
type = identify type = identify
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment