[OpenSIPS-Users] mediaproxy sessions?

Saúl Ibarra Corretgé saul at ag-projects.com
Sun Oct 6 00:28:07 CEST 2013


Hi,

On Oct 4, 2013, at 6:05 PM, samuel wrote:

> I'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 "easy" control plane, either as some command from a CLI or API or issuing some commands to a socket?
> 

You can connect to MediaProxy's management interface and issue the "sessions" command. Here is a test script on how to do it in PHP: https://gist.github.com/saghul/881034

Also the web folder in the MediaProxy source, it contains a simple website which senders active calls.


Regards,

--
Saúl Ibarra Corretgé
AG Projects






More information about the Users mailing list