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

Reply via email to