[PLUG] Voice Recording applications
Dave Poirier
dpoirier at mesd.k12.or.us
Tue Mar 4 00:41:29 UTC 2008
>
> One way you could do it is to use Asterisk itself to record to a temp file
> and then move an rename accordingly.
> Code in you dial plan could look like....
>
> exten => _66XX,1,Wait(2)
> exten => _66XX,2,Record(/tmp/prompt${EXTEN:2}:wav)
> exten => _66XX,3,Wait(1)
> exten => _66XX,4,Playback(/tmp/prompt${EXTEN:2})
> exten => _66XX,5,Wait(2)
> exten => _66XX,6,Hangup()
>
> This lets you dial from 6600 to 6699 and drops the recording to /tmp.
> Press # when you are done recording and it will play it back to you. You can
> then rename and move files accordingly. The resulting recording tends to be
> fairly good quality since most modern phones will filter out most
> background/whitenoise.
>
>
I should mention that this was blatantly ripped off from the O'Reilly book
Asterisk The Future of Telephony. Publish under the Creative Commons. Look
here if you want to download.
http://downloads.oreilly.com/books/9780596510480.pdf
--
David Poirier
Technology Services
Multnomah Education Service District
503-257-1542 cell: 503-701-7220
More information about the PLUG
mailing list