Creating a DID-Range-Based LRT File
A DID-Range-Based LRT file is a well-formed XML document with a <localRoutes/> root element.
The following attribute is found within the <localRoutes/> element.
type — This attribute is required for a DID-range-based LRT; set this attribute’s value to range.
<localRoutes/> can contain any number of child <route/> elements.
Each <route/> element contains:
- a required <user/> element that (1) defines the LRT type, and (2) in the case of a DID-range-based LRT, specifies a contiguous range of DID telephone numbers
The following attributes are found within the <user/> element:
type — This required attribute can be assigned one of three enumerated values (E164, string, or range); for a DID-range-based LRT, you must use the range value.
rangeStart — This required attribute specifies the start value for the DID range.
rangeEnd— This required attribute specifies the end value for the DID range.
rangePrefix — This optional attribute specifies the common prefix for the range bracketed by the rangeStart and rangeEnd attributes.
- a required <next/> element that uses regular expression syntax to specify the routing next hop
- an optional <description/> element that provides information relevant to the range of DID addresses
When crafting your LRT file, keep the following rules in mind.