michael.tint
Systems Engineer
Hello
Call file with WAV playback
mydate=`date +%d%m%y_%H%M%S`
filename="$mydate"
text2wave /tmp/alarm.txt -o /tmp/$filename.wav
echo -e "Channel: DAHDI/g0/xxxxxxxx
Callerid: Nagios
MaxRetries: 3
RetryTime: 60
WaitTime: 60
Application: Playback
Data: /tmp/$filename" > /var/spool/asterisk/$filename.call
I am not hearing any sound and phone gets a call but then drop.
Call file with WAV playback
mydate=`date +%d%m%y_%H%M%S`
filename="$mydate"
text2wave /tmp/alarm.txt -o /tmp/$filename.wav
echo -e "Channel: DAHDI/g0/xxxxxxxx
Callerid: Nagios
MaxRetries: 3
RetryTime: 60
WaitTime: 60
Application: Playback
Data: /tmp/$filename" > /var/spool/asterisk/$filename.call
I am not hearing any sound and phone gets a call but then drop.