Outbound routes question

I have what I hope is a fairly simple question. I am running Asterisk (Ver. 1.8.16.0) and PBX Firmware: 1.816.210.58-1 PBX Service Pack: 1.0.0.0.

Both my inbound and outbound calls are working fine. I only have one dialing issue that I am seeking a solution to. If I dial a 7 digit local number, it goes out fine. If I dial a number in long distance format (i.e. 1XXX-XXX_XXXX) it also goes out fine. However, if I try to dial just the area code and then 7 digit number, the system seems to want to just take the first 7 digits and try to complete the call. I have tried it with and without the () + 9 |[NXXXXXX] entry but the behavior does not change.

My goal is to be able to dial in any of three formats as follows: 1XXX-XXX-XXXX, XXX-XXX-XXXX and XXX-XXXX.

Thanks in advance for any advice!

Here are the dial patterns under my local outbound route:
() + 9 | [311 / ]
() + 9 | [411 / ]
() + 9 | [911 / ]
() + 9 | [NXXNXXXXXX / ]
() + 9 | [NXXXXXX / ]

Here is the long distance dial pattern:
() + 9 | [1NXXNXXXXXX]

Based upon the very limited information you’ve given me, I’m guessing that you need to change:

() + 9 | [NXXNXXXXXX / ]

to

() + 91 | [NXXNXXXXXX / ]

and then your calls will work.