Posted on 2009-04-30
Asterisk 184.108.40.206 on Astlinux 0.6.5, Digium TDM401B card (base board with 1 FXO)
access to 1 standard line (either landline or vonage)
Intended to use only for outbound dialing and recording conferences, and dialing out and playing a sound file using command line.
For testing purposes it would be helpful if someone could provide:
Instruction and samples of how to accomplish the on demand dialing, recording and playback of files, whether via script or CLI or however it can best be done
Not looking for someone to just do the work for me, the actual application is much more involved, just looking for a few working examples, so I can learn more. Because this is not the typical use of asterisk, all the examples I can find in the documentation and online use extensions, various protocols, etc, and serve only to confuse more.
Eventually the process will need to be automated, but I'll save that for another question, unless it's so simple it can be included here.
Flow of example 'outbound dial and record':
Dial number (555) 555-5555
When answered, send dtmf 5
pause 1 second
send dtmf 39483#
begin recording (record time varies, but is generally 1 hour 5 minutes)
save recorded file to /mnt/kd
Example of 'dial out and play a file':
Dials the number
send dtmf access codes
plays a sound file (typically 45 minutes to an hour in length)
Current zaptel.conf file has only