How to change TON (Type Of Number) on PRI (dahdi)?

witekprytek

Joined
Dec 19, 2007
Messages
145
Likes
0
Points
0
#1
I don't know why my Elastix always send Type Of Number value TON=national.
Due to some problems with my carrier I need to change it to "unknown"

I have added:
pridialplan = unknown
prilocaldialplan = unknown

in /etc/asterisk/chan_dahdi.conf

but it does not work.


should I change something else?
 

witekprytek

Joined
Dec 19, 2007
Messages
145
Likes
0
Points
0
#2
I have found 2 interesting links:
http://www.freepbx.org/forum/freepbx/in ... figuration

http://lists.digium.com/pipermail/aster ... 02837.html
this post include a lot of useful information e.g:
"national" : Interpret the digits as a national number, i.e. with an
area code at the beginning, but without any escape digits.
I.e. no leading zero or similar for the area code.
International dial is not possible.
This is the default in Asterisk and almost always wrong. In
some pstn networks in the USA this is actually interpreted
like "unknown" above and not according to the specification.

In my case sending calls via PRI with ToN = national was the reason of carrier disconnection with code 31 (Q7931 signalling - normal unknown)and ==congestion in Asterisk.

Follow the links above I have added

#include dahdi-channels.conf in chan_dahdi.conf
and
pridialplan = unknown in dahdi-channels.conf

..maybe somebody find this useful
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top