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


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to