<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_wait_for_silence">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_wait_for_silence</a><div><br><div><div>On Sep 27, 2013, at 2:34 PM, Victor Chukalovskiy &lt;<a href="mailto:victor.chukalovskiy@gmail.com">victor.chukalovskiy@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Clarification:<br>
      <br>
      No need to measure RTP quality. Just need to detect when a test
      tone changes into white noise or dead air.<br>
      <br>
      I see mod_spandsp can fire events on tone detection. Is there a
      way to do inverse? That is, fire event on tone loss?<br>
      <br>
      On 13-09-27 01:22 PM, Stanislav Sinyagin wrote:<br>
    </div>
    <blockquote cite="mid:1380302556.1196.YahooMailNeo@web126201.mail.ne1.yahoo.com" type="cite">
      <div style="background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 10pt; ">should be quite easy to
        do, probably a day of scripting.<br>
        The only issue, how to measure the RTP quality in real time.<br>
        <br>
        <br>
        <div><span><br>
          </span></div>
        <div><br>
        </div>
        <div style="font-family: arial, helvetica, sans-serif;
          font-size: 10pt;">
          <div style="font-family: times new roman, new york, times,
            serif; font-size: 12pt;">
            <div dir="ltr">
              <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Victor
                Chukalovskiy <a class="moz-txt-link-rfc2396E" href="mailto:victor.chukalovskiy@gmail.com">&lt;victor.chukalovskiy@gmail.com&gt;</a><br>
                <b><span style="font-weight: bold;">To:</span></b>
                FreeSWITCH Users Help
                <a class="moz-txt-link-rfc2396E" href="mailto:freeswitch-users@lists.freeswitch.org">&lt;freeswitch-users@lists.freeswitch.org&gt;</a> <br>
                <b><span style="font-weight: bold;">Sent:</span></b>
                Friday, September 27, 2013 6:57 PM<br>
                <b><span style="font-weight: bold;">Subject:</span></b>
                [Freeswitch-users] Help needed with audio test setup<br>
              </font> </div>
            <div class="y_msg_container"><br>
              Hello Community,<br>
              <br>
              The problem is that a 3-rd party SIP hardware causes audio
              isssues in <br>
              less then 1% of the cases. Need to do 100's of manual test
              calls to <br>
              identify it and bring to the vendor.<br>
              <br>
              Is there a quick recepie to make the following FS test
              setup? Should be <br>
              as simple as possible. If someone has something ready-made
              to offer, <br>
              please contact me off-list.<br>
              <br>
              Here is the idea:<br>
              <br>
              -FS generates test SIP call and keeps it up for N minutes.<br>
              -One side initates the call and sends test tone at X Hz<br>
              -another side (also FS) answers the call and sends test
              tone at Y Hz<br>
              -both sides listen to the tone coming from the other side.<br>
              -If tone in either direction degrades into siginificant
              noise or <br>
              silence, FS leaves the call up indifentely long AND sends
              email <br>
              notification "got the sucker!"<br>
              -If in N minutes tone in both directions did not degrade,
              FS hangs up <br>
              the test call and initates a new one. Infinite testing
              cycle until we <br>
              turn it off.<br>
              <br>
              Thank you,<br>
              Victor<br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true" ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br>
              <br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com/">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com/">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org/">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </div>

_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>