[OpenSIPS-Users] external app listening to OpenSIPS/SIP events

Julian Kay juliank at vazycomm.com
Thu Dec 24 02:39:13 CET 2015

Thanks for the input, but for now I need to work with XMLRPC.


is it possible to create a custom event? I've been trying to use in the startup_route: subscribe_event("E_SIP_MESSAGE", "xmlrpc:") 


I get the error: ERROR: core:evi_event_subscribe: invalid event name <E_SIP_MESSAGE>


Any help much appreciated, thx!!! 




From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Tito Cumpen
Sent: Wednesday, December 16, 2015 6:19 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] external app listening to OpenSIPS/SIP events





Look into using http://www.opensips.org/html/docs/modules/devel/event_rabbitmq This module allows you to spin up an event based at any moment in the script and pass variables in the process(Meaning it is a publisher.). Your app can subscribe as reader of the queue and do whatever task needs to be done. You can go as far as using this CDR as well.





On Wed, Dec 16, 2015 at 6:14 PM, Julian Kay <juliank at vazycomm.com> wrote:



I'm looking for some guidance or confirmation that I'm on the right path. If I want an external app to be able to listen to SIP events like SIP event 180 (ringing), is registering a custom event with OpenSIPS MI and then use "raise_event" to fire a custom event a good way to get my external app to listen to OpenSIPS events?




Users mailing list
Users at lists.opensips.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151223/b153606c/attachment.htm>

More information about the Users mailing list