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

_______________________________________________
--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

Reply via email to