doesnt work :(
----- Original Message -----
From: "Steve Edwards" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<[email protected]>
Sent: Friday, October 13, 2006 4:10 PM
Subject: RE: [asterisk-users] Generate Random Numbers in dialplan
Well, you learn something new every day :)
FYI, $RANDOM returns a value between 0 and 32767.
On Fri, 13 Oct 2006, Alexander Lopez wrote:
System(echo $RANDOM)
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jon
Weisman
Sent: Friday, October 13, 2006 12:53 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Generate Random Numbers in dialplan
Hi All,
Anyone know how to generate random numbers in the dial plan? I've tried
using the RAND function but it doesnt work. Basically I need to generate
a random 5 digit number everytime a particular extension is dialed and
then save that into a variable. Any ideas?
Thanks,
Jon
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards [EMAIL PROTECTED] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users