[Asterisk-Dev] what's the magic -3 return value in various places ?

Luigi Rizzo rizzo at icir.org
Thu Jun 23 04:41:55 MST 2005


some code in channel.c, pbx.c, rtp.c, channels/chan_zap.c
and maybe other places uses a magic -3 as the return value
from certain functions (ast_generic_bridge() is one, but there
are more instances around.

Does anyone know what this magic constant is for, so i can

#define HAPPENED_THIS_AND_THAT	-3

in include/asterisk/channel.h or some other suitable place ?

There appears to be a magic -2 as well in some places...

	thanks
	luigi



More information about the asterisk-dev mailing list