7 and 10 digit dialing UC 500

Unanswered Question
Jun 10th, 2008

Locally, we have 7 digit dialing in the 214 area code. There are also surrounding areas in an 830 area code that have an option to have a “metro" line that allows 10 digit dialing without tolls. I need to be able to dial 7 digits locally, 10 digits to the 830 area code and 1 + dialing to the 830 area code. Can someone send me commands to accomplish this?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Kenneth Mohammed Tue, 06/10/2008 - 12:06


Try this:

dial-peer voice 1 pots

destination-pattern 9[2-9]......

incoming called-number .

port x/x/x (fxo or pri)

forward-digits 7

dial-peer voice 2 pots

destination-pattern 91830.......

incoming called-number .

port x/x/x

forward-digits 11

dial-peer voice 3 pots

destination-pattern 9830.......

incoming called-number .

port x/x/x

forward-digits 10

Hope that helped.

Paolo Bevilacqua Tue, 06/10/2008 - 12:08

Hi, can you clarify this?

10 digits to the 830 area code and 1 + dialing to the 830 area code

And, do you have pots line(s) ?

glenn.iltis Tue, 06/10/2008 - 12:26

Yes, some 830 area code numbers require 1+ dialing, others purchase the "metro" option that enables 10 digit dialing without tolls.

Yes, I am using pots lines. Sorry I did not mention that.

Paolo Bevilacqua Tue, 06/10/2008 - 12:30

And how would you know which exchange codes are covered by the unnmetered plan?

That knowledge is necessary for you to configure things transparently for the user.

glenn.iltis Tue, 06/10/2008 - 12:37

Right now, the 830 area code is the only area code in their region that offers the unnmetered option.

Is that what you asking?

Paolo Bevilacqua Tue, 06/10/2008 - 12:52

Sorry, I'm totally confused (also from another similar thread ...)

Can you explain to me like to a dummy, how to to properly call exchanges in the 830 area code ?

glenn.iltis Tue, 06/10/2008 - 13:21

Right now, I can't dial 9, 830 xxx-xxx. It stops after 7 digits. So to return calls to the customers with these metro lines we have to use the fax line's phone.

I hope I'm making sense.

Kenneth Mohammed Tue, 06/10/2008 - 13:22

Hello Glenn,

I think what Paulo is asking, is how do you differentiate when you need to dial 1-830-xxx-xxxx as opposed to 830-xxx-xxxx?

However, in any instance, the dial peers above should work.

Add this dial peer and see if you can now 10 digit dial the 830 area code:

dial-peer voice 3 pots

destination-pattern 9830.......

incoming called-number .

port x/x/x

forward-digits 10

You probably can only send 7 digits because you only have a dial peer that is set to forward 7 digits.

glenn.iltis Tue, 06/10/2008 - 13:35

Thank's. And just so I am clear, I have 6 pots lines using the fxo ports. where you have port x/x/x. Does an integer replace the x or do I actually use the x?

Paolo Bevilacqua Tue, 06/10/2008 - 13:45

When you have multiple lines, the best thing is to handle them all together as a trunk:

voice-port 0/x/y

trunk-group fxo

[repeat for all FXO ports]

dial-peer voice 100 pots


trunkgroup fxo

This way the number of DP is sensibly reduced. And yes, you have to replace x and y with the actual port numbering on your router.

Paolo Bevilacqua Tue, 06/10/2008 - 13:36

Not only Kenneth has understood my question, but further to that, if there is a billing difference when calling without 1 to certain exchanges in 830, if you could list which these exchanges are (probably a LATA search would reveal), you can configure things so that no matter if 1 or no 1 is dialed, the router always calls appropriately and in the most economical manner.

Hope that makes some sense ?

glenn.iltis Tue, 06/10/2008 - 14:56

I cannot tell you both how much I appreciate this information.

Thanks again.

glenn.iltis Thu, 06/19/2008 - 11:26

I am on site now, I am doing something wrong. I set up the trunk-group fxo, if I do a sh trunk-group fxo all of the ports display. So, I added:

dial-peer voice 100

destination-pattern 9[2-9]......

incoming called-number.

trunk-group fxo

forward-digits 7


dial-peer voice 200

destination-pattern 91830.......

incoming called-number.

trunk-group fxo

forward-digits 11


dial-peer voice 300

destination-patern 9830.......

incoming called number.

trunk-group fxo

forward-digits 10

Nothing has changed. I still cannot make 10 digit calls to the 830 area code.

Any help would be appreciated.

Paolo Bevilacqua Thu, 06/19/2008 - 11:43

I assume the command spelling errors are not in the config ?

What do you get when calling 9830xxxxxxx ?

glenn.iltis Thu, 06/19/2008 - 11:54

Yes, the spelling errors were in my communication to you, not on the cofig.

As I press 98305551212 the phone starts to dial at 98305551

Paolo Bevilacqua Thu, 06/19/2008 - 11:59

Right. Configure:

dial-peer voice 100

preference 2

dial-peer voice 300

no huntstop

Now if you could finally tell us which exchanges are to be called 7 or 10 digits, a configuration can made so that users can use either all the time :)

glenn.iltis Thu, 06/19/2008 - 12:12

The exchange is 830. It does not need to dial 7 digits though. It needs to be able to dial 10 digits if it is a "metro" line or 11 (1+) if it is not.

Paolo Bevilacqua Thu, 06/19/2008 - 12:16

Hi, 830 is actually the area code.

The following three digits are called the exchange ID, but do not necessarily map to a single exchange. Knowing them will discriminate a "metro" line or not.

In other words, an exchange-based configuration would let you call either 9 + 10 or 91 + 10 to al area code 830. I medioned 7 digits by mistake before.

glenn.iltis Thu, 06/19/2008 - 12:51

Got it. I thought I had explained what I was needing incorrectly.

Is the exchange id the same as the prefix? (830-XXX-xxxx) This area code surounds San Antonio and would have dozens of them.

Paolo Bevilacqua Thu, 06/19/2008 - 13:06

You explained perfectly from the first post, it was me having an hard time explaining myself, anyway telco do these things, as I understand that if you call with 1 an exchance that can be called without, you're billed more just because the confusion they made ?

The XXX in your example above is also properly called "exchange prefix" or NXX. With the proper configuration is possible to collapse many under a same DP. You have to look at the list of the "metro" exchanges, I must believe is officially published somewhere.

glenn.iltis Thu, 06/19/2008 - 13:37

This is a list of the most popular ones. It will take me a while to come up with all of them. 303, 985, 816. 426, 510, 379, 372, 537, 401, 665


Paolo Bevilacqua Thu, 06/19/2008 - 14:34

With these you can only optimize as


All the others will need a separate DP. You can also check the exchanges that are not "metro", if easier to patterning.

Do calls work now with the preference config ?


This Discussion