Module: sip-router
Branch: master
Commit: 77e2c6beb250726f8bc5dec5d71ec175264e0c0f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=77e2c6b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Mar 31 09:48:58 2014 +0200
evapi: fixed c&p typo in example
---
modules/evapi/README | 2 +-
modules/evapi/doc/evapi_admin.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/evapi/README b/modules/evapi/README
index 97e0390..4b8ff72 100644
--- a/modules/evapi/README
+++ b/modules/evapi/README
@@ -218,7 +218,7 @@ event_route[evapi:connection-closed] {
If defined, the module calls event_route[evapi:message-received] when a
message is received from a client.
...
-event_route[evapi:connection-closed] {
+event_route[evapi:message-received] {
xlog("received [$evapi(msg)] from $evapi(srcaddr):$evapi(srcport)\n");
}
...
diff --git a/modules/evapi/doc/evapi_admin.xml b/modules/evapi/doc/evapi_admin.xml
index ae78e2d..fe1ac94 100644
--- a/modules/evapi/doc/evapi_admin.xml
+++ b/modules/evapi/doc/evapi_admin.xml
@@ -226,7 +226,7 @@ event_route[evapi:connection-closed] {
</para>
<programlisting format="linespecific">
...
-event_route[evapi:connection-closed] {
+event_route[evapi:message-received] {
xlog("received [$evapi(msg)] from $evapi(srcaddr):$evapi(srcport)\n");
}
...