Module: sip-router Branch: master Commit: 3823001dd83902d97f3dda9c9f51c370ab04073d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3823001d...
Author: Alexandr Dubovikov alexandr.dubovikov@gmail.com Committer: Alexandr Dubovikov alexandr.dubovikov@gmail.com Date: Fri Jul 12 10:14:31 2013 +0200
modules/sipcapture: a sip message must be stored after bad parsing also.
---
modules/sipcapture/sipcapture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c index 096920b..1912d7b 100644 --- a/modules/sipcapture/sipcapture.c +++ b/modules/sipcapture/sipcapture.c @@ -721,7 +721,7 @@ static int sip_capture_prepare(sip_msg_t *msg) /* We need parse all headers */ if (parse_headers(msg, HDR_CALLID_F|HDR_EOH_F, 0) != 0) { LM_ERR("cannot parse headers\n"); - return -1; + return 0; }
return 0;