[Freeswitch-users] help with wait_for_silence
Michael Collins
msc at freeswitch.org
Thu Jan 5 23:04:38 MSK 2012
What are you using to do the recording of the audio? The record app has
built-in silence detection. If you are using record_session then I can see
your dilemma. It's almost as if you'd need "execute_on_silence" as opposed
to wait_for_silence.
Anyone out there have any suggestions for Hector on how to do this?
-MC
On Thu, Jan 5, 2012 at 11:31 AM, Hector Geraldino <
Hector.Geraldino at ip-soft.net> wrote:
> Hi,****
>
> ** **
>
> I’m trying to use the wait_for_silence application to stop recording audio
> from a channel, and I need to use it not from a FS dialplan but from an ESL
> application. ****
>
> ** **
>
> So far I can execute the wait_for_silence application using ‘execute
> wait_for_silence *arguments*’ with no issues. I can even see the result
> of the execution of this command on the fs_cli console:****
>
> ** **
>
> 2012-01-05 19:04:40.266001 [DEBUG] switch_ivr.c:576 sofia/internal/
> 5512 at 192.168.8.11 Command Execute wait_for_silence(200 15 15 5000)****
>
> EXECUTE sofia/internal/5512 at 192.168.8.11 wait_for_silence(200 15 15 5000)*
> ***
>
> ** **
>
> The problem is that I don’t know if this is working or not, as it is not
> raising any event that can be received by the application. I don’t see any
> event related to this application (or to detect silence using any other
> mechanism) on the wiki Events List page [
> http://wiki.freeswitch.org/wiki/Event_list], so I’m not sure it is usable
> in an socket outbound mode. ****
>
> ** **
>
> Resuming: is it possible to detect the silence on a channel and then
> perform an action in an ESL application, using wait_for_silence app or any
> other mechanism? ****
>
> ** **
>
> Thanks,****
>
> Hector****
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120105/2c08f80d/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list