[asterisk-users] Digium Single Span Card Installation

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Oct 19 07:43:41 MST 2006


On Thu, Oct 19, 2006 at 10:15:32AM +0530, K Y Iyer wrote:
> Hello Again
> 
> I ran the genzaptelconf - but I cannot see any channels in asterisk CLI.
> 
> I did make and install zaptel after I put in the card.  What am I
> missing?

zaptel.conf is now configured (hopefully with the correct signalling, if
not, please let me know).

genzaptelconf does not generate a complete /etc/asterisk/zapata.conf
file. Rather, it generates /etc/asterisk/zapata-channels.conf which is a
zapata.conf snippet that could be #include-d at the end of zapata.conf:

echo '#include zapata-channels.conf' >>/etc/asterisk/zapata.conf

Then you need to restart asterisk (or use 'zap restart' , if availble)

> 
> Thanks very much, indeed, for all your assistance
> 
> Best wishes
> 
> Iyer
> 
> 
> [03 ~]# asterisk -r
> 
> Asterisk 1.2.12.1, Copyright (C) 1999 - 2006 Digium, Inc. and others.
> Created by Mark Spencer <markster at digium.com>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for
> details.
> This is free software, with components licensed under the GNU General
> Public
> License version 2 and other licenses; you are welcome to redistribute it
> under
> certain conditions. Type 'show license' for details.
> ========================================================================
> =
> Connected to Asterisk 1.2.12.1 currently running on mysql-03 (pid =
> 23271)
> 
> 03*CLI> zap show channels
>    Chan Extension  Context         Language   MusicOnHold
>  pseudo            default
> 
> 03*CLI> zap show status
> Description                              Alarms     IRQ        bpviol
> CRC4
> Digium Wildcard TE110P T1/E1 Card 0      OK         0          0
> 0
> 03*CLI> 
> 
> [03 ~]# ztcfg -vvv
> 
> Zaptel Configuration
> ======================
> 
> SPAN 1: ESF/B8ZS Build-out: 133-266 feet (DSX-1)
> 
> Channel map:
> 
> Channel 01: Clear channel (Default) (Slaves: 01)
> Channel 02: Clear channel (Default) (Slaves: 02)
> Channel 03: Clear channel (Default) (Slaves: 03)
> Channel 04: Clear channel (Default) (Slaves: 04)
> Channel 05: Clear channel (Default) (Slaves: 05)
> Channel 06: Clear channel (Default) (Slaves: 06)
> Channel 07: Clear channel (Default) (Slaves: 07)
> Channel 08: Clear channel (Default) (Slaves: 08)
> Channel 09: Clear channel (Default) (Slaves: 09)
> Channel 10: Clear channel (Default) (Slaves: 10)
> Channel 11: Clear channel (Default) (Slaves: 11)
> Channel 12: Clear channel (Default) (Slaves: 12)
> Channel 13: Clear channel (Default) (Slaves: 13)
> Channel 14: Clear channel (Default) (Slaves: 14)
> Channel 15: Clear channel (Default) (Slaves: 15)
> Channel 16: D-channel (Default) (Slaves: 16)
> Channel 17: Clear channel (Default) (Slaves: 17)
> Channel 18: Clear channel (Default) (Slaves: 18)
> Channel 19: Clear channel (Default) (Slaves: 19)
> Channel 20: Clear channel (Default) (Slaves: 20)
> Channel 21: Clear channel (Default) (Slaves: 21)
> Channel 22: Clear channel (Default) (Slaves: 22)
> Channel 23: Clear channel (Default) (Slaves: 23)
> Channel 24: Clear channel (Default) (Slaves: 24)
> Channel 25: Clear channel (Default) (Slaves: 25)
> Channel 26: Clear channel (Default) (Slaves: 26)
> Channel 27: Clear channel (Default) (Slaves: 27)
> Channel 28: Clear channel (Default) (Slaves: 28)
> Channel 29: Clear channel (Default) (Slaves: 29)
> Channel 30: Clear channel (Default) (Slaves: 30)
> Channel 31: Clear channel (Default) (Slaves: 31)
> 
> 31 channels configured.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tzafrir
> Cohen
> Sent: Wednesday, October 18, 2006 5:10 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Digium Single Span Card Installation
> 
> On Wed, Oct 18, 2006 at 04:28:16PM +0530, K Y Iyer wrote:
> > Hi
> > 
> > Also tried the following command and got the following lines.  Why is 
> > that /proc/zaptel/1 reports all the 31 lines whereas ztcfg reports 18 
> > channels?  What do they mean?
> 
> ztcfg reports the channels you are about to try to configure and the
> result of that configuration. It does not scan your system for channels.
> Your /etc/zaptel.conf does not include all the bchan-nnels, and thus not
> all of them are reported and not all were configured.
> 
> <selfpromo>
> If you want to scan your system for channels and attempt to create a
> wonrking configuration (one that at least be able to pass ztcfg and run
> asterisk with), use xpp/utils/genzaptelconf.
> </selfpromo>
> 
> -- 
> Tzafrir Cohen         sip:tzafrir at local.xorcom.com
> icq#16849755          iax:tzafrir at local.xorcom.com
> +972-50-7952406          jabber:tzafrir at jabber.org
> tzafrir.cohen at xorcom.com     http://www.xorcom.com
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com


More information about the asterisk-users mailing list