Trixbox/Asterisk – Remove Local Area Code and ‘Dial 1’ for Long Distance

asteriskfreepbxtrixboxvoip

We have Trixbox CE 2.8 and Asterisk 1.6.

I want to remove the 933 area code so you can just dial 555-5555 instead of 933-555-5555 for local calls.

I also want to remove the +1 for long distance so you can dial 555-555-5555 instead of 1-555-555-5555

FOLLOWUP QUESTION: What if I want to be able to optionally dial 1 on a long distance call?

Best Answer

If you want the 933 and 1 added the you'd need "Outbound Routes" like this:
NXXXXXX
NXXNXXXXXX

Then, in your Trunks, you want this in the diaplan rules.
933+NXXXXXX
1+NXXNXXXXXX

That would accept NXXXXXX as a valid number from your handsets but would dial 933NXXXXXX when the call goes out on the trunk. The same goes for the 1. It will be added to all calls that are dialed with 10 digits.