Bulk import or export of Origination Dial Patterns

Last Updated : Feb 28, 2019 |
Prolog information
Using System Manager, you can import or export dial patterns, origination dial pattern sets, origination dial pattern, 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.
The Origination Dial Patterns xml import file uses a name reference to the Origination Dial Pattern Sets. Therefore, you must import Origination Dial Pattern Sets before importing Origination Dial Patterns.
Use the following rules when creating an XML bulk import file:
  • <notes>
  • <digitpattern>
  • <maxdigits>
  • <mindigits>
  • <digitmaporiginationsetName>
  • <sipdomainName>
Example<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<digitmapOriginationPatternFullTOList>
    <DigitmapOriginationPatternFullTO>
        <notes></notes>
        <digitpattern>12345</digitpattern>
        <maxdigits>36</maxdigits>
        <mindigits>5</mindigits>
        <digitmaporiginationsetName>aaaaaaaaaaaaaa</digitmaporiginationsetName>
    </DigitmapOriginationPatternFullTO>
    <DigitmapOriginationPatternFullTO>
        <notes</notes>
        <digitpattern>1234:5679</digitpattern>
        <maxdigits>4</maxdigits>
        <mindigits>4</mindigits>
        <digitmaporiginationsetName>ccccccc</digitmaporiginationsetName>
        <sipdomainName>avaya.com</sipdomainName>
    </DigitmapOriginationPatternFullTO>
    <DigitmapOriginationPatternFullTO>
        <notes></notes>
        <digitpattern>55555</digitpattern>
        <maxdigits>36</maxdigits>
        <mindigits>5</mindigits>
        <digitmaporiginationsetName>nnnnnnnnnnnnnnnn</digitmaporiginationsetName>
    </DigitmapOriginationPatternFullTO>
    <DigitmapOriginationPatternFullTO>
        <notes></notes>
        <digitpattern>55555</digitpattern>
        <maxdigits>36</maxdigits>
        <mindigits>7</mindigits>
        <digitmaporiginationsetName>nnnnnnnnnnnnnnnn</digitmaporiginationsetName>
    </DigitmapOriginationPatternFullTO>
 
....
 
 
</digitmapOriginationPatternFullTOList>

  • If the mandatory elements are missing in the XML file, the system gives the following error in the generated ImportFailedObjects.zip file.
    <!-- mindigits element required for the origination pattern-789 -->
  • For invalid values, the system displays the following error:
    <!-- invalid_values: 0 - Range of Min is 1-36 -->
  • If the Flexible Routing feature is disabled, and the user tries to import Origination dial patterns, the system displays the following error:
    <!-- Origination Patterns cannot be imported, as Flexible Routing feature is disabled -->