I have a list of dates (the first column) and values as such:

0101 0530 1220 0630
0201 0531 1221 0629
.
.
3012 0626 0111 0429
3112 0625 0113 0433

I need to look up the values corresponding to today's date, i.e.
${DATETIME:0:4}, and pass them into an Asterisk variable. I could put the
data into MySQL and use the MySQL() command, but that almost seems like
overkill, especially because the data is so small and is static (and MySQL
is not currently installed on the Asterisk box).

Is there an easy was to store this in a file and lookup directly in the
Dialplan? Is there a Linux application that I could pass in a System()
command to do it?

Nabeel

Reply via email to