0

This is the second part of this question, worded better.

Remove local area code on outbound calls, and remove "dial 1" for long distance in Trixbox/Asterisk

I have removed the NEED to dial 933 or 1+933 for long distance or local calls already. Additionally, what I want to do is to have Asterisk IGNORE these digits if someone unnecessarily dials them.

So, Joe Dirt calls 1-933-337-0003 when he really could have dialed 337-0003 since it was a local call. Right now, Asterisk is telling him to hang up and try again since this is a local call, and the 1 and/or 933 is not necessary. I want Asterisk to realize Joe Dirt is dumb, and just ignore the extra digits that were dialed and continue his call as though he had only dialed 337-0003.*

*While keeping the existing rules in place.

Matt
  • 291

1 Answers1

1

You need just strip digits. i.e in freepbx do rule 1933+NXXXXXX in the TRUNK

Matt
  • 291
arheops
  • 708