Module: kamailio
Branch: master
Commit: 7dc450006743ea160864ce5583a4494fb1033e9e
URL:
https://github.com/kamailio/kamailio/commit/7dc450006743ea160864ce5583a4494…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-08-24T16:22:16+02:00
core: kemi - warning when using an unsupported method flag for is_method_in()
---
Modified: src/core/kemi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7dc450006743ea160864ce5583a4494…
Patch:
https://github.com/kamailio/kamailio/commit/7dc450006743ea160864ce5583a4494…
---
diff --git a/src/core/kemi.c b/src/core/kemi.c
index f7c0086eaf..286e81fed0 100644
--- a/src/core/kemi.c
+++ b/src/core/kemi.c
@@ -875,6 +875,8 @@ static int sr_kemi_core_is_method_in(sip_msg_t *msg, str *vmethod)
return SR_KEMI_TRUE;
}
break;
+ default:
+ LM_WARN("unsupported method flag: %c\n", vmethod->s[i]);
}
}
return SR_KEMI_FALSE;