[asterisk-users] Type Of Number setting (pridialplan) is not effective

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Nov 19 15:43:53 CST 2009


On Thu, Nov 19, 2009 at 10:18:32PM +0100, Solt Kemecsei wrote:
> Hello,
> 
> I have an Asterisk system in the UK using ISDN service from BT.
> My problem is that the called number is always passed to the provider with the Type Of Number declared as “national” despite pridialplan (and prilocaldialplan) is set to “unknown”.
> 
> My questions are:
> 
> - How can I find out what the effective value is for the above two variables without actually making a call? (I have very limited possibilities to make test calls, as the ISDN lines are connected to a production system from which we plan to move to Asterisk, so it would be great to find out the actual values from CLI or similar.)
> 
> - Why is it happening, and how to fix it?
> 
> My environment:
> asterisk-1.4.27-rc2
> dahdi-tools-2.2.0
> libpri-1.4.10.1
> RHEL Server 5.3
> Digium Wildcard TE220
> 
> Below I am including my relevant configuration files and the PRI debug log of a test call.
> 
> Thank you for your help in advance.
> 
> Regards,
> 
> Solt
> 
> The /etc/asterisk/chan_dahdi.conf file without the comments and empty lines:
> 
> ---------- <chan_dahdi.conf> ---------- 
> [trunkgroups]
> [channels]
> #include dahdi-channels.conf

All of the 'channel =>' lines are already included at this point.

Thus the following lines have no effect:

> context=default
> switchtype=euroisdn
> pridialplan=unknown
> prilocaldialplan=unknown
> signalling=pri_cpe
> rxwink=300              ; Atlas seems to use long (250ms) winks
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=1.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> immediate=no
> ---------- </chan_dahdi.conf> ---------- 

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list