[Freeswitch-users] Noise Detection

Stanislav Sinyagin ssinyagin at gmail.com
Fri Jun 12 03:36:58 MSD 2015


I guess arduino will do a better job here, and you have a choice of all
kinds of sensors: noise, motion, brightness, infrared, smoke, door
switches, temperature and humidity.
On Jun 12, 2015 1:28 AM, "Michael Collins" <msc at freeswitch.org> wrote:

> You might want to check out using a conference. The mod_conference module
> can emit a number of different events, including start talking and stop
> talking events. I would recommend that you add the channel to a conference
> room and then monitor the conference::maintenance events as sound is
> received on the channel.
>
> If it works then you might even be able to have multiple conference
> members for different areas of the house. That could possibly let you
> narrow down where in the house the noise is occurring by observing which
> conference member is 'talking.'
>
> -MC
>
> On Thu, Jun 11, 2015 at 7:55 AM, Menachem Fish <menachem at machshevet.com>
> wrote:
>
>> hi everyone
>> im trying to implement noise detection in freeswitch (as a
>> house-monitoring system)
>> id like to know when any noise occurs on the line so it can alert me by
>> email etc.
>> ive done the following settings
>>
>>                         SwitchExecute("set", "fire_talk_events=true",
>> swchEvnt.ChannelCallUUID)
>>                         SwitchExecute("set", "rtp_enable_vad_in=true",
>> swchEvnt.ChannelCallUUID)
>>
>> (SwitchExecute just calls esl.Execute)
>>
>> i am getting "Talk" events in  my log, but they do not seem to be related
>> in any way to actual noise. maybe random, maybe when i press a dtmf (seems
>> to be generating talk events)
>>
>> in any case, talking to the phone does not generate any talk events
>>
>> i am not setting vad=both or anything like that since i do not want the
>> phone to disconnect or something upon silence. or did i get this wrong?
>>
>> any ideas?
>>
>> additional, id like it to generate events on any noise, not specifically
>> human voice speaking
>>
>>
>>
>> *Menachem Fish*
>> *Always at your service*
>>
>> *Machshevet - Your Data Your Way*
>> *---*
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20150612/4389ad97/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list