[Asterisk-Users] T100P PRI question

Peter Svensson psvasterisk at psv.nu
Wed Dec 8 15:12:13 MST 2004


On Wed, 8 Dec 2004, Rich Adamson wrote:

> Since this is my first * pri turnup, what should the dialing string look
> like in the US? (All outgoing calls will either be local or national (US);
> no need for international at this time).
> Been using the following two numbers as examples:
>   449-1234  = Local Call
>   402-434-1234 = Long Distance Call
> If I dial 449-1234 the call is completed via the pri. If I add the area
> code (402-449-1234) the call is completed via the pri. If I add a "1"
> in front, the call goes to a recording saying I don't need the "1".
> If I call the 402-434-1234 (long distance), its blocked via a disconnect 
> coming back from the telco (which is what was shown in the original debug
> trace that started this thread).

The "unknown/unknown" TON/NPI is commonly used for the "let me dial the 
POTS way" of sending numbers. 

If one follows the itu recomendations "national" should be the fully 
qualified national number. I.e. always prefixed with the area code and 
never with the country code. I guess hat would be "402-434-1234".

In the same vein "international" would be "1-402-434-1234" for *all* 
numbers, even if they are local. 

However (and this is a *big* caveat) the telco switch can be configured in 
almost an infinite number of strange and nonstandard ways. For example, a 
lot of us telcos accept "national" NPI even if the number is nowhere near 
that format. In Europe the EuroISDN standard has made this somewhat less 
insane than it used to be. 

You should really ask your telco what numbering format they support on the 
pri line and how they expect the numbers to be formatted. 

Peter







More information about the asterisk-users mailing list