/////////////////////////////////////////////////////////////////////////////////
/ 
/ NBX Dial Plan Configuration File
/ Generated from machine nbxss3 200.2.9.16 owned by Valued Customer 0
/ Generated on WED JAN 01 05:26:55 1997
/ 
/////////////////////////////////////////////////////////////////////////////////

/ First, delete all existing dialplan information

Table Delete *
DestinationRoute Delete *
TimedRoute Delete *
PreTranslator Delete *

/ Now, create all dialplan information

/////////////////////////////////////////////////////////////////////////////////
/         Settings.   Note: ACD ranges included in HuntGroup category.
/////////////////////////////////////////////////////////////////////////////////

ExtensionLength 4
ExtensionRange Telephone     1000 3999
ExtensionRange Park          6000 6099
ExtensionRange AutoAttendant 5500 5599
ExtensionRange HuntGroup     4000 4099
ExtensionRange External      6000 7999
/////////////////////////////////////////////////////////////////////////////////
/ The ExtensionRange External Setting MUST include the Park range.
/ If the Call Park range is outside of the ExtensionRange External, 
/ the Call Park feature will not work.
/////////////////////////////////////////////////////////////////////////////////
ExternalSettings 9 7250 500

/////////////////////////////////////////////////////////////////////////////////
/         Dial Plan Tables
/////////////////////////////////////////////////////////////////////////////////

Table Create 1 Internal 4 Digit Extensions
/                  Id Entry  Digits       Min Max Class           Prio Route
/                  -- -----  ------------ --- --- -------------   ---- -----
TableEntry Create   1     1  0              1   1 Internal           0     4
TableEntry Create   1     2  1              4   4 Internal           0     0
TableEntry Create   1     3  2              4   4 Internal           0     0
TableEntry Create   1     4  3              4   4 Internal           0     0
TableEntry Create   1     5  4              4   4 Internal           0     0
TableEntry Create   1     6  500            3   3 Internal           0     3
TableEntry Create   1     7  55             4   4 Internal           0     0
TableEntry Create   1     8  6              4   4 Internal           0     0
TableEntry Create   1     9  7             10  10 Local              0     1
TableEntry Create   1    10  9              9   9 Local              0     1
TableEntry Create   1    11  90             2  64 Operator           0     1
TableEntry Create   1    12  901            4  64 International      0     1
TableEntry Create   1    13  91             9  12 LongDistance       0     1
TableEntry Create   1    20  9101           9  64 AlternateLong      0     1
TableEntry Create   1    21  911            3   3 Emergency          0     2
TableEntry Create   1    22  91800         12  12 TollFree           0     1
TableEntry Create   1    23  91888         12  12 TollFree           0     1
TableEntry Create   1    24  91877         12  12 TollFree           0     1
TableEntry Create   1    25  91866         12  12 TollFree           0     1
TableEntry Create   1    26  91855         12  12 TollFree           0     1
TableEntry Create   1    27  91900         12  12 Toll               0     1
TableEntry Create   1    28  91976         12  12 Toll               0     1
TableEntry Create   1    29  9911           4   4 Emergency          0     1
TableEntry Create   1    30  9411           4   4 Operator           0     1
TableEntry Create   1    31  9*             4   4 COCode             0     1
TableEntry Create   1    32  8              8   8 Local              0     9
TableEntry Create   1    33  80             2  64 Operator           0     8
TableEntry Create   1    34  801            4  64 International      0     8
TableEntry Create   1    35  81             9  12 LongDistance       0     8
TableEntry Create   1    36  8101           9  64 AlternateLong      0     8
TableEntry Create   1    37  81800         12  12 TollFree           0     8
TableEntry Create   1    38  81888         12  12 TollFree           0     8
TableEntry Create   1    39  81877         12  12 TollFree           0     8
TableEntry Create   1    40  81866         12  12 TollFree           0     8
TableEntry Create   1    41  81855         12  12 TollFree           0     8
TableEntry Create   1    42  81900         12  12 Toll               0     8
TableEntry Create   1    43  81976         12  12 Toll               0     8
TableEntry Create   1    44  8911           4   4 Emergency          0     8
TableEntry Create   1    45  8411           4   4 Operator           0     8
TableEntry Create   1    46  8*             4   4 COCode             0     8

Table Create 2 Incoming 4 Digit DID and Auto At
/                  Id Entry  Digits       Min Max Class           Prio Route
/                  -- -----  ------------ --- --- -------------   ---- -----
TableEntry Create   2     1  0              1   1 Internal           0     4
TableEntry Create   2     2  1              4   4 Internal           0     0
TableEntry Create   2     3  2              4   4 Internal           0     0
TableEntry Create   2     4  3              4   4 Internal           0     0
TableEntry Create   2     5  4              4   4 Internal           0     0
TableEntry Create   2     6  500            3   3 Internal           0     3
TableEntry Create   2     7  55             4   4 Internal           0     3
TableEntry Create   2     8  763           10  10 Local              0     1

Table Create 3 Least Cost Routing

/////////////////////////////////////////////////////////////////////////////////
/        Routes  
/////////////////////////////////////////////////////////////////////////////////

/                       Route Description
/                       ----- -----------
DestinationRoute Create     1 LocalCO
DestinationRoute Create     2 LocalCONoStrip
DestinationRoute Create     3 Voice Application
DestinationRoute Create     4 Attendant
DestinationRoute Create     5 H323 ConneXtions Ports
DestinationRoute Create     8 8 Pool
DestinationRoute Create     9 9 CF100FX2 cellular

/                            Route Entry DestinationExtension
/                            ----- ----- --------------------
DestinationRouteEntry Create     1     1 *0001
DestinationRouteEntry Create     1     2 *0002
DestinationRouteEntry Create     2     1 *0001
DestinationRouteEntry Create     2     2 *0002
DestinationRouteEntry Create     3     1 *0003
DestinationRouteEntry Create     4     1 *0004
DestinationRouteEntry Create     5     1 *0005
DestinationRouteEntry Create     8     1 *0008
DestinationRouteEntry Create     9     1 *0009

/                                Route Entry OperId Operation  Value
/                                ----- ----- ------ ---------  -----
DestinationRouteOperation Create     1     1      1 stripLead  1
DestinationRouteOperation Create     9     1      1 stripLead  1

/////////////////////////////////////////////////////////////////////////////////
/        Pretranslators 
/////////////////////////////////////////////////////////////////////////////////

PreTranslator Create 1 5Digit DDI 4Digit Internal
/                         PreTransId Entry Digits
/                         ---------- ----- ------
PreTranslatorEntry Create          1     1 1
PreTranslatorEntry Create          1     2 2
PreTranslatorEntry Create          1     3 3
PreTranslatorEntry Create          1     4 4
PreTranslatorEntry Create          1     5 5
PreTranslatorEntry Create          1     6 6
PreTranslatorEntry Create          1     7 7
PreTranslatorEntry Create          1     8 8
PreTranslatorEntry Create          1     9 10
PreTranslatorEntry Create          1    10 0

/                             PreTransId Entry OperId Operation  Value
/                             ---------- ----- ------ ---------  -----
PreTranslatorOperation Create          1     1      1 stripLead  1
PreTranslatorOperation Create          1     2      1 stripLead  1
PreTranslatorOperation Create          1     3      1 stripLead  1
PreTranslatorOperation Create          1     4      1 stripLead  1
PreTranslatorOperation Create          1     5      1 stripLead  1
PreTranslatorOperation Create          1     6      1 stripLead  1
PreTranslatorOperation Create          1     7      1 stripLead  1
PreTranslatorOperation Create          1     8      1 stripLead  0
PreTranslatorOperation Create          1     9      1 stripLead  0
PreTranslatorOperation Create          1    10      1 stripLead  1

/ End of configuration

/////////////////////////////////////////////////////////////////////////////////
/ Configuration file command syntax guide:
/   Table Create {nTableId} {szDescription}
/   Table Delete {nTableId} 
/   TableEntry Create {nTableId} {nEntryId} {szDigits}
/                     {nMinDigits} {nMaxDigits} {szCallClass}
/                     {nPriority} {nRouteId}
/   TableEntry Delete {nTableId} {nEntryId}  
/   DestinationRoute Create {nRouteId} {szDescription} 
/   DestinationRoute Delete {nRouteId} 
/   DestinationRouteEntry Create {nRouteId} {nEntryId} {szExtension}
/   DestinationRouteEntry Delete {nRouteId}  {nEntryId}  
/   DestinationRouteOperation Create {nRouteId} {nEntryId} {nOperId} 
/                                    {szOperation} {szValue} 
/   DestinationRouteOperation Delete {nRouteId}  {nEntryId} {nOperId} 
/   TimedRoute Create {nRouteId} {nDefaultDestinationRouteId} {szDescription}
/   TimedRoute Delete {nRouteId}
/   TimedRouteEntry Create {nRouteId} {nEntryId} {szStartTime} {szEndTime}
/                          {szDaysOfWeek} {nDestinationRouteId}
/   TimedRouteEntry Delete {nRouteId}  {nEntryId}  
/   TimedRouteOperation Create {nRouteId} {nEntryId} {nOperId}
/                              {szOperation} {szValue}
/   TimedRouteOperation Delete {nRouteId}  {nEntryId} {nOperId} 
/   PreTranslator Create {nPreTranslatorId} {szDescription} 
/   PreTranslator Delete {nPreTranslatorId} 
/   PreTranslatorEntry Create {nPreTranslatorId} {nEntryId} {szDigits}
/   PreTranslatorEntry Delete {nPreTranslatorId}  {nEntryId}  
/   PreTranslatorOperation Create {nPreTranslatorId} {nEntryId} {nOperId} 
/                                 {szOperation} {szValue} 
/   PreTranslatorOperation Delete {nPreTranslatorId}  {nEntryId} {nOperId} 
/   PreTranslatorISDNNumberType {nPreTranslatorId} {nISDNNumberType} 
/   ExtensionLength {nExtensionLength}
/   ExtensionRange {szExtensionType} {szLowestExtension} {szHighestExtension}
/   ExternalSettings {szExternalKeysetPrefix} {szFirstAutoDiscoverExtension}
/                    {szDefaultAutoExtension} 
/ Notes:  1. Each command must be entered on one line.
/         2. Commands are case insensitive.
/         3. Tabs and spaces are ignored except in szDescription arguments.
/         4. The {} shown enclosing command argument names should not
/            be included in commands.
/         5. Command arguments beginning with n must be numbers.
/         6. Command arguments beginning with sz are strings.
/         7. nTableId 1 is the default Internal 3 digit dial plan table.
/         8. nTableId 2 is the default Incoming 3 digit dial plan table.
/         9. nTableId 3 is the default LCR dial plan table. (If used the
/            LCR table is checked first, if no entry exists, string is then
/            run through the associated internal dial plan.
/        10. szExtension *0001 is the default Line Card Port extension list
/        11. szExtension *0002 is the default T1 extension list
/        12. szExtension *0003 is the default Voicemail extension list
/        13. szExtension *0004 is the default Attendant extension list
/            (The lowest telephone extension that is Auto-discovered will 
/             populate)
/        14. szExtension *0005 is the default H323 extension list
/        15. szExtension *0008 is the default 8 Pool extension list 
/            (for backward compatibility, 8 Pool from R1.x upgrades)
/        16. szOperation can be: stripLead stripTrail replace prepend append
/        17. szCallClass can be: Internal Local LongDistance International WAN
/                                TollFree Emergency COCode Other Wireless Toll
/                                AlternateLong Operator TrunkToTrunk Diagnostics
/                                NotAllowed
/        18. route 0 always means look up internal device by extension
/        19. szStartTime and szEndTime are military time 00:00 through 23:59
/        20. szStartTime and szEndTime can be: open closed lunch other 
/            (if specifying a system mode, both must be the same mode)
/        21. szExtensionType can be: telephone, park, autoAttendant, huntGroup,
/                                    external, page
/        22. nISDNNumberType types for ETSI are as follows: (0, default) unknown;
/            (1) international; (2) national; (3) network; (4) subscriber
/////////////////////////////////////////////////////////////////////////////////