[Asterisk-Users] Problem with X100P (ZT_SPANCONFIG failed)

Dakapo
Sat, 04 Jun 2005 05:26:50 -0000

<meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">



Hello!


I have a problem with the installation of the X100P card.


I compiled zaptel and I ran

modprobe zaptel

modprobe wcfxo


But I get the following error by running wcfxo:

ZT_SPANCONFIG failed on span 1: Invalid argument (22)


I also get the error by running ztcfg:

asterisk:~# ztcfg -vv


Zaptel Configuration

=====================

SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)


Channel map:


Channel 01: Individual Clear channel (Default) (Slaves: 01)

Channel 02: Individual Clear channel (Default) (Slaves: 02)

Channel 03: D-channel (Default) (Slaves: 03)

Channel 04: FXS Kewlstart (Default) (Slaves: 04)


4 channels configured.


ZT_SPANCONFIG failed on span 1: Invalid argument (22)




Some informations about my system (Debian Sarge with 2.6.10 kernel)

lsmod says:

asterisk:~# lsmod

Module                  Size  Used by

wcfxo                  12032  0

zaptel                219556  1 wcfxo

hfcsusb                28712  0

mISDN_dtmf              8968  0

mISDN_dsp             191968  0

mISDN_x25dte           30204  0

mISDN_core             73796  4
hfcsusb,mISDN_dtmf,mISDN_dsp,mISDN_x25dte



/etc/zaptel.conf:

# hfc-s pci a span definition

# most of the values should be bogus because we are not really zaptel

loadzone=nl

defaultzone=nl


span=1,1,3,ccs,ami

bchan=1-2

dchan=3


#Signaling for 1 X100P Wildcards.

fxsks = 4




/etc/asterisk/zapata.conf:

echocancel=yes

usecallerid=yes

context=incoming

signalling=fxs_ks

channel => 4





I would be very happy if you could help me!


A lot of thanks and kind regards

Dakapo