[Asterisk-Dev] why not disable clock when using multiple Zaptel cards?

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Fri Nov 26 11:39:22 MST 2004


New thread started to prevent thread hijacking:

On November 26, 2004 12:16 pm, Peter Svensson wrote:
> There is a field "timing" in /etc/zaptel.conf that ranks incoming spans in
> the order they are to be considered as a clock source. If all active spans
> (presumably on a single card) have their timing set to 0 the card and thus
> all the spans will be clocked from an internal source.
>
> Now, given what has been written on the bug tracker and here I suspect
> there is a bug in ztcfg. It should set up the clocking independently on
> the two cards. Perhaps it doesn't?

I have thought about this several times in the past and I'm finally to the 
point where I can't understand why not.

If I have a pair of T100Ps, or a TDM400P and a X101P, or any combination of 
Zaptel cards in a system why on earth does the zaptel driver not disable the 
timer interrupt for all but one card and use that single timer for clocking 
everything in the system?

IIRC there are problems discussed where having two Zaptel cards in a system 
can cause issues when bridging between them since the timing is off, and 
using one timer for all Zaptel cards certainly seems like it would be more 
efficient and eliminate this problem.   Am I missing something obvious?

-A.



More information about the asterisk-dev mailing list