On Wed, Dec 05, 2007 at 04:36:44PM -0500, Kevin P. Fleming wrote:
> Tzafrir Cohen wrote:
>
> >
> > This is generic zaptel code, rather than zaptel-specific.
> >
> > Implement
> > zt_span_from_lineconfig(struct zt_span *span, struct lineconfig *lc)
> > ?
>
> I don't understand the question... can you rephrase this? What would
> this function do?
The changeset in reference changes all the drivers for PRI cards. The
change is exactly the same. Furthermore, the code around it is exactly
the same. Shouldn't it be thus done in the main Zaptel code?
What if we actually do them in the main handler of ZT_SPANCONFIG before
calling the spanconfig handler?
/* XXX We assume lineconfig is okay and shouldn't XXX */
span->lineconfig = lc->lineconfig;
span->lbo = lc->lbo;
span->txlevel = lc->lbo;
span->rxlevel = 0;
--
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-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev