IP Telephony - NBX
1752618 Members
4369 Online
108788 Solutions
New Discussion

Removing Dial 9 or 8 for making calls.

 
JacksonW3
Advisor

Removing Dial 9 or 8 for making calls.

I believe there is a way to do this but would appreciate some insight.  System has a PRI.  If you have samples of the dial plan entries that are required please post.  Thank you.

4 REPLIES 4
bosoxfan
Trusted Contributor

Re: Removing Dial 9 or 8 for making calls.

here is a sample:

for example, in table 1, a user dials 9199785551212

this matches entry 13, which goes to route 1

route 1 then does a "striplead 1" so the dialout number is 19785551212

 

btw, this is usually the default dialplan that comes with the nbx

 

 


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

Table Create 1 Internal 3 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              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     8  6              3   3 Internal           0     0
TableEntry Create   1     9  7              3   3 Diagnostics        0     0
TableEntry Create   1    10  9              8   8 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     8
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 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
TableEntry Create   2     7  4              3   3 Internal           0     3
TableEntry Create   2     8  2251           4   4 Internal           0    28
TableEntry Create   2     9  1058           4   4 Internal           0     9
TableEntry Create   2    10  2880           4   4 Internal           0    10
TableEntry Create   2    11  2888           4   4 Internal           0    11
TableEntry Create   2    12  2889           4   4 Internal           0    12
TableEntry Create   2    13  2899           4   4 Internal           0    13
TableEntry Create   2    14  2462           4   4 Internal           0    14
TableEntry Create   2    15  1125           4   4 Internal           0    15
TableEntry Create   2    16  1126           4   4 Internal           0    16
TableEntry Create   2    17  1127           4   4 Internal           0    17
TableEntry Create   2    18  1128           4   4 Internal           0    18
TableEntry Create   2    19  1129           4   4 Internal           0    19
TableEntry Create   2    20  1130           4   4 Internal           0    20
TableEntry Create   2    21  1131           4   4 Internal           0    21
TableEntry Create   2    22  1132           4   4 Internal           0    22
TableEntry Create   2    23  1133           4   4 Internal           0    23
TableEntry Create   2    24  1134           4   4 Internal           0    24
TableEntry Create   2    25  1135           4   4 Internal           0    25
TableEntry Create   2    26  1136           4   4 Internal           0    26
TableEntry Create   2    27  1137           4   4 Internal           0    27
TableEntry Create   2    28  *2             5   5 Internal           0    32

Table Create 3 Least Cost Routing

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

/                 Route DefaultDestinationRoute Description
/                 ----- ----------------------- -----------
TimedRoute Create    35                      28       Main Phone Number 2251    

/                       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


/                      Route Entry Start  End    Days    DestRoute
/                      ----- ----- -----  ---    ----    ---------
TimedRouteEntry Create    35     1   Open   Open .MTWTF.        28
TimedRouteEntry Create    35     2 Closed Closed SMTWTFS        29
TimedRouteEntry Create    35     3  Lunch  Lunch SMTWTFS        30
TimedRouteEntry Create    35     4  Other  Other SMTWTFS        31

/                            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




/                                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    32     1      1 stripLead  2
DestinationRouteOperation Create    32     1      2 prepend    500FAAAAA4#
DestinationRouteOperation Create    32     1      3 append     #*F

JacksonW3
Advisor

Re: Removing Dial 9 or 8 for making calls.

I was not very clear in describing what I am looking for.  Would like to eliminate dialing 8 or 9 ot make calls.  Just 1 + the 10 digit number with no 9 or 8 to access an outside line.  I have a pretty stock 4 digit dial plan except for outbound caller ID.  Thanks.

bosoxfan
Trusted Contributor

Re: Removing Dial 9 or 8 for making calls.

ok..

try this.

in your dialplan, in table 1, add the following entry:

TableEntry Create   1     2  1              8   11 Internal           0     2

 

You will have to change the entry number to something so it is your last entry in table 1)

 

This will send any call that anyone dials beginning with 1 with between 8 and 11 digits

to route 2.

Notice in the diaplan above, route 2 is marked "localCOnostrip" which means we do not strip off

any digits so it will send to the telco 1xxx-xxx-xxxx

 

 

 

JacksonW3
Advisor

Re: Removing Dial 9 or 8 for making calls.

That makes perfect sense.  Thank you for the reply and insight.