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

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2018-05-08T22:44:16+02:00

core: kemi - support for MESSAGE in is_method_in()

---

Modified: src/core/kemi.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/bbef7d81e94a7cc048620571cd2f324184dbb5e9.diff
Patch: 
https://github.com/kamailio/kamailio/commit/bbef7d81e94a7cc048620571cd2f324184dbb5e9.patch

---

diff --git a/src/core/kemi.c b/src/core/kemi.c
index a3922cae91..0ff1c48152 100644
--- a/src/core/kemi.c
+++ b/src/core/kemi.c
@@ -733,6 +733,12 @@ static int sr_kemi_core_is_method_in(sip_msg_t *msg, str 
*vmethod)
                                        return SR_KEMI_TRUE;
                                }
                        break;
+                       case 'M':
+                       case 'm':
+                               if(imethod==METHOD_MESSAGE) {
+                                       return SR_KEMI_TRUE;
+                               }
+                       break;
                        case 'R':
                        case 'r':
                                if(imethod==METHOD_REGISTER) {


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

Reply via email to