<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks a lot<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Putting into a conference certainly helped (im also working on this project)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The problem is it seems that after about 4-5 custom events with an energy level, it stops sending events<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I can’t figure out why<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>In the profile I set the noiselevel to 0 or 50 just very low, but it makes no difference<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Something else is interesting, that as soon as I press any digit on the phone it somewhat “comes to life” again and I get some more energy levels<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Since this is for a house monitor, it’s important to get steady events for hours on end<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Please advise<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks a million!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#0F243E'>Sincerely,<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#0F243E'>Yisroel M. Olewski <o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#0F243E'>CEO<o:p></o:p></span></i></p><p class=MsoNormal align=center style='text-align:center'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><img width=280 height=69 id="Picture_x0020_2" src="cid:image001.png@01D0A928.90F78170"><o:p></o:p></span></p><p class=MsoNormal align=center style='text-align:center'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://Machshevet.com"><span style='color:blue'>Machshevet.com</span></a></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal align=center style='text-align:center'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>+972 (52) 764-9971<o:p></o:p></span></p><p class=MsoNormal align=center style='text-align:center'><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Websites </span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>·</span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> CRM </span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>·</span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> ERP </span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>·</span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> Telephony </span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>·</span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> Inventory </span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>·</span></b><b><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> Content Management</span></b><b><span lang=HE dir=RTL style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Stanislav Sinyagin [mailto:ssinyagin@gmail.com] <br><b>Sent:</b> Friday, June 12, 2015 2:37 AM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Noise Detection<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p>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. <o:p></o:p></p><div><p class=MsoNormal>On Jun 12, 2015 1:28 AM, "Michael Collins" <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>> wrote:<o:p></o:p></p><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>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.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>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.'<o:p></o:p></p></div><p class=MsoNormal>-MC<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Jun 11, 2015 at 7:55 AM, Menachem Fish <<a href="mailto:menachem@machshevet.com" target="_blank">menachem@machshevet.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal>hi everyone<br clear=all><o:p></o:p></p></div><div><p class=MsoNormal>im trying to implement noise detection in freeswitch (as a house-monitoring system)<o:p></o:p></p></div><div><p class=MsoNormal>id like to know when any noise occurs on the line so it can alert me by email etc.<o:p></o:p></p></div><div><p class=MsoNormal>ive done the following settings<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal> SwitchExecute("set", "fire_talk_events=true", swchEvnt.ChannelCallUUID)<o:p></o:p></p></div><div><p class=MsoNormal> SwitchExecute("set", "rtp_enable_vad_in=true", swchEvnt.ChannelCallUUID)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>(SwitchExecute just calls esl.Execute)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>in any case, talking to the phone does not generate any talk events<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>any ideas?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>additional, id like it to generate events on any noise, not specifically human voice speaking<o:p></o:p></p></div></div><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><b><span style='background:aqua'>Menachem Fish</span></b><o:p></o:p></p></div><div><p class=MsoNormal><b><span style='font-size:9.5pt;background:aqua'>Always at your service</span></b><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><b><i><span style='background:aqua'>Machshevet - </span></i></b><b><i><span style='font-size:9.5pt;background:aqua'>Your Data Your Way</span></i></b><o:p></o:p></p></div><div><p class=MsoNormal><i><span style='font-size:9.5pt;background:#F3F3F3'>---</span></i><o:p></o:p></p></div></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><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><o:p></o:p></p></div></div></body></html>