RE: [Asterisk-Users] TDM02B card difficulties

2005-10-11 Thread Min Qiu
Tzafrir,

The problem was indeed as you discribed.  Digium support
help me to straight out my setting by doing exactly what
you said.  I was simply mixed up with channels config
by trying different combination of signal, channels value 
in zaptel.conf and zapata.conf.

Thanks a lot,

Min


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Tzafrir Cohen
 Sent: Monday, October 10, 2005 4:16 PM
 To: asterisk-users@lists.digium.com
 Subject: Re: [Asterisk-Users] TDM02B card difficulties
 
 
 On Mon, Oct 10, 2005 at 10:27:19AM -0400, Min Qiu wrote:
  Thank you for your respond, please see more detail inline...
  
  Min
  
   -Original Message-
   From: [EMAIL PROTECTED] 
   [mailto:[EMAIL PROTECTED] On Behalf Of 
   Tzafrir Cohen
   Sent: Friday, October 07, 2005 4:57 PM
   To: asterisk-users@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.
  
  [EMAIL PROTECTED] 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
 
 None of them has been configured by ztcfg, right?
 
 What's the output of ztcfg -vv
 
  
   
   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:
 
 It shouldn't . 
 
 Could you please post /etc/zaptel.conf and /etc/asterisk/zapata.conf ?
 
 -- 
 Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
 http://tzafrir.org.il |   | a Mutt's  
 [EMAIL PROTECTED] |   |  best
 ICQ# 16849755 |   | friend
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@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
 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] TDM02B card difficulties

2005-10-10 Thread Min Qiu
Thank you for your respond, please see more detail inline...

Min

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Tzafrir Cohen
 Sent: Friday, October 07, 2005 4:57 PM
 To: asterisk-users@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.

[EMAIL PROTECTED] 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...
  [EMAIL PROTECTED] 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@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 | [EMAIL PROTECTED] | VIM is
 http://tzafrir.org.il |   | a Mutt's  
 [EMAIL PROTECTED] |   |  best
 ICQ# 16849755 |   | friend
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@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
 
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] TDM02B card difficulties

2005-10-10 Thread Tzafrir Cohen
On Mon, Oct 10, 2005 at 10:27:19AM -0400, Min Qiu wrote:
 Thank you for your respond, please see more detail inline...
 
 Min
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Tzafrir Cohen
  Sent: Friday, October 07, 2005 4:57 PM
  To: asterisk-users@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.
 
 [EMAIL PROTECTED] 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

None of them has been configured by ztcfg, right?

What's the output of ztcfg -vv

 
  
  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:

It shouldn't . 

Could you please post /etc/zaptel.conf and /etc/asterisk/zapata.conf ?

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] TDM02B card difficulties

2005-10-07 Thread Tzafrir Cohen
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.

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

 
 but...
 [EMAIL PROTECTED] 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@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 | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@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