<div dir="ltr">FreeSWITCH can do the ping (configure a gateway with ping=true), but doesn't look at RTT.<div><br><div>You might also be able to do it with sipp.</div><div><br></div><div>I've implemented a SIP OPTIONS ping client in the past with a custom Perl script using Net::SIP and it'd be trivial to measure RTT, but no longer have the code. But it'd be quite simple to do. There'll be Python libraries for SIP out there too.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 September 2014 17:41, Alex Lake <span dir="ltr"><<a href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I want to get an idea of how well connected my fs boxes are to certain<br>
SIP servers that we use.<br>
The idea might be to send a SIP options packet to a remote address and<br>
time how long it took to respond.<br>
<br>
I suspect that fs can do something like this, but I was also wondering<br>
if there exists an off-the-shelf Linux package (a bit like mrt) that can<br>
do this. Failing that, some code in (say) PHP that can do it?<br>
<br>
I would have some kind of scheduled job that would send out a SIP<br>
options packet every 10s or so and keep track of the rtt.<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>
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-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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></div></div>