?
Solved

Trixbox Dial Plan Help

Posted on 2011-03-15
1
Medium Priority
?
673 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
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 this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

743 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