[Asterisk-Users] TDM02B card difficulties

Min Qiu mqiu at pop2pop.com
Mon Oct 10 07:27:19 MST 2005


Thank you for your respond, please see more detail inline...

Min

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Tzafrir Cohen
> Sent: Friday, October 07, 2005 4:57 PM
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] TDM02B card difficulties
> 
> 
> On Fri, Oct 07, 2005 at 03:41:43PM -0400, Min Qiu wrote:
> > 
> > Hi all,
> > 
> > I just installed an TDM02B.  My system is a dell pc with
> > linux 2.6.12-1.1456_FC4
> > asterisk-1.2.0-beta1
> > zaptel-1.2.0-beta1
> > libpri-1.2.0-beta1
> > 
> > in /etc/zaptel.conf I have (all others are default):
> > fxsks=3-4                       <--- I saw light in the ports
> > channels=1-2                    <--- change it to 3-4 has 
> same result
> 
> cat /proc/zaptel/1 to see the channel numbers.

[root at nmsd0 mqiu]# cat /proc/zaptel/1
Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1"

           1 WCTDM/0/0
           2 WCTDM/0/1
           3 WCTDM/0/2
           4 WCTDM/0/3

> 
> Anyway, the last line is incorrect. It should be used in 
> zapata.conf and
> not in zaptel.conf .

The zaptel.conf has "channels=..." as an example.  Took the line
out I have:

 [chan_phone.so] => (Linux Telephony API Support)
  == Parsing '/etc/asterisk/phone.conf': Found
  == Registered channel type 'Phone' (Standard Linux Telephony API Driver)
 [chan_zap.so] => (Zapata Telephony w/PRI)
  == Parsing '/etc/asterisk/zapata.conf': Found
Oct 10 10:28:18 WARNING[28754]: chan_zap.c:890 zt_open: Unable to specify channel 1: No such device or address
Oct 10 10:28:18 ERROR[28754]: chan_zap.c:6650 mkintf: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
Oct 10 10:28:18 ERROR[28754]: chan_zap.c:10030 setup_zap: Unable to register channel '1'
Oct 10 10:28:18 WARNING[28754]: loader.c:403 __load_resource: chan_zap.so: load_module failed, returning -1
Oct 10 10:28:18 WARNING[28754]: loader.c:543 load_modules: Loading module chan_zap.so failed!
Ouch ... error while writing audio data: : Broken pipe



> 
> > 
> > but...
> > [root at nmsd0 asterisk]# /etc/rc.d/init.d/zaptel restart
> > Unloading zaptel hardware drivers: wctdm.
> > Removing zaptel module:                                    [  OK  ]
> > Loading zaptel framework:                                  [  OK  ]
> > Waiting for zap to come online...OK
> > Loading zaptel hardware modules:Running ztcfg:  Notice: 
> Configuration file is /etc/zaptel.conf
> > line 207: Cannot get number of tones chanel 1
> > line 207: Cannot init tones chanel 1
> > /etc/init.d/functions: line 408: 13058 Segmentation fault      $*
> >                                                            [FAILED]
> > 
> > Wires are checked.  Can anyone point me to next step?
> > 
> > Thanks a lot,
> > 
> > Min
> > 
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com --
> > 
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> -- 
> Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
> http://tzafrir.org.il |                           | a Mutt's  
> tzafrir at cohens.org.il |                           |  best
> ICQ# 16849755         |                           | friend
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 



More information about the asterisk-users mailing list