[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Trixbox Dial Plan Help

Posted on 2011-03-15
1
Medium Priority
?
680 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 32

Accepted Solution

by:
DrDamnit earned 2000 total points
ID: 35174253
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Article by: user_n
How Sip Phone (User Agent) works and communicates with sip servers 1.  There is a sip server and a sip registrar.  The sip server and sip registrar can be one server or two different servers. The sip registrar is the server on which it is record…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

656 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