mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
update the doc string for both AEL and extensions.conf users.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -83,11 +83,11 @@ static int acf_rand_exec(struct ast_channel *chan, char *cmd,
|
|||||||
static struct ast_custom_function acf_rand = {
|
static struct ast_custom_function acf_rand = {
|
||||||
.name = "RAND",
|
.name = "RAND",
|
||||||
.synopsis = "Choose a random number in a range",
|
.synopsis = "Choose a random number in a range",
|
||||||
.syntax = "RAND([min][,max])",
|
.syntax = "RAND([min][|max])",
|
||||||
.desc =
|
.desc =
|
||||||
"Choose a random number between min and max. Min defaults to 0, if not\n"
|
"Choose a random number between min and max. Min defaults to 0, if not\n"
|
||||||
"specified, while max defaults to RAND_MAX (2147483647 on many systems).\n"
|
"specified, while max defaults to RAND_MAX (2147483647 on many systems).\n"
|
||||||
" Example: Set(junky=${RAND(1,8)}); \n"
|
" Example: Set(junky=${RAND(1|8)}); \n"
|
||||||
" Sets junky to a random number between 1 and 8, inclusive.\n",
|
" Sets junky to a random number between 1 and 8, inclusive.\n",
|
||||||
.read = acf_rand_exec,
|
.read = acf_rand_exec,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user