<div dir="ltr"><div><div>Thanks a lot,<br><br></div>I&#39;ve discovered it and tested using just telnet (TLS disabled in the management interface options of dispatcher).<br><br></div>Samuel.<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 6 October 2013 00:28, Saúl Ibarra Corretgé <span dir="ltr">&lt;<a href="mailto:saul@ag-projects.com" target="_blank">saul@ag-projects.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div class="im"><br>
On Oct 4, 2013, at 6:05 PM, samuel wrote:<br>
<br>
&gt; I&#39;ve been trying to find how to ask to either the mediaproxy-dispatcher or the mediaproxy-relay for its ongoing sessions. Is is possible to ask any of these softwares? Is there any &quot;easy&quot; control plane, either as some command from a CLI or API or issuing some commands to a socket?<br>

&gt;<br>
<br>
</div>You can connect to MediaProxy&#39;s management interface and issue the &quot;sessions&quot; command. Here is a test script on how to do it in PHP: <a href="https://gist.github.com/saghul/881034" target="_blank">https://gist.github.com/saghul/881034</a><br>

<br>
Also the web folder in the MediaProxy source, it contains a simple website which senders active calls.<br>
<br>
<br>
Regards,<br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>