<div dir="ltr"><div><div>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.<br><br></div>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.'<br><br></div>-MC<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 11, 2015 at 7:55 AM, Menachem Fish <span dir="ltr"><<a href="mailto:menachem@machshevet.com" target="_blank">menachem@machshevet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">hi everyone<br clear="all"></div><div dir="ltr">im trying to implement noise detection in freeswitch (as a house-monitoring system)</div><div dir="ltr">id like to know when any noise occurs on the line so it can alert me by email etc.</div><div dir="ltr">ive done the following settings</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"> SwitchExecute("set", "fire_talk_events=true", swchEvnt.ChannelCallUUID)</div><div dir="ltr"> SwitchExecute("set", "rtp_enable_vad_in=true", swchEvnt.ChannelCallUUID)</div><div><br></div><div>(SwitchExecute just calls esl.Execute)</div><div><br></div><div>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)</div><div><br></div><div>in any case, talking to the phone does not generate any talk events</div><div><br></div><div>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?</div><div><br></div><div>any ideas?</div><div><br></div><div>additional, id like it to generate events on any noise, not specifically human voice speaking</div></div><div><div><div dir="rtl"><div><div dir="rtl"><div><div dir="rtl"><div><div dir="rtl"><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><b style="background-color:rgb(0,255,255)">Menachem Fish</b></div><div dir="ltr"><b style="font-size:12.8000001907349px;background-color:rgb(0,255,255)">Always at your service</b><br></div><div dir="ltr"><span style="background-color:rgb(0,255,255)"><b><br></b></span></div><div dir="ltr"><span style="background-color:rgb(0,255,255)"><b><i>Machshevet - <span style="font-size:12.8000001907349px">Your</span><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">Data </span><span style="font-size:12.8000001907349px">Your</span><span style="font-size:12.8000001907349px"> Way</span></i></b></span></div><div dir="ltr"><i><span style="font-size:12.8000001907349px;background-color:rgb(243,243,243)">---</span></i></div></div></div></div></div></div></div></div></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>