[asterisk-dev] translate.c:88 powerof: Powerof 0: No power??

Kevin P. Fleming kpfleming at digium.com
Tue Nov 28 16:44:18 MST 2006


Hans Petter Selasky wrote:
> In my bridge routine, I only forward "AST_FRAME_VOICE" now.
> 
> But still I think asterisk has a bug, in that it cannot handle 
> "AST_FRAME_NULL", hence "f->subclass == 0", and it is forwarded by 
> "ast_write()" to "ast_translate_write()"!

This is clearly wrong; ast_write() returns with a result of zero if the
incoming frame is AST_FRAME_NULL.


More information about the asterisk-dev mailing list