[sr-dev] git:master:0ce66908: topoh: proper detection of cancel reply for processing
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jan 20 18:32:06 CET 2016
Module: kamailio
Branch: master
Commit: 0ce66908ee9da74806e2fa506ef98b5f9043e47c
URL: https://github.com/kamailio/kamailio/commit/0ce66908ee9da74806e2fa506ef98b5f9043e47c
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-01-20T18:30:30+01:00
topoh: proper detection of cancel reply for processing
- reported by Alex Balashov
---
Modified: modules/topoh/topoh_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/0ce66908ee9da74806e2fa506ef98b5f9043e47c.diff
Patch: https://github.com/kamailio/kamailio/commit/0ce66908ee9da74806e2fa506ef98b5f9043e47c.patch
---
diff --git a/modules/topoh/topoh_mod.c b/modules/topoh/topoh_mod.c
index 343a745..fcdcc8c 100644
--- a/modules/topoh/topoh_mod.c
+++ b/modules/topoh/topoh_mod.c
@@ -331,7 +331,7 @@ int th_msg_received(void *data)
{
/* one Via in received reply -- it is for local generated request
* - nothing to unhide unless is CANCEL/ACK */
- if((get_cseq(&msg)->method_id)&(METHOD_CANCEL))
+ if(!((get_cseq(&msg)->method_id)&(METHOD_CANCEL)))
goto done;
}
More information about the sr-dev
mailing list