I would like to record a message using an extension into a file on PiaF.
I would then like to have the message played over-and-over again through the Line-Out on the sound card.
Has anyone tried something like this?
Recording the message should be straight forward using the FreePBX screens: System Recordings
This will save the file in the /usr/lib/asterisk/sounds/custom directory.
I recorded a file called Tom-Loop.wav with no problem at all.
I know I will have to create a shell script to read it over-and-over again.
I need to know what the output device should be:
Can the output from the .wav file be cat'ed to the device out or do I have to use a player (not sure what is available inn PiaF)?
while true
do
some audio player > output device name
sleep 10
done
Thanks
TomS
I would then like to have the message played over-and-over again through the Line-Out on the sound card.
Has anyone tried something like this?
Recording the message should be straight forward using the FreePBX screens: System Recordings
This will save the file in the /usr/lib/asterisk/sounds/custom directory.
I recorded a file called Tom-Loop.wav with no problem at all.
I know I will have to create a shell script to read it over-and-over again.
I need to know what the output device should be:
Can the output from the .wav file be cat'ed to the device out or do I have to use a player (not sure what is available inn PiaF)?
while true
do
some audio player > output device name
sleep 10
done
Thanks
TomS