Solved

Trixbox Dial Plan Help

Posted on 2011-03-15
1
664 Views
Last Modified: 2013-11-12
Hi

We have a trixbox system with 3 digit extensions and  4 digit paging groups. For our outgoing/incoming we're using a rhino fxo card.

When we dial out we sometimes get "to reach a number outside your calling area, please dial 1 , the area code .." and sometimes it goes through. This leads me to believe there something wrong with the time out in the below dial plan:

<digitmap dialplan.digitmap="911|311|411|0T|[1-9]xxT|*xxxxxxT|[5-8]xxxT|011xxx.T|[0-1][2-9]xxxxxxxxx|[2-9]xxxxxxxxx" dialplan.digitmap.timeOut="4|4|4|4|4|4|4|4|4|4"/>

Below is outbound Route dial pattern :

311
411
911
011.
1800NXXXXXX
1866NXXXXXX
1877NXXXXXX
1888NXXXXXX
1NXXNXXXXXX
NXXNXXXXXX
NXXXXXX


Below is dial rules for my ZAP trunk, my local area code is 718 and it requires you to dial 718 before dialing a local number:

011|.
1NXXNXXXXXX
1+NXXNXXXXXX
1718+NXXXXXX




thanks in advance
0
Comment
Question by:mizgroup
1 Comment
 
LVL 32

Accepted Solution

by:
DrDamnit earned 500 total points
Comment Utility
I don't think there is anything wrong with your timeout. Asterisk uses the dial plan rule that BEST matches what the phone sent to it.

What's happening is that your users are entering a number that is matching more than one rule, and the BEST rule is sending a number up the trunk that requires a 1 instead of having simple logic where you control who sends the 1 and when or if it is needed.

So, your logic needs revision.

Firstly, remove the NXXXXXX. If you have ten digit dialing where you are, there is no reason to have a rule that matches 7 digits.

For all outbound calls that require 10 digit dialing, you should be using NXXNXXXXXX. Your local area code should be the exception:

718NXXNXXXX

So, you should have three outbound rules to match:

1NXXNXXXXXX
NXXNXXXXXX
718NXXXXXX

The first two compensate for the fact that some people know to dial a one for long distance.

The second gives you cell phone style long distance dialing.

The last one gives you local calling.

The dial plan for the latter two rules should add the 1 to the digits, and send it up the pipe as required (if required).

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Although VoiceOver IP has been around for a while, internet connections have only recently become fast enough to provide good call quality. Now, VoIP has become a real option for businesses looking at ways to improve their business model. In this ar…
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now