Solved

Trixbox Dial Plan Help

Posted on 2011-03-15
1
671 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 500 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

Independent Software Vendors: 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

In my office we had 10 Cisco 7940G IP phones that were useless as they were showing PROTOCOL APPLICATION INVALID when started. I searched through Google and worked for a week continuously on those phones, and finally got them working. This is a di…
Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

707 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