ADTRAN AOS Version R10.1.0 Command Reference Manual page 3563

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
The special characters ( ), -, and + are always ignored in the template. 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 add 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 quick
configuration guide, Modifying SIP Headers to SIP Trunks in AOS Voice Products available online at
https://supportforums.adtran.com.
Usage Examples
In the following example, a P-Asserted-Identity header is adding to a SIP message when the ANI source
template of 2565558XXX is matched with the target template of 2565558000:
(config)#voice trunk t01
(config-T01)#match ani 2565558XXX add p-asserted-identity 2565558000
60000CRG0-35E
Copyright © 2012 ADTRAN, Inc.
Voice SIP Trunk Command Set
3563

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