-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[improvement]: Endpoint identifier request line #599
Copy link
Copy link
Closed
Labels
improvementsupport-level-coreFunctionality with core support levelFunctionality with core support level
Description
Improvement Description
I've encountered a strange SIP setup, and needed to match and endpoint not even by header, but the request line (first line of the SIP message). Therefor I wrote a small patch to res_pjsip_endpoint_identifier_ip module to handle this (attached). It works like matching any other SIP header (eg.: exact match or regular expression), but instead of the header's name, the keyword "request" can be set. Like:
match_header=Request:/.172.28.129.195./
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
improvementsupport-level-coreFunctionality with core support levelFunctionality with core support level