Module: sip-router
Branch: tmp/k3.0_sr_backports
Commit: 1c18ae3f870eb48a04d13b7a750575b17060cfb3
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1c18ae3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Oct 23 15:57:40 2009 +0200
update bad_URIs statistics
(cherry picked from commit feef8d66b067e34459660be78b1f6b2625eaa533)
---
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 741258e..efcc54b 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;
}