Hi Razvan, I can for sure open up a feature request for this. Like I mentioned already this is achievable via other modules but each have their own issues. Plus, I personally don't want to deploy additional layers of tools and experience their own difficulties. I am even willing to cut RabbitMQ out of the picture if Clusterer Module shows some additional functions to send/get data from other node(s).
Here is the ticket: https://github.com/OpenSIPS/opensips/issues/1119 Regards, Sammy. On Mon, May 8, 2017 at 11:28 AM, Răzvan Crainea <[email protected]> wrote: > Hi, Sammy! > > Unfortunately there currently is no way to wait for a rabbitmq reply as > you want. However, I also think it would be nice to have this feature in > the next versions. Can you please open a feature request for this[1]? > For now, you can only use REST, DB or CacheDB queries to achieve this. > > [1] https://github.com/OpenSIPS/opensips/issues/ > > Best regards, > > Răzvan Crainea > OpenSIPS Solutionswww.opensips-solutions.com > > On 05/03/2017 06:51 PM, SamyGo wrote: > > Hi All, > > I'm toying with the idea of having a cluster of opensips sending events > between each other and also capable of "querying" other servers in the > cluster to retrieve the required data. > > This idea is not any different than having a shared Redis sentinel between > the cluster to set/get data but I want to use event_routing, > event_rabbitmq, or rabbitmq modules to achieve the same. > > The RabbitMQ as I've read it can only send data and can not listen for > incoming bcast/mcast messages, let me know if I'm wrong here. > > The event_rabbitMQ can send some data to the RabbitMQ server again but > only based on some event. > > The event_routing (EBR, new module) can wait for events to happen OR > notify if an event happens. > > Now, the Question: How can I send a query(RPC) to the RabbitMQ server; > wait for the reply event, and route my calls accordingly? > > > OpenSIPS1 ------data------->>RabbitMQ > .. > .... > OpenSIPS2-----query----->>RabbitMQ > OpenSIPS2<----data--------RabbitMQ > > > Thanks, > Sammy > > > _______________________________________________ > Users mailing > [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 > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
