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

Thorsten Lockert tholo at sigmasoft.com
Wed Sep 21 08:45:25 MST 2005


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.

Thorsten




More information about the asterisk-users mailing list