<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
It'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 class="moz-txt-link-freetext" href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect#Samples">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 "show calls". kill
any old test calls with "uuid_kill"<br>
-launch N new test calls using "originate"<br>
-wait 3 minutes, check with "show calls" 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 "uuid_dump", run tcpdump on the rtp port and IPs of that
call, email result.<br>
<br>
Hope this helps!<br>
<br>
-Victor<br>
<pre class="moz-signature" cols="72">
</pre>
On 13-09-30 04:13 AM, Cal Leeming [Simplicity Media Ltd] wrote:<br>
</div>
<blockquote
cite="mid:CAHKQagGL75zHwZTND1j5Sk=xgL3gA4Of0L-DhOgNdcXx+pb-Vw@mail.gmail.com"
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've finished it, you should consider sharing it
with the community as I'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"><<a moz-do-not-send="true"
href="mailto:victor.chukalovskiy@gmail.com"
target="_blank">victor.chukalovskiy@gmail.com</a>></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'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"
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"
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>
</blockquote>
</div>
<br>
</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>
</body>
</html>