ADTRAN AOS Version R10.1.0 Command Reference Manual page 3566

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
The following are example template entries using wildcards:
1. 555-81xx matches 555-8100 to 555-8199.
2. 555-812[012] matches 555-8120 to 555-8122.
3. Nxx-xxxx matches 7 digits local.
4. 1-Nxx-Nxx-xxxx matches long distance calls in North America.
Additional wildcards ($ and 0 to 9) can also be used. The CLI also contains helpful information regarding
the construction of the template and can be viewed by entering the match ani command followed by a
question mark. For example, entering the command as follows results in the template input specifications:
(config)#match ani ?
In the following example command, the match source template is in bold:
match ani !2565558XXX replace diversion 2565558000 unconditional yes full
In this example, the template includes a ! at the beginning. The ! indicates that the inverse
of the template is matched. Inverse matching can only be used with the match source
template and requires a static target template (the target template cannot contain
wildcards).
For additional information about configuring SIP Diversion headers in SIP messaging, refer to the
configuration guide, Modifying SIP Headers on SIP Trunks in AOS Voice Products available online at
https://supportforums.adtran.com
Usage Examples
In the following example, the SIP trunk (t01) is configured so that when the ANI source template
(2565558XXX) is matched, an unconditional SIP Diversion header with a target template of 2565558000
and network screening and full privacy replaces the original SIP header.
(config)#voice trunk t01
(config-T01)#match ani 2565558XXX replace diversion 2565558000 unconditional yes full
60000CRG0-35E
(article number 3506).
Copyright © 2012 ADTRAN, Inc.
Voice SIP Trunk Command Set
3566

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents