[asterisk-dev] /dev/zap/(channel no) ends on 255 and unable to make more

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Dec 23 04:49:11 MST 2006


On Fri, Dec 22, 2006 at 10:49:35PM +0500, Anton wrote:
> Guys,
> 
> In a system with more than 8xE1 it's impossible to access  
> to /dev/zap/(channel no) channels higher than 255. ZAPTEL 
> Makefile generates only 255 instances and adjusting 
> Makefile to be generating more of them, makes any nodes 
> over 255 to be anyway dead (attempt to access returns (for 
> instance 256's node) "Cannot open "256" No such device or 
> address (6)" error. If someone could please give a clue how 
> to make them accessible, it will be highly appreciated. Is 
> it a linux limitation or just a variable in Zaptel sources? 
> Please help.

What system is it? Are you using udev, devfs or none of the above?

If the system uses kernel 2.6: do you see /sys/class/zaptel/zapNNN for
a NNN > 255 ?

The relevan udev rule I have on my system is:

  KERNEL=="zap[0-9]*",               NAME="zap/%n"

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+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-dev mailing list