diff --git a/apps/app_random.c b/apps/app_random.c index 57ef4dd323..f7d09e87a6 100644 --- a/apps/app_random.c +++ b/apps/app_random.c @@ -39,6 +39,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/pbx.h" #include "asterisk/module.h" +/* TODO This app should be removed from trunk following the release of 1.4 */ + static char *tdesc = "Random goto"; static char *app_random = "Random"; @@ -47,14 +49,13 @@ static char *random_synopsis = "Conditionally branches, based upon a probability static char *random_descrip = "Random([probability]:[[context|]extension|]priority)\n" -" probability := INTEGER in the range 1 to 100\n"; +" probability := INTEGER in the range 1 to 100\n" +"DEPRECATED: Use GotoIf($[${RAND(1,100)} > ]?