[Asterisk-Users] PRI debug

Dan Goscomb dang at cashcade.co.uk
Thu May 5 03:45:27 MST 2005


all working

thanks!


On Thu, 2005-05-05 at 12:39 +0200, Peter Svensson wrote:
> 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 at 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
> 
-- 
Dan Goscomb <dang at cashcade.co.uk>




More information about the asterisk-users mailing list