<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-15" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <span class="postbody">Hello! <br> <br> I have a problem with the installation of the X100P card. <br> <br> I compiled zaptel and I ran <br> modprobe zaptel <br> modprobe wcfxo <br> <br> But I get the following error by running wcfxo: <br> ZT_SPANCONFIG failed on span 1: Invalid argument (22) <br> <br> I also get the error by running ztcfg: </span><br> <b>asterisk:~# ztcfg -vv <br> <br> Zaptel Configuration <br> =====================<br> <br> SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) <br> <br> Channel map: <br> <br> Channel 01: Individual Clear channel (Default) (Slaves: 01) <br> Channel 02: Individual Clear channel (Default) (Slaves: 02) <br> Channel 03: D-channel (Default) (Slaves: 03) <br> Channel 04: FXS Kewlstart (Default) (Slaves: 04) <br> <br> 4 channels configured. <br> <br> ZT_SPANCONFIG failed on span 1: Invalid argument (22) </b> <br> <span class="postbody"><br> <br> Some informations about my system (Debian Sarge with 2.6.10 kernel) <br> lsmod says: <br> </span><b>asterisk:~# lsmod <br> Module Size Used by <br> wcfxo 12032 0 <br> zaptel 219556 1 wcfxo <br> hfcsusb 28712 0 <br> mISDN_dtmf 8968 0 <br> mISDN_dsp 191968 0 <br> mISDN_x25dte 30204 0 <br> mISDN_core 73796 4 hfcsusb,mISDN_dtmf,mISDN_dsp,mISDN_x25dte </b><br> <span class="postbody"><br> <br> /etc/zaptel.conf: <br> </span><b># hfc-s pci a span definition <br> # most of the values should be bogus because we are not really zaptel <br> loadzone=nl <br> defaultzone=nl <br> <br> span=1,1,3,ccs,ami <br> bchan=1-2 <br> dchan=3 <br> <br> #Signaling for 1 X100P Wildcards. <br> fxsks = 4 </b> <br> <span class="postbody"><br> <br> /etc/asterisk/zapata.conf: <br> </span><b>echocancel=yes <br> usecallerid=yes <br> context=incoming <br> signalling=fxs_ks <br> channel => 4 </b><br> <span class="postbody"><br> <br> <br> <br> I would be very happy if you could help me! <br> <br> A lot of thanks and kind regards <br> Dakapo</span> </body> </html>