[Home]

Summary:ASTERISK-03181: ZT_CHANCONFIG failed on channel 2: No such device or address (6)
Reporter:lannet (lannet)Labels:
Date Opened:2005-01-04 17:49:06.000-0600Date Closed:2011-06-07 14:05:05
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:My opsys is Linux FC2 2.6.9 but without using /udev, so the zaptel install created all the necessary /dev/zap nodes.

My version of zaptel and asterisk is Asterisk CVS-HEAD-12/20/04-15:18:30

My configuration of zap devices is:
X101P on channel 1 -> fxsks=1
S100U on channel 2 -> fxoks=2

modprobe installs, in order, zaptel, wcfxo, wcusb
but when ztcfg runs I get either of the following:

# ztcfg -vv
Zaptel Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
2 channels configured.
ZT_CHANCONFIG failed on channel 2: No such device or address (6)

or:

# ztcfg -vv
Zaptel Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
2 channels configured.
ZT_CHANCONFIG failed on channel 2: Invalid argument (22)
Did you forget that FXS interfaces are configured with FXO signalling and that FXO interfaces use FXS signalling?

Asterisk will run OK if I only config channel 1 in zapata.conf.  Obviously, if I also config channel 2 in zapata.conf then asterisk fails to start.
Comments:By: Mark Spencer (markster) 2005-01-04 18:02:09.000-0600

This is a technical support issue, not a bug, please contact Digium technical support (supprot@digium.com) and read the bug guidelines before placing further bugs.  Thanks!