I need a script to do the following:
1- Check to see if a file exist. (File name f:\temp\eof_flag)
2- If the file do not exist, EXIT
3- If the file exist, I want the script to call a phone number 3 times:
** Call the number 3 times in a row
** Pauses for 5 seconds
** Send a tone (any tone)
** Pauses for 2 seconds
** Send a tone (any tone)
** Pauses for 2 seconds
** Send a tone (any tone)
** Pauses for 2 seconds
** EXIT
I am thinking of somthing similar to:
ATDT 15551212,,,,,,1111,,1111,,1111,1111
I appreciate your help!
1- Check to see if a file exist. (File name f:\temp\eof_flag)
2- If the file do not exist, EXIT
3- If the file exist, I want the script to call a phone number 3 times:
** Call the number 3 times in a row
** Pauses for 5 seconds
** Send a tone (any tone)
** Pauses for 2 seconds
** Send a tone (any tone)
** Pauses for 2 seconds
** Send a tone (any tone)
** Pauses for 2 seconds
** EXIT
I am thinking of somthing similar to:
ATDT 15551212,,,,,,1111,,1111,,1111,1111
I appreciate your help!