Module: kamailio
Branch: master
Commit: bbef7d81e94a7cc048620571cd2f324184dbb5e9
URL:
https://github.com/kamailio/kamailio/commit/bbef7d81e94a7cc048620571cd2f324…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
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/bbef7d81e94a7cc048620571cd2f324…
Patch:
https://github.com/kamailio/kamailio/commit/bbef7d81e94a7cc048620571cd2f324…
---
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) {