On Fri, 13 Aug 2004, Asterisk wrote:

> If the number I want to call is 07803xxxxxx then if I say
> Dial(Zap/g1/7803xxxxxx) the damned thing works.
> 
> So it seems that something is automatically adding the "0" to the dialled
> string. What would be doing that ?

Either Asterisk or your switch defaults to TypeOfNumber=National. National 
numbers are normally with area code and without the redundant leading 
zero. 

>From q.931:
  The type of number  unknown  is used when the user or the network has no 
  knowledge of the type of number, e.g. international number, national 
  number, etc. In this case the number digits field is organized according 
  to the network dialling plan, e.g. prefix or escape digits might be 
  present.

The national type is probably not cabable of calls to foreign countries. 
The International type could be used, but then you would first have to 
normalize the dialed number to the international format (leading country 
code). Especially with overlap dialing and quick handoff to the pstn of 
the call during setup I find the unknown format more easy to work with.

Peter

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
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