Using System Manager, you can import dial patterns, routing policies, regular expressions, entity links, and SIP entities in bulk. To import data in bulk, you must provide an XML or zip file containing multiple XML files as an input file. System Manager validates any file that you upload during the bulk import operation.
If the dial pattern matches with the existing dial pattern during the import, the dial pattern replaces the existing dial pattern. To preserve the existing dial pattern, export and modify the dial pattern before importing it.
You can associate origination dial pattern sets with the dial patterns.
Use the following rules when creating an XML bulk import file:
A dial pattern is identified by a combination of the five elements below. This combination must be unique for each dial pattern.
<sipdomainName> must refer to an existing domain with the same name. The element must appear in the System Manager database or in an import file that exists in the same import operation as the dial pattern.
<routingpolicyNames> must refer to existing Routing Policies with the same name. The element must appear in the System Manager database or in an import file that exists in the same import operation as the dial pattern.
<routingpolicyNames> must exist if <deny> is false.
<routingpolicyNames> must exist if <deny> is true.
If the Flexible Routing feature is disabled, and the user imports dial patterns with origination dial pattern sets, the following error message appears:
Flexible Routing is not enabled. Dial Pattern 123xx having importedDigitmapOriginationSetName set2 cannot be imported.
Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<digitmapFullTOList>
<DigitmapFullTO>
<notes>this is a test</notes>
<deny>true</deny>
<digitpattern>123</digitpattern>
<maxdigits>36</maxdigits>
<mindigits>3</mindigits>
<originationpatternsetName>set2</originationpatternsetName>
<routingoriginationName>New York</routingoriginationName>
<routingpolicyNames>toBerlin</routingpolicyNames>
<sipdomainName>avaya.com</sipdomainName>
<treatasemergency>true</treatasemergency>
</DigitmapFullTO>
<DigitmapFullTO>
<notes>this is a test</notes>
<deny>false</deny>
<digitpattern>123</digitpattern>
<maxdigits>36</maxdigits>
<mindigits>3</mindigits>
<originationpatternsetName>set2</originationpatternsetName>
<routingoriginationName>Berlin</routingoriginationName>
<routingpolicyNames>toBerlin</routingpolicyNames>
<sipdomainName>avaya.com</sipdomainName>
<treatasemergency>true</treatasemergency>
</DigitmapFullTO>
</digitmapFullTOList>