Hi!

On Nov 4, 2013, at 4:49 PM, Andreas Sikkema <[email protected]> wrote:

> Hi,
> 
> What are OpenSIPS users using to talk to OpenSIPS (FIFO probably)?
> 

We use FIFO.

> I want to run a cron job every now and then to check if there are calls 
> running for a very long time and close them.
> 
> I can do this by hand and than it's not difficult. I'd *love* to do this 
> using a python script.

> Does anyone have an example on how to talk to the FIFO from python?

Have a look at this: 
http://mediaproxy.ag-projects.com/projects/mediaproxy/repository/entry/mediaproxy/interfaces/opensips.py

that's how MediaProxy communicates with OpenSIPS for ending dialogs. Extending 
it to support other fifo methods should be pretty straightforward.


Cheers,

--
Saúl Ibarra Corretgé
AG Projects




_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to