It seems to me that if not all cards are clocked from the same source, then each one should be able to get its own external clock. However, card 0 has an external clock, but card 1 does not. Look at this:

#cd /proc/zaptel/
# grep ClockSource *
1:Span 1: TE4/0/1 "TE410P (PCI) Card 0 Span 1" HDB3/CCS ClockSource

Again, card 1 does not show up here and, of course, zttool reports it as clocked internally. The first spans in the cards are configured to be primary sync sources:

span=1,1,0,ccs,hdb3
span=5,1,0,ccs,hdb3

I am sure the line connected to span 5 is a good clock source. This morning I exchanged this line with the one clocking span 1. Card 0 reports a valid clock, while card 1 does not.

Bug in zaptel or ztcfg?

Fernando


Peter Svensson wrote:
On Fri, 26 Nov 2004, Andrew Kohlsmith wrote:

  
On November 26, 2004 11:06 am, Patrick wrote:
    
Doesn't "sync source" mean that the card is generating its own clocking?
If your telco provides the clocking, the card should not.
      
0 = don't use the remote clock for sync (use internal clock)
1 = use remote clock as card's primary clock source
2 = use remote clock as card's secondary clock source
3 = ...

secondary, tertiary and so on are only used if the primary (or secondary, and 
so on) is down.

A sync source of 0 means self-clock.
    

I think you may be talking past each other. If the text "ClockSource" 
appears in /proc/zaptel/[1-8] that span is used as the current clock 
source. From what Marc has said it is the clock sorce for all spans on the 
same card.

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?

Peter


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
  
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to