<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hello all!</tt><tt><br>
</tt><tt><br>
</tt><tt>As the OpenSIPS 1.9 release is coming up soon, we decided
to release some new enhancements for the Event Interface, that
will facilitate the interconnection with other applications and
provide an easier way for monitoring the OpenSIPS server.
Following that, the latest version of OpenSIPS Event Interface
will provide two new transport modules</tt><tt>:</tt><tt><br>
</tt><tt><br>
</tt><tt> * </tt><tt><b>event_xmlrpc</b></tt><tt> - used to execute
a XMLRPC command when an event is triggered</tt><tt><br>
</tt><tt><b> * </b></tt><tt><b>event_r</b></tt><tt><b>oute</b></tt><tt>
- provides an easy way to handle a certain event from script (for
example, when the load or memory usage is too high, gracefully
reject any new traffic)</tt><tt><br>
</tt><tt><br>
</tt><tt>See: </tt><tt><a
href="http://www.opensips.org/html/docs/modules/devel/event_xmlrpc">http://www.opensips.org/html/docs/modules/devel/event_xmlrpc</a></tt><tt><br>
</tt><tt> </tt><tt><a
href="http://www.opensips.org/html/docs/modules/devel/event_xmlrpc">http://www.opensips.org/html/docs/modules/devel/event_route</a></tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt>Also, in order to facilitate the server monitoring </tt><tt>we
have added three more events:</tt><tt><br>
</tt><tt><br>
</tt><tt> * </tt><tt><b>E_MYSQL_CONNECTION </b></tt><tt>-
triggered by the db_mysql module when a MySQL connection looses
the connectivity with the database. This is useful to determine
the database </tt><tt>failures </tt><tt>and act accordingly in
no time.</tt><tt><br>
</tt><tt> * </tt><tt><b>E_CORE_PKG_THRESHOLD</b></tt><tt> and </tt><tt><b>E_CORE_SHM_THRESHOLD</b></tt><tt>
- triggered when the private (respectively shared) memory go
beyond a specific threshold. These events can be used to detect
when the server reaches low free memory values, and gracefully
reject the new traffic, so that the ongoing calls can successfully
terminate.<br>
</tt>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<tt><br>
</tt><tt>See: </tt><tt><a
href="http://www.opensips.org/Resources/DocsCoreEvi">http://www.opensips.org/Resources/DocsCoreEvi</a></tt><tt><br>
</tt><tt> </tt><tt><a
href="http://www.opensips.org/html/docs/modules/devel/db_mysql#id249964">http://www.opensips.org/html/docs/modules/devel/db_mysql#id249964</a></tt><tt><br>
</tt><tt><br>
<br>
</tt><tt>Finally, to have a better understanding of the new
features, we have compiled a small tutorial for the Event
Interface. It illustrates the usage of the new feature, as well as
providing use case examples, like custom accounting or load
monitoring.</tt><tt><br>
</tt><tt><br>
</tt><tt>See: </tt><tt><a
href="http://www.opensips.org/Resources/DocsTutorials#toc7">http://www.opensips.org/Resources/DocsTutorials#toc7</a></tt><tt><br>
</tt><tt> </tt><tt><a
href="http://www.opensips.org/Resources/DocsTutEventInterface">http://www.opensips.org/Resources/DocsTutEventInterface</a></tt><tt><br>
</tt><tt> </tt><tt><a
href="http://www.opensips.org/Resources/DocsTutEventInterface#toc11">http://www.opensips.org/Resources/DocsTutEventInterface#toc11</a><br>
<br>
<br>
I hope you will enjoy all the newly added features, and stay
tuned, because more are coming!<br>
<br>
Best regards,<br>
</tt>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<pre class="moz-signature" cols="72">--
Razvan Crainea
OpenSIPS Core Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
</body>
</html>