Re: [OpenSIPS-Users] HOW to raise RABBITMQ event when user UNREGISTERED
Hi Liviu. I load "event_route.so" module. Now in logs May 15 15:13:59 [40117] DBG:core:evi_param_set: adding string param May 15 15:13:59 [40117] DBG:core:evi_param_set: adding string param May 15 15:13:59 [40117] DBG:core:evi_param_set: adding int param May 15 15:13:59 [40117] DBG:core:evi_param_set: adding int param May 15 15:13:59 [40117] DBG:core:evi_raise_event_msg: found subscriber XX.XX.XX.XX But in Rabbitmq: INFO REPORT 15-May-2017::16:14:35 === accepting AMQP connection <0.602.0> (YY.YY.YY.YY:42938 -> XX.XX.XX.XX:5672) =INFO REPORT 15-May-2017::16:14:35 === connection <0.602.0> (YY.YY.YY.YY:42938 -> XX.XX.XX.XX.XX:5672): user 'sbc' authenticated and granted access to vhost '/' =INFO REPORT 15-May-2017::16:20:34 === Enabling tracing for vhost '/' ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] HOW to raise RABBITMQ event when user UNREGISTERED?
I suggest first using an event_route (make sure to also load "event_route.so"), in order to confirm that the event is triggered. Depending on the result, we will know how to proceed with troubleshooting. Regards, Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 10.05.2017 12:46, Kirill Galinurov wrote: HI all I try get AMPQ message when user registarion exprires and contact is deleted from an existing AOR. I try use EVENT_RABBITMQ module. And subscribe to |E_UL_CONTACT_DELETE event on startup module. Like | startup_route { if (!subscribe_event("E_UL_CONTACT_DELETE", "rabbitmq:wssserver:passw...@xx.xx.xx.xx:5672/voip")) { xlog("L_ERR","cannot the RabbitMQ server to the E_UL_CONTACT_DELETE event\n"); } } But it's not work. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users