Steve Murphy
2006-Oct-14 18:04 UTC
[asterisk-users] Re: Generate Random Numbers in dialplan
On Sat, 2006-10-14 at 12:00 -0700, asterisk-users-request@lists.digium.com wrote:> Steve, > > Is RAND available in the latest trunk or do I need the 1.4 > beta? > > If I do show function RAND it says its not available. > > Thanks, > JonJon-- Forgive me, you didn't say which version you were using in your original post -duh-- I should have guessed. Nope, RAND is not in 1.2. But, if you are desparate, you could steal the 1.4 RAND function, and redo the module stuff in it to work under 1.2; there are plenty of patterns to follow. murf> > ----- Original Message ----- > From: "Steve Murphy" <murf@parsetree.com> > To: <asterisk-users@lists.digium.com> > Sent: Saturday, October 14, 2006 12:30 AM > Subject: [asterisk-users] Re: Generate Random Numbers in > dialplan > > > > _______________________________________________ > > --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 > > >-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3239 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061014/edae41eb/smime.bin
Jon Weisman
2006-Oct-15 10:30 UTC
[asterisk-users] Re: Generate Random Numbers in dialplan
Thanks everyone for your help. The agi script works as well as RAND (with the latest trunk version of asterisk). -Jon ----- Original Message ----- From: "Steve Murphy" <murf@parsetree.com> To: <asterisk-users@lists.digium.com> Sent: Saturday, October 14, 2006 9:03 PM Subject: [asterisk-users] Re: Generate Random Numbers in dialplan> _______________________________________________ > --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 >