<div dir="ltr">Thanks very much for sharing, glad you were able to get it sorted and hopefully this helps others in the future!<div><br></div><div>Cal</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 30, 2013 at 5:37 PM, Victor Chukalovskiy <span dir="ltr">&lt;<a href="mailto:victor.chukalovskiy@gmail.com" target="_blank">victor.chukalovskiy@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Hi,<br>
      <br>
      It&#39;s done and works for me. Was a fun thing to do indeed! Dialplan
      portion of it is documented here in the very bottom:<br>
      <br>
<a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect#Samples" target="_blank">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect#Samples</a><br>
      <br>
      The controlling script portion is in bash and along these lines<br>
      -query if old test calls are already up with &quot;show calls&quot;. kill
      any old test calls with &quot;uuid_kill&quot;<br>
      -launch N new test calls using &quot;originate&quot;<br>
      -wait 3 minutes, check with &quot;show calls&quot; if all test calls ended
      succesfully. If so, start the test routine again.<br>
      -if not, stuck test call means attention required. Get call stats
      with &quot;uuid_dump&quot;, run tcpdump on the rtp port and IPs of that
      call, email result.<br>
      <br>
      Hope this helps!<span class="HOEnZb"><font color="#888888"><br>
      <br>
      -Victor</font></span><div><div class="h5"><br>
      <pre cols="72"></pre>
      On 13-09-30 04:13 AM, Cal Leeming [Simplicity Media Ltd] wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">This would be quite easy to throw together, and
        would be a fun task for you to take on :)
        <div><br>
        </div>
        <div>Once you&#39;ve finished it, you should consider sharing it
          with the community as I&#39;ve seen this question come up a few
          times, it would be nice to give others this functionality out
          of the box.</div>
        <div><br>
        </div>
        <div>Let us know how you get on</div>
        <div><br>
        </div>
        <div>Cal</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, Sep 27, 2013 at 5:57 PM, Victor
          Chukalovskiy <span dir="ltr">&lt;<a href="mailto:victor.chukalovskiy@gmail.com" target="_blank">victor.chukalovskiy@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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&#39;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 &quot;got the sucker!&quot;<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 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>
            FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
            <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br></div>