Asterisk Project : Asterisk 10 Function_RAND This page last changed on Oct 14, 2011 by wikibot. # RAND() ### Synopsis Choose a random number in a range. ### Description Choose a random number between min and max. min defaults to `0`, if not specified, while max defaults to `RAND_MAX` (2147483647 on many systems). Example: Set(junky=${RAND(1,8)}); Sets junky to a random number between 1 and 8, inclusive. ### Syntax
    RAND([min[,max]])
##### Arguments `min` `max` ### See Also ### Import Version This documentation was imported from Asterisk version SVN-branch-10-r340810.

Document generated by Confluence on Oct 14, 2011 13:25