[Asterisk-Users] PRI debug
Peter Svensson
psvasterisk at psv.nu
Thu May 5 03:39:30 MST 2005
On Thu, 5 May 2005, Dan Goscomb wrote:
> it seems that when i dial the number without the leading 0 it works...
>
> with the leading 0 it does not
>
> any ideas?
You need "pridialplan=unknown" in your config file. The "unknown" TON/NPI
means that the PSTN should interpret the called party number as if it was
dialed on a normal phone, prefix zeroes and all.
The default for Asterisk unfortunatly is "national" TON which is almost
never correct. That TON implies that the number is a fully formed national
number without prefixes. I.e. including an area code but no leading zero.
It is impossible to dial an international number with that TON.
"international" would be another possible choise.
Using the "nationalprefix", "internationalprefix" etc settings Asterisk
can be made to change the outgoing TON depending on the number dialed.
For most pstn connections using the "unknown" TON is advisable.
Peter
More information about the asterisk-users
mailing list