OK, here is an updated dialplan for the 3 groups you wanted.
Table 1 is for the managers and will be setup to use all lines available.
Table 4 is for Company 1 and will be setup for the lines as needed.
Table 5 is for Company 2 and will be setup for the lines as needed.
You will need to assign the phones to the different tables so that they use the correct dial plan.
You will also need to create extensions *0010, *0011, *0012, *0020, *0021, *0022 and add the available lines to the groups as needed.
Here is the modified dial plan.
/////////////////////////////////////////////////////////////////////////////////
/
/ NBX100 Dial Plan Configuration File
/ Generated from machine SMS 172.26.2.205 owned by SuperPlus (Homelectrics)
/ Generated on WED JAN 01 00:36:55 1997
/
/////////////////////////////////////////////////////////////////////////////////
/ First, delete all existing dialplan information
Table Delete *
DestinationRoute Delete *
TimedRoute Delete *
PreTranslator Delete *
/ Now, create all dialplan information
/////////////////////////////////////////////////////////////////////////////////
/ Settings
/////////////////////////////////////////////////////////////////////////////////
ExtensionLength 3
ExtensionRange Telephone 100 449
ExtensionRange Park 601 609
ExtensionRange AutoAttendant 500 599
ExtensionRange HuntGroup 450 499
ExtensionRange External 600 799
/////////////////////////////////////////////////////////////////////////////////
/ 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 750 500
/////////////////////////////////////////////////////////////////////////////////
/ Dial Plan Tables
/////////////////////////////////////////////////////////////////////////////////
Table Create 1 Managers
/ Id Entry Digits Min Max Class Prio Route
/ -- ----- ------------ --- --- ------------- ---- -----
TableEntry Create 1 1 0 1 1 Internal 0 4
TableEntry Create 1 2 1 3 3 Internal 0 0
TableEntry Create 1 3 2 3 3 Internal 0 0
TableEntry Create 1 4 3 3 3 Internal 0 0
TableEntry Create 1 5 4 3 3 Internal 0 0
TableEntry Create 1 6 5 3 3 Internal 0 3
TableEntry Create 1 7 6 3 3 Internal 0 0
TableEntry Create 1 8 7 3 3 Diagnostics 0 0
TableEntry Create 1 9 9 8 8 Local 0 1
TableEntry Create 1 10 9113 4 4 International 0 8
TableEntry Create 1 11 9119 4 4 Emergency 0 1
TableEntry Create 1 12 9110 4 4 Emergency 0 1
TableEntry Create 1 13 9116 4 4 Local 0 1
TableEntry Create 1 14 9115 4 4 Local 0 1
TableEntry Create 1 15 9114 4 4 Local 0 1
TableEntry Create 1 16 9117 4 4 Local 0 1
TableEntry Create 1 17 912 9 9 LongDistance 0 1
TableEntry Create 1 18 913 9 9 LongDistance 0 1
TableEntry Create 1 19 914 9 9 LongDistance 0 1
TableEntry Create 1 20 915 9 9 LongDistance 0 1
TableEntry Create 1 21 916 9 9 LongDistance 0 1
TableEntry Create 1 22 917 9 9 LongDistance 0 1
TableEntry Create 1 23 918 10 10 LongDistance 0 1
TableEntry Create 1 24 919 9 9 LongDistance 0 1
TableEntry Create 1 25 91888 12 12 TollFree 0 1
TableEntry Create 1 26 91800 12 12 TollFree 0 1
TableEntry Create 1 27 91877 9 9 LongDistance 0 1
TableEntry Create 1 28 9135 9 9 Other 0 9
TableEntry Create 1 29 9136 9 9 Other 0 9
TableEntry Create 1 30 9137 9 9 Other 0 9
TableEntry Create 1 31 9138 9 9 Other 0 9
TableEntry Create 1 32 9139 9 9 Other 0 9
TableEntry Create 1 33 9140 9 9 Other 0 9
TableEntry Create 1 34 9141 9 9 Other 0 9
TableEntry Create 1 35 9142 9 9 Other 0 9
TableEntry Create 1 36 9143 9 9 Other 0 9
TableEntry Create 1 37 9144 9 9 Other 0 9
TableEntry Create 1 38 9145 9 9 Other 0 9
TableEntry Create 1 39 9146 9 9 Other 0 9
TableEntry Create 1 40 9147 9 9 Other 0 9
TableEntry Create 1 41 9148 9 9 Other 0 9
TableEntry Create 1 42 9184 9 9 Other 0 9
TableEntry Create 1 43 9185 9 9 Other 0 9
TableEntry Create 1 44 9186 9 9 Other 0 9
TableEntry Create 1 45 91870 9 9 Other 0 9
TableEntry Create 1 46 91871 9 9 Other 0 9
TableEntry Create 1 47 91872 9 9 Other 0 9
TableEntry Create 1 48 91873 9 9 Other 0 9
TableEntry Create 1 49 91874 9 9 Other 0 9
TableEntry Create 1 50 91875 9 9 Other 0 9
TableEntry Create 1 51 91877 9 9 Other 0 9
TableEntry Create 1 52 91878 9 9 Other 0 9
TableEntry Create 1 53 91879 9 9 Other 0 9
TableEntry Create 1 54 9188 9 9 Other 0 9
TableEntry Create 1 55 9189 9 9 Other 0 9
TableEntry Create 1 56 91900 12 12 Toll 0 1
TableEntry Create 1 57 91976 12 12 Toll 0 1
TableEntry Create 1 58 * 9 9 Other 0 1
Table Create 4 Company 1
/ Id Entry Digits Min Max Class Prio Route
/ -- ----- ------------ --- --- ------------- ---- -----
TableEntry Create 4 1 0 1 1 Internal 0 4
TableEntry Create 4 2 1 3 3 Internal 0 0
TableEntry Create 4 3 2 3 3 Internal 0 0
TableEntry Create 4 4 3 3 3 Internal 0 0
TableEntry Create 4 5 4 3 3 Internal 0 0
TableEntry Create 4 6 5 3 3 Internal 0 3
TableEntry Create 4 7 6 3 3 Internal 0 0
TableEntry Create 4 8 7 3 3 Diagnostics 0 0
TableEntry Create 4 9 9 8 8 Local 0 10
TableEntry Create 4 10 9113 4 4 International 0 12
TableEntry Create 4 11 9119 4 4 Emergency 0 10
TableEntry Create 4 12 9110 4 4 Emergency 0 10
TableEntry Create 4 13 9116 4 4 Local 0 10
TableEntry Create 4 14 9115 4 4 Local 0 10
TableEntry Create 4 15 9114 4 4 Local 0 10
TableEntry Create 4 16 9117 4 4 Local 0 10
TableEntry Create 4 17 912 9 9 LongDistance 0 10
TableEntry Create 4 18 913 9 9 LongDistance 0 10
TableEntry Create 4 19 914 9 9 LongDistance 0 10
TableEntry Create 4 20 915 9 9 LongDistance 0 10
TableEntry Create 4 21 916 9 9 LongDistance 0 10
TableEntry Create 4 22 917 9 9 LongDistance 0 10
TableEntry Create 4 23 918 10 10 LongDistance 0 10
TableEntry Create 4 24 919 9 9 LongDistance 0 10
TableEntry Create 4 25 91888 12 12 TollFree 0 10
TableEntry Create 4 26 91800 12 12 TollFree 0 10
TableEntry Create 4 27 91877 9 9 LongDistance 0 10
TableEntry Create 4 28 9135 9 9 Other 0 11
TableEntry Create 4 29 9136 9 9 Other 0 11
TableEntry Create 4 30 9137 9 9 Other 0 11
TableEntry Create 4 31 9138 9 9 Other 0 11
TableEntry Create 4 32 9139 9 9 Other 0 11
TableEntry Create 4 33 9140 9 9 Other 0 11
TableEntry Create 4 34 9141 9 9 Other 0 11
TableEntry Create 4 35 9142 9 9 Other 0 11
TableEntry Create 4 36 9143 9 9 Other 0 11
TableEntry Create 4 37 9144 9 9 Other 0 11
TableEntry Create 4 38 9145 9 9 Other 0 11
TableEntry Create 4 39 9146 9 9 Other 0 11
TableEntry Create 4 40 9147 9 9 Other 0 11
TableEntry Create 4 41 9148 9 9 Other 0 11
TableEntry Create 4 42 9184 9 9 Other 0 11
TableEntry Create 4 43 9185 9 9 Other 0 11
TableEntry Create 4 44 9186 9 9 Other 0 11
TableEntry Create 4 45 91870 9 9 Other 0 11
TableEntry Create 4 46 91871 9 9 Other 0 11
TableEntry Create 4 47 91872 9 9 Other 0 11
TableEntry Create 4 48 91873 9 9 Other 0 11
TableEntry Create 4 49 91874 9 9 Other 0 11
TableEntry Create 4 50 91875 9 9 Other 0 11
TableEntry Create 4 51 91877 9 9 Other 0 11
TableEntry Create 4 52 91878 9 9 Other 0 11
TableEntry Create 4 53 91879 9 9 Other 0 11
TableEntry Create 4 54 9188 9 9 Other 0 11
TableEntry Create 4 55 9189 9 9 Other 0 11
TableEntry Create 4 56 91900 12 12 Toll 0 10
TableEntry Create 4 57 91976 12 12 Toll 0 10
TableEntry Create 4 58 * 9 9 Other 0 10
Table Create 5 Company 2
/ Id Entry Digits Min Max Class Prio Route
/ -- ----- ------------ --- --- ------------- ---- -----
TableEntry Create 5 1 0 1 1 Internal 0 4
TableEntry Create 5 2 1 3 3 Internal 0 0
TableEntry Create 5 3 2 3 3 Internal 0 0
TableEntry Create 5 4 3 3 3 Internal 0 0
TableEntry Create 5 5 4 3 3 Internal 0 0
TableEntry Create 5 6 5 3 3 Internal 0 3
TableEntry Create 5 7 6 3 3 Internal 0 0
TableEntry Create 5 8 7 3 3 Diagnostics 0 0
TableEntry Create 5 9 9 8 8 Local 0 20
TableEntry Create 5 10 9113 4 4 International 0 22
TableEntry Create 5 11 9119 4 4 Emergency 0 20
TableEntry Create 5 12 9110 4 4 Emergency 0 20
TableEntry Create 5 13 9116 4 4 Local 0 20
TableEntry Create 5 14 9115 4 4 Local 0 20
TableEntry Create 5 15 9114 4 4 Local 0 20
TableEntry Create 5 16 9117 4 4 Local 0 20
TableEntry Create 5 17 912 9 9 LongDistance 0 20
TableEntry Create 5 18 913 9 9 LongDistance 0 20
TableEntry Create 5 19 914 9 9 LongDistance 0 20
TableEntry Create 5 20 915 9 9 LongDistance 0 20
TableEntry Create 5 21 916 9 9 LongDistance 0 20
TableEntry Create 5 22 917 9 9 LongDistance 0 20
TableEntry Create 5 23 918 10 10 LongDistance 0 20
TableEntry Create 5 24 919 9 9 LongDistance 0 20
TableEntry Create 5 25 91888 12 12 TollFree 0 20
TableEntry Create 5 26 91800 12 12 TollFree 0 20
TableEntry Create 5 27 91877 9 9 LongDistance 0 20
TableEntry Create 5 28 9135 9 9 Other 0 21
TableEntry Create 5 29 9136 9 9 Other 0 21
TableEntry Create 5 30 9137 9 9 Other 0 21
TableEntry Create 5 31 9138 9 9 Other 0 21
TableEntry Create 5 32 9139 9 9 Other 0 21
TableEntry Create 5 33 9140 9 9 Other 0 21
TableEntry Create 5 34 9141 9 9 Other 0 21
TableEntry Create 5 35 9142 9 9 Other 0 21
TableEntry Create 5 36 9143 9 9 Other 0 21
TableEntry Create 5 37 9144 9 9 Other 0 21
TableEntry Create 5 38 9145 9 9 Other 0 21
TableEntry Create 5 39 9146 9 9 Other 0 21
TableEntry Create 5 40 9147 9 9 Other 0 21
TableEntry Create 5 41 9148 9 9 Other 0 21
TableEntry Create 5 42 9184 9 9 Other 0 21
TableEntry Create 5 43 9185 9 9 Other 0 21
TableEntry Create 5 44 9186 9 9 Other 0 21
TableEntry Create 5 45 91870 9 9 Other 0 21
TableEntry Create 5 46 91871 9 9 Other 0 21
TableEntry Create 5 47 91872 9 9 Other 0 21
TableEntry Create 5 48 91873 9 9 Other 0 21
TableEntry Create 5 49 91874 9 9 Other 0 21
TableEntry Create 5 50 91875 9 9 Other 0 21
TableEntry Create 5 51 91877 9 9 Other 0 21
TableEntry Create 5 52 91878 9 9 Other 0 21
TableEntry Create 5 53 91879 9 9 Other 0 21
TableEntry Create 5 54 9188 9 9 Other 0 21
TableEntry Create 5 55 9189 9 9 Other 0 21
TableEntry Create 5 56 91900 12 12 Toll 0 20
TableEntry Create 5 57 91976 12 12 Toll 0 20
TableEntry Create 5 58 * 9 9 Other 0 20
Table Create 2 Incoming DID and Auto Attendant
/ Id Entry Digits Min Max Class Prio Route
/ -- ----- ------------ --- --- ------------- ---- -----
TableEntry Create 2 1 0 1 1 Internal 0 4
TableEntry Create 2 2 1 3 3 Internal 0 0
TableEntry Create 2 3 2 3 3 Internal 0 0
TableEntry Create 2 4 3 3 3 Internal 0 0
TableEntry Create 2 5 4 3 3 Internal 0 0
TableEntry Create 2 6 5 3 3 Internal 0 3
Table Create 3 Least Cost Routing
/////////////////////////////////////////////////////////////////////////////////
/ Routes
/////////////////////////////////////////////////////////////////////////////////
/ Route Description
/ ----- -----------
DestinationRoute Create 1 LocalCO Managers
DestinationRoute Create 2 LocalCONoStrip
DestinationRoute Create 3 Voice Application
DestinationRoute Create 4 Attendant
DestinationRoute Create 5 H323 ConneXtions Ports
DestinationRoute Create 8 International (113) Managers
DestinationRoute Create 9 Digiline Managers
//
// Create new routes for different groups
//
DestinationRoute Create 10 Local CO Company 1
DestinationRoute Create 11 Digiline Company 1
DestinationRoute Create 12 International Company 1
DestinationRoute Create 20 Local CO COmpany 2
DestinationRoute Create 21 Digiline Company 2
DestinationRoute Create 22 International Company 2
/ 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 *0001
DestinationRouteEntry Create 9 1 *0008
//
// Added different extension groups
//
DestinationRouteEntry Create 10 1 *0010
DestinationRouteEntry Create 11 1 *0011
DestinationRouteEntry Create 12 1 *0012
DestinationRouteEntry Create 20 1 *0020
DestinationRouteEntry Create 21 1 *0021
DestinationRouteEntry Create 22 1 *0022
/ Route Entry OperId Operation Value
/ ----- ----- ------ --------- -----
DestinationRouteOperation Create 1 1 1 stripLead 1
DestinationRouteOperation Create 1 2 1 stripLead 1
DestinationRouteOperation Create 8 1 1 stripLead 1
DestinationRouteOperation Create 9 1 1 stripLead 2
//
// Added route operations
//
DestinationRouteOperation Create 10 1 1 stripLead 1
DestinationRouteOperation Create 10 2 1 stripLead 1
DestinationRouteOperation Create 11 1 1 stripLead 2
DestinationRouteOperation Create 12 1 1 stripLead 1
DestinationRouteOperation Create 20 1 1 stripLead 1
DestinationRouteOperation Create 20 2 1 stripLead 1
DestinationRouteOperation Create 21 1 1 stripLead 2
DestinationRouteOperation Create 22 1 1 stripLead 1
/////////////////////////////////////////////////////////////////////////////////
/ Pretranslators
/////////////////////////////////////////////////////////////////////////////////
PreTranslator Create 1 4Digit DDI 3Digit 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 9
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 1
PreTranslatorOperation Create 1 9 1 stripLead 1
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
/////////////////////////////////////////////////////////////////////////////////