Re: [asterisk-users] Need to run ztcfg manually?

2007-10-29 Thread Mojo with Horan Company, LLC
Tzafrir Cohen wrote:
 On Fri, Oct 26, 2007 at 04:52:07PM -0800, Mojo with Horan  Company, LLC 
 wrote:
   
 I don't have T1 but it seems that the first time I run ztcfg (or in 
 fact, the zaptel startup script runs it for me) it fails.  
 

 What distribution is it?

 RHEL4 / CentOS4 has an early udev version that seems to react quite
 slowly.

   
Precisely, Centos4.4 -- A delay loop _would_ clean things up a bit, 
agreed.  Thanks!
 For that reason that zaptel init.d script includes a delay loop. In
 earlier versions it had waited up to 10 seconds for /dev/zap/ctl to
 appear. In current versions it waits up to 20 seconds, and that number
 is configurable through /etc/sysconfig/zaptel (or /etc/default/zaptel on
 Debian).

   


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Need to run ztcfg manually?

2007-10-27 Thread Tzafrir Cohen
On Fri, Oct 26, 2007 at 04:52:07PM -0800, Mojo with Horan  Company, LLC wrote:
 I don't have T1 but it seems that the first time I run ztcfg (or in 
 fact, the zaptel startup script runs it for me) it fails.  

What distribution is it?

RHEL4 / CentOS4 has an early udev version that seems to react quite
slowly.

For that reason that zaptel init.d script includes a delay loop. In
earlier versions it had waited up to 10 seconds for /dev/zap/ctl to
appear. In current versions it waits up to 20 seconds, and that number
is configurable through /etc/sysconfig/zaptel (or /etc/default/zaptel on
Debian).

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Need to run ztcfg manually?

2007-10-26 Thread Carlos Chavez
On Fri, 2007-10-26 at 16:35 -0400, Michelle Dupuis wrote:
 I have a new asterisk system with a T1 card.  It appears that running
 ztcfg -vv  is required in order for asterisk to start properly.
  
 Is this correct?  Are people adding this command to the asterisk
 startup script?  
  
This is handled by the zaptel startup script.

 
-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001


signature.asc
Description: This is a digitally signed message part
___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Need to run ztcfg manually?

2007-10-26 Thread Tzafrir Cohen
On Fri, Oct 26, 2007 at 04:35:22PM -0400, Michelle Dupuis wrote:
 I have a new asterisk system with a T1 card.  It appears that running ztcfg
 -vv  is required in order for asterisk to start properly.
  
 Is this correct?  Are people adding this command to the asterisk startup
 script?  

It is already in the zaptel init.d script (without the -vv, of course).

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Need to run ztcfg manually?

2007-10-26 Thread Mojo with Horan Company, LLC
I don't have T1 but it seems that the first time I run ztcfg (or in 
fact, the zaptel startup script runs it for me) it fails.  Then I need 
to run it again for it to actually configure things right.  So, my 
(redhat-style) /etc/rc.d/rc.local contains

modprobe wctdm
ztcfg -vv
asterisk


Michelle Dupuis wrote:
 I have a new asterisk system with a T1 card.  It appears that running 
 ztcfg -vv  is required in order for asterisk to start properly.
  
 Is this correct?  Are people adding this command to the asterisk 
 startup script? 
  
 Thanks
 

 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Need to run ztcfg manually?

2007-10-26 Thread Lyle Giese
Zaptel creates a startup script. You just need to make sure it run/loads
fully before Asterisk starts in your bootup scripts.

This gets into tweeking your system and that varies based on the exact
OS/distro you are running.

Lyle

Mojo with Horan  Company, LLC wrote:
 I don't have T1 but it seems that the first time I run ztcfg (or in 
 fact, the zaptel startup script runs it for me) it fails.  Then I need 
 to run it again for it to actually configure things right.  So, my 
 (redhat-style) /etc/rc.d/rc.local contains

 modprobe wctdm
 ztcfg -vv
 asterisk


 Michelle Dupuis wrote:
   
 I have a new asterisk system with a T1 card.  It appears that running 
 ztcfg -vv  is required in order for asterisk to start properly.
  
 Is this correct?  Are people adding this command to the asterisk 
 startup script? 
  
 Thanks
 

 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 


 ___
 --Bandwidth and Colocation Provided by http://www.api-digital.com--

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
   

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users