[OpenSIPS-Users] Testing Event_Route with USRLOC

Vlad Paiu vladpaiu at opensips.org
Tue Feb 10 10:00:13 CET 2015


Hello Duane,

The usrloc module triggers a generic event - to which you subscribe via 
various ways ( run an OpenSIPS route, simple UDP packet, xmlrpc, rabbitmq ).

If you want a route to be run , you simple need to load the 
event_route.so module - then, by simply having an event route with the 
name of the exported events, you will  be auto-registered to them.

Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 10.02.2015 06:31, Duane Larson wrote:
> I'm trying out event_route with USRLOC but I am not seeing any xlogs.  
> I'm not 100% clear how to set up event_route's but it seems like it is 
> basically just creating the following
>
> modparam("usrloc", "db_mode",   2)
>
> event_route[E_UL_AOR_INSERT] {
>     xlog("The E_UL_AOR_INSERT event was raised\n");
>   }
>
> event_route[E_UL_AOR_DELETE] {
>     xlog("The E_UL_AOR_DELETE event was raised\n");
>   }
>
>
>
> Is there anything else that needs to be done in the script?  If I 
> register or register a client I am not seeing any xlog messages.  And 
> if I delete a client using "opensipsctl fifo ul_rm" I don't see 
> anything.  Running OpenSIPS 1.11.2-notls
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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


More information about the Users mailing list