I don't know if this will help you, but have you tried ${EPOCH}
Also check this out:
http://www.voip-info.org/wiki/view/Asterisk+variables

On 7/4/06, Ronald Wiplinger <[EMAIL PROTECTED]> wrote:
I want to get a variable, depending on the time.
I tried this one, but it does not work:

exten => 75,1,Set(guess=SYSTEM(echo $((1 + $(date +%S)*100 % 23)))

The idea is that the variable guess will change every 23 times per minute.

How would be the right syntax?


bye

Ronald Wiplinger

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

Reply via email to