[Asterisk-Users] record until silence, playback, repeat

James Harper james.harper at bendigoit.com.au
Sat Jun 10 00:43:08 MST 2006


I want to have something for the kids to play with which just records
until silence is detected, plays back what was recorded, then repeats.
They are having fun with Echo() at the moment :)

I have mocked something up with:
exten => *93,1,Answer
exten => *93,n,Record(/tmp/echo:alaw|1)
exten => *93,n,Playback(/tmp/echo)
exten => *93,n,Goto(2)

But it has the shortcomings that a beep is played before recording, and
that I can't detect any less silence than 1 second. The former is the
really annoying bit.

Any suggestions?

Thanks

James



More information about the asterisk-users mailing list