Module: kamailio
Branch: master
Commit: 521a631af088c58cef39fd2c795af8ba64eae28b
URL:
https://github.com/kamailio/kamailio/commit/521a631af088c58cef39fd2c795af8b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-08-01T11:01:22+02:00
kemix: fix for get protoid function
---
Modified: pkg/docker
Modified: src/modules/kemix/kemix_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/521a631af088c58cef39fd2c795af8b…
Patch:
https://github.com/kamailio/kamailio/commit/521a631af088c58cef39fd2c795af8b…
---
diff --git a/pkg/docker b/pkg/docker
index ebc2c9c949..b92a1c899b 160000
--- a/pkg/docker
+++ b/pkg/docker
@@ -1 +1 @@
-Subproject commit ebc2c9c949ecbe328c0024842b64af55897c3630
+Subproject commit b92a1c899b8c474afadd0cf29dd7cb4ea01a3466
diff --git a/src/modules/kemix/kemix_mod.c b/src/modules/kemix/kemix_mod.c
index 608d2fd502..a3702e0043 100644
--- a/src/modules/kemix/kemix_mod.c
+++ b/src/modules/kemix/kemix_mod.c
@@ -478,8 +478,9 @@ static int ki_kx_get_protoid(sip_msg_t *msg)
if(msg==NULL) {
return -1;
}
+ memset(&_sr_kemi_kx_xval, 0, sizeof(sr_kemi_xval_t));
- _sr_kemi_kx_xval.vtype = SR_KEMIP_STR;
+ _sr_kemi_kx_xval.vtype = SR_KEMIP_INT;
return (int)msg->rcv.proto;
}