ENUM Routing

From Yate Documentation
Jump to: navigation, search

This module performs routing using the ENUM protocols that maps phone numbers to VoIP (or even other PSTN) resources.
This protocol uses a specific format of DNS queries and depends on an external domain name server.


Configuration file

This is done from enumroute.conf file.

General section

This section sets the global variables of the ENUM implementation.

; priority: int: Priority in Yate's handlers chain
;  This MUST be set to a positive value to enable the module

; prefix: string: Local dial prefix for international numbers

; minlen: int: Minimum length of a number (prefix removed) to try to resolve

; domains: string: Comma separated list of domain suffixes to use for ENUM

; domain: string: Domain to use as suffix for ENUM
;  OBSOLETE - do not use, for backwards compatibility only

; backup: string: Secondary domain to use as suffix for ENUM
;  OBSOLETE - do not use, for backwards compatibility only

; timeout: int: Timeout of each resolver attempt in seconds

; retries: int: Number of retries before giving up

; redirect: bool: Attempt to redirect the incoming call to found address

; autofork: bool: Create a fallback route from ordered NAPTR records

; forkstop: string: Regular expression matching the names of the errors
;  that will terminate the entire call, not just one route

; maxcall: int: Milliseconds to call each route when forking the call
;  This parameter is constrained between 2000 and 120000 ms

Protocols section

Allows user to enable or disable different protocols.

; sip: bool: Enable the SIP protocol (E2U+SIP)

; iax: bool: Enable the IAX2 protocol (E2U+IAX2)

; h323: bool: Enable the H.323 protocol (E2U+H323)

; jingle: bool Enable the Jingle protocol (E2U+XMPP)

; void: bool: Enable declaring unallocated numbers (E2U+VOID)

; pstn: bool: Enable routes to PSTN gateways (E2U+PSTN)

; pstn: bool: Enable routes to Voice terminals (E2U+VOICE)

; tel: bool: Enable the TEL rerouting (E2U+TEL)

Routing numbers issues

ENUM can route only fully qualified E.164 phone numbers.
The number must start with a + character (or the configuration defined international dialing prefix) followed by the country code prefix and the rest of the number.

See also

Personal tools