When an event occurs on this Linux system, I need a shell script to:
- Call an extension on Asterisk.
- Wait till it answers.
- Play the “/var/lib/asterisk/sounds/moron.gsm” file.
- Hangup.
How can I do this?
I am looking for a How-To or Tutorial.
Thanks.
When an event occurs on this Linux system, I need a shell script to:
How can I do this?
I am looking for a How-To or Tutorial.
Thanks.
Try have a look at .call files. All you will need is a script to create it and you will need to set up extensions.conf for it.