Module: kamailio
Branch: master
Commit: 7ff8d4284f20763e8e47f9b24e4604867a242e4a
URL:
https://github.com/kamailio/kamailio/commit/7ff8d4284f20763e8e47f9b24e46048…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-30T18:04:44+02:00
topos: skip handling local DMQ messages
---
Modified: src/modules/topos/topos_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7ff8d4284f20763e8e47f9b24e46048…
Patch:
https://github.com/kamailio/kamailio/commit/7ff8d4284f20763e8e47f9b24e46048…
---
diff --git a/src/modules/topos/topos_mod.c b/src/modules/topos/topos_mod.c
index 558fd9853d..408c964e62 100644
--- a/src/modules/topos/topos_mod.c
+++ b/src/modules/topos/topos_mod.c
@@ -404,6 +404,10 @@ int tps_msg_sent(sr_event_param_t *evp)
/* skip local out-of-dialog requests (e.g., keepalive) */
goto done;
}
+ if(get_cseq(&msg)->method.len==4
+ && strncmp(get_cseq(&msg)->method.s, "KDMQ", 4)) {
+ goto done;
+ }
}
tps_request_sent(&msg, dialog, local);