Test voice-mail and voice-mail call back (Notification)
Program will be run on Ubuntu 12.10 Live DVD (64Bit)
System will have USB drive to store and run program and config files.
System will have USB modem TrendNet model TFM-560U for outbound calling.
The purposes of this program / Script is to test the recording function and call back (Notification function) of a voice-mail system.
The program / Script will call a local phone number wait until it hears audio then send a DTMF tone (#2) wait for the BEEP and play a out.wav file that is 15 sec long then hang up. It will then wait for X amount of time for a return call.
If it receives a return call it will answer the call and play in.wav then hang-up and wait X sec and start over with a new call.
If it DOES not receive a call it will check to see how many times (X)( Failed call back) it must wait until it calls a 2nd (DOWNED SYSTEM) phone number then wait for audio/voice and play help.wav file to let us know that the system has not responded.
All variables will be placed in a config.txt file on the USB drive along with the program / Script.
Example config.txt file below:
123-4567 <-Number to voice-mail system
245-1234 <-Number to call when voice-mail system does not respond (DOWNED SYSTEM)
2 <DTMF tone to send
30 <-Number of seconds between test calls (OUT CALL TO VOICE-MAIL SYSTEM)
30 <-Number of seconds to wait for return call (CALL FROM VOICE-MAIL SYSTEM)
5 <-number of failed attempts before it calls downed system phone number
04:00 – 05:00 <-Maintenance window time (DO not call between these times
N <-Use Maintenance window (Y=yes N=no)
Out.wav <-Wav file to play when the system calls out
In.wav <-Wav file to play when system is called
Help.wav <-Wav file to play when system is down and calling the downed system number
Please send references and time frame to complete job..
1/2 escrow and 1/2 when program in hand and tested 100%