[asterisk-users] Leading 0 in PRI outbound

Rajeev Natarajan twogigbox at gmail.com
Tue Dec 18 15:22:18 CST 2007


All

We have a PRI line setup on an asterisk box using TE110P. Both outbound and
inbound are working fine BUT the provider claims that all our numbers come
prefixed with a '0' (in India a 0 prefix indicates long distance) and that
could become an issue with local calls.

National Numbering Plan for Landline in India is typically 0+Area Code +
phone number. If it's a local number, you just dial the number without the
area code. So for instance, if you want to call a number 42121234 in Delhi
(Area Code 11), from any place outside of Delhi, you'd dial 01142121234 but
only 42121234 within Delhi.

Because of the prefix, when dialed locally, the number appears as 042121234
(which is not a valid number as there's a 0 without an area code!)

There's nothing in the dial plan that is doing it. In fact, set verbose and
pri intense debug indicate that the channel that's originating the cal is
Zap/g0/42121234 but somehow there's a zero that gets prefixed :(

Tried changing zapata.conf to include prilocaldialplan and so on but to no
avail!

Any help appreciated!

thanks
rajeev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071219/2035e6e7/attachment.htm 


More information about the asterisk-users mailing list