<div dir="ltr">Hi Razvan,<div><br></div><div>Awesome! Thanks for the quick turn around. We'll get this into our testing cycle and try to give you some feedback in the next couple of weeks.</div><div><br></div><div>Thanks,</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 3:53 AM, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi, Bobby!<br>
<br>
I just added events for these two modules on the master branch[1].
Please run a few tests and let me know if there are any issues.<br>
<br>
[1]
<a href="https://github.com/OpenSIPS/opensips/commit/147f57af6ea9ac4b7f24a660aedb65acf47b78c2" target="_blank">https://github.com/OpenSIPS/opensips/commit/147f57af6ea9ac4b7f24a660aedb65acf47b78c2</a><br>
<br>
Best regards,<br>
Răzvan<div><div class="h5"><br>
<br>
<br>
<div>On 07/28/2014 03:22 PM, Bogdan-Andrei
Iancu wrote:<br>
</div>
<blockquote type="cite">
<div><tt>Hi Bobby,<br>
<br>
There is no straight way to do it now (unless some over
complicated solutions). The plan is to add Events for gateway
failing. Similar like we have in the dispatcher module (see <a href="http://www.opensips.org/html/docs/modules/1.11.x/dispatcher.html#id295069" target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/dispatcher.html#id295069</a>).
And having an Event in place (to notify on the change in
status of a gateway), you can capture the Event in script via
an event_route (see <a href="http://www.opensips.org/Documentation/Script-Routes-1-11#toc9" target="_blank">http://www.opensips.org/Documentation/Script-Routes-1-11#toc9</a>).<br>
<br>
We added a feature request for this <a href="https://github.com/OpenSIPS/opensips/issues/280" target="_blank">https://github.com/OpenSIPS/opensips/issues/280</a>,
it will be done this week.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
On <a href="tel:25.07.2014%2023" value="+12507201423" target="_blank">25.07.2014 23</a>:11, Bobby Smith wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Greetings list,
<div><br>
</div>
<div>Is there a way to log out when gateways have been
disabled due to failing OPTIONS probing with these modules?</div>
<div><br>
</div>
<div>I know I can get at it by cranking up the log level past
debug, but I'd prefer if there's some way to add a route in
the script and print out a special log message. Ideally,
we'd like to redirect this to a separate appender so it goes
into a separate log file (or even better, pipe this into
some sort of metrics like graphite/statsd).</div>
<div><br>
</div>
<div>Let me know if this is possible out of the box with
configuration; if not we might open a feature request and
potentially implement the feature.</div>
<div><br>
</div>
<div>As a side note, I know we could probably do this by doing
a fifo call to lb_list or dr_gw_status once a minute and
reporting the results, I was just hoping for something a
little more direct than that.</div>
<div><br>
</div>
<div>Thanks,</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>