Skip to end of metadata
Go to start of metadata

Module that identifies endpoints

This configuration documentation is for functionality provided by res_pjsip_endpoint_identifier_ip.

pjsip.conf

identify

Identifies endpoints via some criteria.

Configuration Option Reference

Option Name

Type

Default Value

Regular Expression

Description

endpoint

String

 

false

Name of endpoint identified

match

Custom

 

false

IP addresses or networks to match against.

srv_lookups

Boolean

yes

false

Perform SRV lookups for provided hostnames.

match_header

String

 

false

Header/value pair to match against.

type

None

 

false

Must be of type 'identify'.

Configuration Option Descriptions

match

The value is a comma-delimited list of IP addresses or hostnames. IP addresses may have a subnet mask appended. The subnet mask may be written in either CIDR or dotted-decimal notation. Separate the IP address and subnet mask with a slash ('/').

srv_lookups

When enabled, srv_lookups will perform SRV lookups for _sip._udp, _sip._tcp, and _sips._tcp of the given hostnames to determine additional addresses that traffic may originate from.

match_header

A SIP header whose value is used to match against. SIP requests containing the header, along with the specified value, will be mapped to the specified endpoint. The header must be specified with a :, as in match_header = SIPHeader: value.

The specified SIP header value can be a regular expression if the value is of the form / regex/.

Note

Icon

Use of a regex is expensive so be sure you need to use a regex to match your endpoint.

Import Version

This documentation was imported from Asterisk Version GIT-15-2d835081

  • No labels