Module: kamailio
Branch: master
Commit: 7ff8d4284f20763e8e47f9b24e4604867a242e4a
URL: 
https://github.com/kamailio/kamailio/commit/7ff8d4284f20763e8e47f9b24e4604867a242e4a

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
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/7ff8d4284f20763e8e47f9b24e4604867a242e4a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/7ff8d4284f20763e8e47f9b24e4604867a242e4a.patch

---

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);


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to