[asterisk-dev] BugID 014021, Zap/DAHDI timers, internal timing and packetization
Russell Bryant
russell at digium.com
Sun Dec 14 06:16:20 CST 2008
On Dec 13, 2008, at 5:56 PM, Dan Austin wrote:
> I know the issue can be solved, but I am not sure it can be solved
> in 1.4 or 1.6.0 since the fix will likely need changes to the
> channel structure.
It definitely sounds like you're on the right track to the fix for
this. Thank you for working on it!
As far as changing ast_channel goes, we might be in luck. I just
deprecated a field in the ast_channel struct as a part of a bug fix.
However, it's still there for the sake of maintaining ABI. So, we
actually have 80 bytes that we can use for other things if needed. :-)
You could change:
char unused_old_dtmfq[AST_MAX_EXTENSION];
to something like:
union {
/*! This is a deprecated field of the ast_channel struct */
char unused_old_dtmfq[AST_MAX_EXTENSION];
/*! The size of the following struct must be less than or equal
to AST_MAX_EXTENSION */
struct {
uint16_t timer_rate;
};
};
--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.
More information about the asterisk-dev
mailing list