[asterisk-users] Leading 0 in PRI outbound

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Dec 18 16:17:04 CST 2007


On Tuesday 18 December 2007 15:22:18 Rajeev Natarajan wrote:
> 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.

What is pridialplan set to in zapata.conf?  This value sets an extra 4 bits in
the PRI dialog between you and the telco.  And typically, if you have it set
to something like 'national', the telco will tell you you have numbers
prefixed, even when you don't, because their switch software is written to
make the translation.

So what most people do (and what works most often) is to set pridialplan to
'unknown', which sets the bit field to all zeros and the number isn't prefixed
at all at the telco switch, but simply routed based upon the number sent.

-- 
Tilghman



More information about the asterisk-users mailing list