[Asterisk-Users] Macro exists if an application returned -1

Armin Schindler armin at melware.de
Wed Sep 21 09:48:11 MST 2005


On Wed, 21 Sep 2005, Thorsten Lockert wrote:
> On Sep 21, 2005, at 8:27 , Armin Schindler wrote:
> > Is there any solution for using ChanIsAvail() in a macro?
> 
> Yes.  Fix app_chanisavail.c such that it says "if (ast_goto_if_exists(..."
> instead of "if (!ast_goto_if_exists(...".  Somone bungled the conversion to
> use "ast_goto_if_exists" -- this may or may not be incorrect in other places
> as well.

Ah yes, thanks !

Is this already known to developers or why is not fixed in CVS yet?

Armin




More information about the asterisk-users mailing list