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

Matthew Fredrickson creslin at digium.com
Fri Dec 22 12:26:10 MST 2006


On Dec 22, 2006, at 11:49 AM, 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 do you need this for?  If this is for asterisk, then you don't 
have anything to worry about.  A very cursory overlook of chan_zap 
shows that it does not open the zap devices by those means.  There is 
another mechanism for opening zap channels provided through 
/dev/zap/channel that gets around the limitation with devices nodes.

Matthew Fredrickson



More information about the asterisk-dev mailing list