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:http://192.168.3.201:8888/msgtests";) 

 

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

 

Any help much appreciated, thx!!! 

 

Juls

 

From: [email protected] 
[mailto:[email protected]] 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

 

Julian,

 

 

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.

 

Goodluck,

Tito

 

On Wed, Dec 16, 2015 at 6:14 PM, Julian Kay <[email protected]> wrote:

Hi;

 

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?

 

Thanks!!

Juls


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

 

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

Reply via email to