that's why we use type of number (NUMTYP parameter)
2 means national number, when a call is setup with national number the '0' is not sent. suppose your number is
0301234567 and your international code is for example 49 a calling/called number party can be setup in a number of different ways :
1) unknown (NUMTYP = 0) : this means that we don't know the number plan, in this case ALL the digits are sent => 0301234567
2) national (NUMTYP = 2) : this means that it's a national number, so we know the number plan, in this case we can drop the leading zero => 301234567
3) international (NUMTYP = 1) : following the above explanation we know its an international number format,
in this case the international acces code (let's say it's 00) can be omitted => 49301234567
having explained this, you can extend the programmation for international calls :
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.