Explain Asterisk sound recorder?
james_winston 21-August-2008 08:50:03 PM

Comments


Asterisk sound recorder? basically uses a script which records a sound file, plays it back and stores it as /var/lib/asterisk/sounds/mymessage.gsm.


[ast-recorder]
; quick-and-dirtyu sound recorder
exten => s,1,Answer
exten => s,2,Playback(registratore-invito)
exten => s,3,Playback(beep)
exten => s,4,Record(mymessage:gsm)
exten => s,5,Playback(beep)
exten => s,6,Playback(mymessage)
exten => s,7,Background(registratore-post)
exten => s,8,Wait(10)
exten => s,9,Hangup
exten => 2,1,Goto(s,4)
You have to provide a couple of voice messages:
resgistratore-invito says something like Sound recorder. Please record your message after the beep. Press pound to stop recording.
registratore-post says something like Your message was stored. Press 2 to record it again.

Or you could use Festival not to record the emssages yourself.

Posted by sagitraz


http://astrecipes.net/index.php?from=1&q=AstRecipes/Quick%20and%20Dirty%20Asterisk%20sound%20recorder
Posted by james_winston



Posted: 22-August-2008 03:16:37 PM By: james_winston

http://astrecipes.net/index.php?from=1&q=AstRecipes/Quick%20and%20Dirty%20Asterisk%20sound%20recorder

Posted: 23-August-2008 03:44:22 AM By: sagitraz

Asterisk sound recorder? basically uses a script which records a sound file, plays it back and stores it as /var/lib/asterisk/sounds/mymessage.gsm.


[ast-recorder]
; quick-and-dirtyu sound recorder
exten => s,1,Answer
exten => s,2,Playback(registratore-invito)
exten => s,3,Playback(beep)
exten => s,4,Record(mymessage:gsm)
exten => s,5,Playback(beep)
exten => s,6,Playback(mymessage)
exten => s,7,Background(registratore-post)
exten => s,8,Wait(10)
exten => s,9,Hangup
exten => 2,1,Goto(s,4)
You have to provide a couple of voice messages:
resgistratore-invito says something like Sound recorder. Please record your message after the beep. Press pound to stop recording.
registratore-post says something like Your message was stored. Press 2 to record it again.

Or you could use Festival not to record the emssages yourself.