[OpenSIPS-Users] Testing Event_Route with USRLOC

Duane Larson duane.larson at gmail.com
Wed Feb 11 00:45:30 CET 2015


Thanks Vlad.  Can't believe I forgot to add event_route.so to my script.

On Tue, Feb 10, 2015 at 3:00 AM, Vlad Paiu <vladpaiu at opensips.org> wrote:

>  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 Developerhttp://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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> 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/a61d7017/attachment.htm>


More information about the Users mailing list