Skip to content

[improvement]: Endpoint identifier request line #599

@viktike

Description

@viktike

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./

pjsip_endpoint_identifier_header_request_line.patch

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions