I have just got my X100p card and am trying to install it. I have built and installed the zaptel drivers without any apparent errors and I am now trying to get them working. I have the following in config files In /etc/zaptel.conf fxsks=1 In /etc/asterisk/zapata.conf signalling=fxs_ks context=default channel => 1 Now when I try ti modprobe the drivers this is what happens: Command: modprobe zaptel /var/log/messages: Feb 17 20:47:43 desk kernel: zaptel: no version for "struct_module" found: kernel tainted. Feb 17 20:47:43 desk kernel: Zapata Telephony Interface Registered on major 196 Command: modprobe wcfxo /var/log/messages: Feb 17 20:48:18 desk kernel: PCI: Found IRQ 9 for device 0000:01:0b.0 Feb 17 20:48:18 desk kernel: PCI: Sharing IRQ 9 with 0000:00:1f.2 Feb 17 20:48:18 desk kernel: wcfxo: DAA mode is 'FCC' Feb 17 20:48:18 desk kernel: Found a Wildcard FXO: Generic Clone Feb 17 20:48:18 desk kernel: Registered tone zone 4 (United Kingdom) Command: ztcfg /var/log/messages: [nothing!] Now - there does not appear to be a Zap/1 device available in extensions.conf as I would expect. Nor does anything happen when I ring the line connected to the X100p. What have I missed? Cheers -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
> I have just got my X100p card and am trying to install it. > > I have built and installed the zaptel drivers without any apparent errors > and I am now trying to get them working. I have the following in config > files > > In /etc/zaptel.conf > fxsks=1 > > In /etc/asterisk/zapata.conf > signalling=fxs_ks > context=default > channel => 1 > > Now when I try ti modprobe the drivers this is what happens: > > Command: > modprobe zaptel > /var/log/messages: > Feb 17 20:47:43 desk kernel: zaptel: no version for "struct_module" found: > kernel tainted. > Feb 17 20:47:43 desk kernel: Zapata Telephony Interface Registered on major > 196 > > Command: > modprobe wcfxo > /var/log/messages: > Feb 17 20:48:18 desk kernel: PCI: Found IRQ 9 for device 0000:01:0b.0 > Feb 17 20:48:18 desk kernel: PCI: Sharing IRQ 9 with 0000:00:1f.2 > Feb 17 20:48:18 desk kernel: wcfxo: DAA mode is 'FCC' > Feb 17 20:48:18 desk kernel: Found a Wildcard FXO: Generic Clone > Feb 17 20:48:18 desk kernel: Registered tone zone 4 (United Kingdom) > > Command: > ztcfg > /var/log/messages: > [nothing!] > > Now - there does not appear to be a Zap/1 device available in > extensions.conf as I would expect. Nor does anything happen when I ring the > line connected to the X100p. What have I missed?Try "ztcfg -vvv" when you're doing the above. Might add some clues. After the modprobe, might do a 'lsmod' to see what was loaded.
desk*CLI> show channels Channel (Context Extension Pri ) State Appl. Data 0 active channel(s) desk*CLI>>Zaptel Configuration >=====================> > >Channel map: > >Channel 01: FXS Kewlstart (Default) (Slaves: 01) > >1 channels configured. > > >> Try "ztcfg -vvv" when you're doing the above. Might add some clues. >> >> After the modprobe, might do a 'lsmod' to see what was loaded. >>-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
> Show channels is only going to show you what channels are > actually in use, > not what is configured. Try 'zap show channels'. If that > indicates zap/1 > exists, then your issues are likely in the extensions.conf area. > > Post the results of: > zap show channels > relavent part of zapata.conf > relavent part of extensions.conf for both incoming and outgoing calls >desk*CLI> zap show channels No such command 'zap' (type 'help' for help) Contents of Zapata.conf (as per another suggestion): context=default signalling=fxs_ks echocancel=yes echotraining=800 echocancelwhenbridged=no rxgain=3.0 txgain=0.0 immediate=yes channel => 1 And from extension.conf [default] exten => _9.,1,SetCallerID(12345678) ;exten => _9.,2,Dial(SIP/${EXTEN:1}@sipgate.co.uk,20,tr) ;exten => _9.,2,Dial(IAX2/${EXTEN:1}@iax.locustworldlabs.net,20,tr) exten => _9.,2,Dial(Zap/1/${EXTEN:1},20,tr) exten => _9.,3,Congestion exten => _9.,4,Busy exten => _9.,5,Hangup -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
Did you install the drivers for the x100p (zaptel) first and then install asterisk. and what version of asterisk you using
> Message: 21 > Date: Fri, 18 Feb 2005 09:56:42 -0500 > From: Giovanni Powell <giovanni.powell@gmail.com> > Subject: Re: [Asterisk-Users] Trying to install X100p > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Message-ID: <aab1cdb05021806567e074b98@mail.gmail.com> > Content-Type: text/plain; charset=US-ASCII > > Did you install the drivers for the x100p (zaptel) first and then > install asterisk. and what version of asterisk you using > >Hmm - I actually installed asterisk FIRST - was playing with it then I decided I wanted to try the X100p. So I got the card, installed zaptel and libpri. SO Do I now have to go back and rebuild asterisk? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
On Fri, 2005-02-18 at 15:40 +0000, Mike Wright wrote:> Hmm - I actually installed asterisk FIRST - was playing with it then I > decided I wanted to try the X100p. > > So I got the card, installed zaptel and libpri. > > SO Do I now have to go back and rebuild asterisk?Not a bad idea.> >-- Dave Cotton <dcotton@linuxautrement.com>
Mike Wright wrote:> Hmm - I actually installed asterisk FIRST - was playing with it then I > decided I wanted to try the X100p. > > So I got the card, installed zaptel and libpri. > > SO Do I now have to go back and rebuild asterisk?If you pulled all three from a cvs, then you should pull a new copy of asterisk just to be in sync with the libraries. (then rebuild) -- Andrew Thompson http://aktzero.com/ http://dev.asteriskdocs.org/
Ok guys - found the problem! It was not clear to me that I needed to rebuild asterisk in order to incorporate the zaptel drivers. I (wrongly) asumed that it would just find the drivers. Apologies for wasting everybodies time!! Just one quick question if I may? When using the X100p to dial out from the box, the bahaviour is a little strange (or at least it is to me!) When I use a soft sip phone on my laptop to dial out, I hear ringing then the line gets answered. Only then does it seem to ring out! Oh well - thanks anyway chaps