James Harper
2006-Jun-10 00:43 UTC
[Asterisk-Users] record until silence, playback, repeat
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
Mojo with Horan & Company, LLC
2006-Jun-22 12:43 UTC
[Asterisk-Users] record until silence, playback, repeat
replace the beep sound file with a silent one :) I think it's beep.gsm James Harper wrote:> 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 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Mojo <mojo@horanappraisals.com> Office Manger, Horan & Company, LLC (907) 747-6666 x112