Module: sip-router
Branch: kamailio_3.0
Commit: feef8d66b067e34459660be78b1f6b2625eaa533
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=feef8d6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Oct 23 15:57:40 2009 +0200
update bad_URIs statistics
---
parser/parse_uri.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/parser/parse_uri.c b/parser/parse_uri.c
index 5b29710..a065efc 100644
--- a/parser/parse_uri.c
+++ b/parser/parse_uri.c
@@ -50,6 +50,7 @@
#include "../ut.h" /* q_memchr */
/* #endif */
#include "../error.h"
+#include "../events.h"
/* buf= pointer to begining of uri (sip:x@foo.bar:5060;a=b?h=i)
* len= len of uri
@@ -1223,6 +1224,7 @@ error_bug:
error_exit:
ser_error=E_BAD_URI;
uri->type=ERROR_URI_T;
+ sr_event_exec(SREV_CORE_STATS, (void*)7);
return E_BAD_URI;
}