Re: [Asterisk-Users] TDM4xxP

2006-05-11 Thread Steve Totaro

Steve Totaro wrote:

Roger Gulbranson wrote:

On Thu, 2006-05-11 at 11:13 -0400, Steve Totaro wrote:

 
I was able to install the card and get wctdm to load with the 
timingonly = 1 setting.
I cannot run ./zttest though, I get "Unable to open zap interface: 
No such device or address" Does this mean that I am not getting timing?



Is this a 2.6 kernel?  You may need to configure the /dev/zap
interfaces.

 
Do I actually have to configure any of the conf files at all or 
should modprobe zaptel, modprobe wctdm without errors be enough.



It *should* be enough (my comments above withstanding).  NB: I was doing
this on SPARC Solaris -- there are numerous differences which could
affect you.


  

It is CentOS 2.6.9-34.EL SMP

Is there something in particular I have to configure based on below?

[EMAIL PROTECTED] ~]# cd /dev/zap/
[EMAIL PROTECTED] zap]# ls -la
total 0
drwxr-xr-x  2 root root  120 May 11 07:15 .
drwxr-xr-x  9 root root 4580 May 11 07:15 ..
crw-rw  1 asterisk asterisk 196, 254 May 11 07:15 channel
crw-rw  1 asterisk asterisk 196,   0 May 11 07:15 ctl
crw-rw  1 asterisk asterisk 196, 255 May 11 07:15 pseudo
crw-rw  1 asterisk asterisk 196, 253 May 11 07:15 timer
[EMAIL PROTECTED] zap]#

___

OK fixed it now, can confirm a TDM4XXP card with no modules can provide 
timing.  I had to remove the loaded modules and then modprobe them 
again, at which point timing worked just fine.


Thanks,
Steve


___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-11 Thread Steve Totaro

Roger Gulbranson wrote:

On Thu, 2006-05-11 at 11:13 -0400, Steve Totaro wrote:

  
I was able to install the card and get wctdm to load with the timingonly 
= 1 setting. 

I cannot run ./zttest though, I get "Unable to open zap interface: No 
such device or address" Does this mean that I am not getting timing?



Is this a 2.6 kernel?  You may need to configure the /dev/zap
interfaces.

  
Do I actually have to configure any of the conf files at all or should 
modprobe zaptel, modprobe wctdm without errors be enough.



It *should* be enough (my comments above withstanding).  NB: I was doing
this on SPARC Solaris -- there are numerous differences which could
affect you.


  

It is CentOS 2.6.9-34.EL SMP

Is there something in particular I have to configure based on below?

[EMAIL PROTECTED] ~]# cd /dev/zap/
[EMAIL PROTECTED] zap]# ls -la
total 0
drwxr-xr-x  2 root root  120 May 11 07:15 .
drwxr-xr-x  9 root root 4580 May 11 07:15 ..
crw-rw  1 asterisk asterisk 196, 254 May 11 07:15 channel
crw-rw  1 asterisk asterisk 196,   0 May 11 07:15 ctl
crw-rw  1 asterisk asterisk 196, 255 May 11 07:15 pseudo
crw-rw  1 asterisk asterisk 196, 253 May 11 07:15 timer
[EMAIL PROTECTED] zap]#

___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-11 Thread Roger Gulbranson
On Thu, 2006-05-11 at 11:13 -0400, Steve Totaro wrote:

> I was able to install the card and get wctdm to load with the timingonly 
> = 1 setting. 
> 
> I cannot run ./zttest though, I get "Unable to open zap interface: No 
> such device or address" Does this mean that I am not getting timing?

Is this a 2.6 kernel?  You may need to configure the /dev/zap
interfaces.

> Do I actually have to configure any of the conf files at all or should 
> modprobe zaptel, modprobe wctdm without errors be enough.

It *should* be enough (my comments above withstanding).  NB: I was doing
this on SPARC Solaris -- there are numerous differences which could
affect you.



___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-11 Thread Steve Totaro

Tzafrir Cohen wrote:

On Sun, May 07, 2006 at 12:21:53AM -0400, Roger Gulbranson wrote:
  

On Sat, 2006-05-06 at 19:43 -0400, Steve Totaro wrote:


Roger Gulbranson wrote:
  

On Sat, 2006-05-06 at 07:42 -0400, Steve Totaro wrote:
  

I have a TDM4xxp card with no modules.  My question is, will this card 
be sufficient to provide timing or does it need to have modules?

  

Yes, it will be -- I use such a card in one of my SPARCs.  IIRC though,
you need to tweak the source to allow it to load wctdm without a module.
  

Can you give me a little clue about what needs to be tweaked?  A very 
nice clue would be very specific and line by line ;-)
  

It's been a year and a half since I worked on this so my memory is a bit
hazy.

My guess is that the line is:

static int timingonly = 1;

The original value was a zero.




  timingonly

Try 'modinfo wctdm' . This is a parameter of the module (at least now).
So it can be set at modprobe time or through modprobe.conf .

-- Tzafrir

  


I was able to install the card and get wctdm to load with the timingonly 
= 1 setting. 

I cannot run ./zttest though, I get "Unable to open zap interface: No 
such device or address" Does this mean that I am not getting timing?


Do I actually have to configure any of the conf files at all or should 
modprobe zaptel, modprobe wctdm without errors be enough.


Thanks,
Steve 


___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-07 Thread Tzafrir Cohen
On Sun, May 07, 2006 at 12:21:53AM -0400, Roger Gulbranson wrote:
> On Sat, 2006-05-06 at 19:43 -0400, Steve Totaro wrote:
> > Roger Gulbranson wrote:
> > > On Sat, 2006-05-06 at 07:42 -0400, Steve Totaro wrote:
> > >   
> > >> I have a TDM4xxp card with no modules.  My question is, will this card 
> > >> be sufficient to provide timing or does it need to have modules?
> > >> 
> > >
> > > Yes, it will be -- I use such a card in one of my SPARCs.  IIRC though,
> > > you need to tweak the source to allow it to load wctdm without a module.
> > >   
> > 
> > Can you give me a little clue about what needs to be tweaked?  A very 
> > nice clue would be very specific and line by line ;-)
> 
> It's been a year and a half since I worked on this so my memory is a bit
> hazy.
> 
> My guess is that the line is:
> 
> static int timingonly = 1;
> 
> The original value was a zero.
> 

  timingonly

Try 'modinfo wctdm' . This is a parameter of the module (at least now).
So it can be set at modprobe time or through modprobe.conf .

-- Tzafrir
___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Roger Gulbranson
On Sat, 2006-05-06 at 19:43 -0400, Steve Totaro wrote:
> Roger Gulbranson wrote:
> > On Sat, 2006-05-06 at 07:42 -0400, Steve Totaro wrote:
> >   
> >> I have a TDM4xxp card with no modules.  My question is, will this card 
> >> be sufficient to provide timing or does it need to have modules?
> >> 
> >
> > Yes, it will be -- I use such a card in one of my SPARCs.  IIRC though,
> > you need to tweak the source to allow it to load wctdm without a module.
> >   
> 
> Can you give me a little clue about what needs to be tweaked?  A very 
> nice clue would be very specific and line by line ;-)

It's been a year and a half since I worked on this so my memory is a bit
hazy.

My guess is that the line is:

static int timingonly = 1;

The original value was a zero.



___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Sean Cook


(never tried it).  Personally I 
would spend $100 bucks and get a FXS or FXO module for it. 

As for the X100P clone, the timing on them IMO is not anywhere near what 
the tdm400.  There are a few documented instance of timing just flat not 
working.



Not working or irregular?
  


irregular.  I have had better luck with the ztdummy drivers (2.6 kernel) 
than I have with the x100p... YMMV


___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Steve Totaro

Roger Gulbranson wrote:

On Sat, 2006-05-06 at 07:42 -0400, Steve Totaro wrote:
  
I have a TDM4xxp card with no modules.  My question is, will this card 
be sufficient to provide timing or does it need to have modules?



Yes, it will be -- I use such a card in one of my SPARCs.  IIRC though,
you need to tweak the source to allow it to load wctdm without a module.
  


Can you give me a little clue about what needs to be tweaked?  A very 
nice clue would be very specific and line by line ;-)

___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Roger Gulbranson
On Sat, 2006-05-06 at 07:42 -0400, Steve Totaro wrote:
> I have a TDM4xxp card with no modules.  My question is, will this card 
> be sufficient to provide timing or does it need to have modules?

Yes, it will be -- I use such a card in one of my SPARCs.  IIRC though,
you need to tweak the source to allow it to load wctdm without a module.



___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Tzafrir Cohen
On Sat, May 06, 2006 at 02:58:18PM -0400, Sean Cook wrote:
> See here is the interesting thing... zaptel alone is not sufficient to 
> provide timing... you need wctdm or something else loaded.  

wctdm for TDM400P , wcfxo for X100P . You just need a span registered
with zaptel. Thus basically load that module after once the card has
been inserted.

> But with out 
> modules, I don't think wctdm will load.

IIRC it will. But as I mentioned, it's trivial to test given another
test machine with an appropriate PCI slot.

> (never tried it).  Personally I 
> would spend $100 bucks and get a FXS or FXO module for it. 
> 
> As for the X100P clone, the timing on them IMO is not anywhere near what 
> the tdm400.  There are a few documented instance of timing just flat not 
> working.

Not working or irregular?

-- Tzafrir
___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Sean Cook
See here is the interesting thing... zaptel alone is not sufficient to 
provide timing... you need wctdm or something else loaded.  But with out 
modules, I don't think wctdm will load.  (never tried it).  Personally I 
would spend $100 bucks and get a FXS or FXO module for it. 

As for the X100P clone, the timing on them IMO is not anywhere near what 
the tdm400.  There are a few documented instance of timing just flat not 
working.


Sean

Time Bandit wrote:
At that cost of downtime I would grab a module just to be sure and 
stick it
in, no need to actually configure that zapata channel but I would 
think the

card needs some module.


And what about an X100P clone, would that give an accurate timing 
source ?

___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Time Bandit

At that cost of downtime I would grab a module just to be sure and stick it
in, no need to actually configure that zapata channel but I would think the
card needs some module.


And what about an X100P clone, would that give an accurate timing source ?
___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Tzafrir Cohen
On Sat, May 06, 2006 at 01:46:41PM -0400, Steve Totaro wrote:
> tom wrote:
> >Sean Cook wrote:
> >  
> >>hm... why not just use ztdummy and save the $150 for the card?
> >>
> >>Sean
> >>
> >>
> >Maybe he amalgamated 2 cards and has one left over.
> >Maybe he doesn't want to compile USB support for his kernel.
> >
> >  
> I have an SGI Altix 350 with dual Itaniums.  I tried compiling ztdummy 
> but it wont run without recompiling the kernel with some 1000kz 
> setting.  This is a 24/7 high volume call center.  Seems much less 
> likely to cause problems by just popping in a card.

What kernel version? What architecture?

> 
> I have a card with no modules sitting gathering dust so no additional 
> cost and less downtime to pop a card in as opposed to recompiling a 
> kernel and hoping it comes back up.  We lose $16,000/hr if the switch 
> goes down.

Check for yourself, then.
Put it in another computer, install zaptel, make sure ztdummy is not
loaded and no other card is present, and run zttest. Or for that matter,
head -c 1 /dev/zap/pseudo

-- Tzafrir
___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Bruce Reeves
At that cost of downtime I would grab a module just to be sure and stick it in, no need to actually configure that zapata channel but I would think the card needs some module.On 5/6/06, 
Steve Totaro <[EMAIL PROTECTED]> wrote:
tom wrote:> Sean Cook wrote:>>> hm... why not just use ztdummy and save the $150 for the card? Sean> Maybe he amalgamated 2 cards and has one left over.
> Maybe he doesn't want to compile USB support for his kernel.>>I have an SGI Altix 350 with dual Itaniums.  I tried compiling ztdummybut it wont run without recompiling the kernel with some 1000kz
setting.  This is a 24/7 high volume call center.  Seems much lesslikely to cause problems by just popping in a card.I have a card with no modules sitting gathering dust so no additionalcost and less downtime to pop a card in as opposed to recompiling a
kernel and hoping it comes back up.  We lose $16,000/hr if the switchgoes down.Thanks,Steve___--Bandwidth and Colocation provided by 
Easynews.com --Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit:   http://lists.digium.com/mailman/listinfo/asterisk-users
-- BruceNortex Networks
___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Jason Lixfeld
In my experience, ztdummy doesn't work anywhere near as well as the  
$150 card, especially if you want to start doing conferencing, etc...


On 6-May-06, at 12:45 PM, Sean Cook wrote:


hm... why not just use ztdummy and save the $150 for the card?

Sean


Steve Totaro wrote:
I have a TDM4xxp card with no modules.  My question is, will this  
card be sufficient to provide timing or does it need to have modules?


Thanks,
Steve
___
--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



___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Michael George
On Sat, May 06, 2006 at 12:45:10PM -0400, Sean Cook wrote:
> hm... why not just use ztdummy and save the $150 for the card?

ztdummy can have timing inaccuracies that will be removed with a Digium
card.

Am dealing with that right now on our company system...

> Steve Totaro wrote:
> >I have a TDM4xxp card with no modules.  My question is, will this card 
> >be sufficient to provide timing or does it need to have modules?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Steve Totaro

tom wrote:

Sean Cook wrote:
  

hm... why not just use ztdummy and save the $150 for the card?

Sean



Maybe he amalgamated 2 cards and has one left over.
Maybe he doesn't want to compile USB support for his kernel.

  
I have an SGI Altix 350 with dual Itaniums.  I tried compiling ztdummy 
but it wont run without recompiling the kernel with some 1000kz 
setting.  This is a 24/7 high volume call center.  Seems much less 
likely to cause problems by just popping in a card.


I have a card with no modules sitting gathering dust so no additional 
cost and less downtime to pop a card in as opposed to recompiling a 
kernel and hoping it comes back up.  We lose $16,000/hr if the switch 
goes down.


Thanks,
Steve
___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread tom
Sean Cook wrote:
> hm... why not just use ztdummy and save the $150 for the card?
>
> Sean
>
Maybe he amalgamated 2 cards and has one left over.
Maybe he doesn't want to compile USB support for his kernel.


___
--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


Re: [Asterisk-Users] TDM4xxP

2006-05-06 Thread Sean Cook

hm... why not just use ztdummy and save the $150 for the card?

Sean


Steve Totaro wrote:
I have a TDM4xxp card with no modules.  My question is, will this card 
be sufficient to provide timing or does it need to have modules?


Thanks,
Steve
___
--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


[Asterisk-Users] TDM4xxP

2006-05-06 Thread Steve Totaro
I have a TDM4xxp card with no modules.  My question is, will this card 
be sufficient to provide timing or does it need to have modules?


Thanks,
Steve
___
--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