Module: kamailio Branch: master Commit: 17d3040365400d14d251247c9c3319fc003f2cb2 URL: https://github.com/kamailio/kamailio/commit/17d3040365400d14d251247c9c3319fc003f2cb2
Author: Daniel-Constantin Mierla <mico...@gmail.com> Committer: Daniel-Constantin Mierla <mico...@gmail.com> Date: 2020-05-18T11:28:20+02:00 core: kemi - added KSR.is_KDQM() --- Modified: src/core/kemi.c --- Diff: https://github.com/kamailio/kamailio/commit/17d3040365400d14d251247c9c3319fc003f2cb2.diff Patch: https://github.com/kamailio/kamailio/commit/17d3040365400d14d251247c9c3319fc003f2cb2.patch --- diff --git a/src/core/kemi.c b/src/core/kemi.c index 7a5ba1068d..c15621690a 100644 --- a/src/core/kemi.c +++ b/src/core/kemi.c @@ -1067,6 +1067,15 @@ static int sr_kemi_core_is_method_message(sip_msg_t *msg) } +/** + * + */ +static int sr_kemi_core_is_method_kdmq(sip_msg_t *msg) +{ + return sr_kemi_core_is_method_type(msg, METHOD_KDMQ); +} + + /** * */ @@ -1755,6 +1764,11 @@ static sr_kemi_t _sr_kemi_core[] = { { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } }, + { str_init(""), str_init("is_KDMQ"), + SR_KEMIP_BOOL, sr_kemi_core_is_method_kdmq, + { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, + SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE } + }, { str_init(""), str_init("is_UDP"), SR_KEMIP_BOOL, sr_kemi_core_is_proto_udp, { SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE, _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev