<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Duane,<br>
<br>
The usrloc module triggers a generic event - to which you
subscribe via various ways ( run an OpenSIPS route, simple UDP
packet, xmlrpc, rabbitmq ).<br>
<br>
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.<br>
<br>
Best Regards,<br>
<pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a> </pre>
On 10.02.2015 06:31, Duane Larson wrote:<br>
</div>
<blockquote
cite="mid:CAFcM1ErMmG910CRfQUS125B_S_xidG570FTbG=dwh-aRO0Vq8g@mail.gmail.com"
type="cite">
<div dir="ltr">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
<div><br>
</div>
<div>modparam("usrloc", "db_mode", 2)<br>
</div>
<div><br>
</div>
<div>
<div>event_route[E_UL_AOR_INSERT] {</div>
<div> xlog("The E_UL_AOR_INSERT event was raised\n");</div>
<div> } </div>
<div><br>
</div>
<div>event_route[E_UL_AOR_DELETE] {</div>
<div> xlog("The E_UL_AOR_DELETE event was raised\n");</div>
<div> }</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>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</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>