[asterisk-dev] M9645: provide zaptel master timing to spans

Oron Peled oron at actcom.co.il
Sat May 5 16:18:23 MST 2007


On Sunday, 6 áMay 2007 01:40, Tzafrir Cohen wrote:
> On Sun, May 06, 2007 at 12:52:49AM +0300, Oron Peled wrote:
> > 	int sync_election(struct zt_span *span, int priority);
> 
> This currently happens implicitly in zt_alarm_notify . When there is an
> alarm on the master span, relections happen.
> 
> Should the two be separated?

Yes, for two reasons:
  1. Alarm may have other consequences (e.g: current calls disconnection).
  2. The explicit API include a priority parameter. For example, a PRI
     driver that got disconnected from the network may now have lower
     priority than before, but it may still be better than ztdummy if
     it has a good internal clock.


-- 
Oron Peled                             Voice/Fax: +972-4-8228492
oron at actcom.co.il                  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

But it does move!
                -- Galileo Galilei


More information about the asterisk-dev mailing list