Module: kamailio
Branch: master
Commit: 8d80f16fc19036d64f917740417a65139b1dd7ae
URL:
https://github.com/kamailio/kamailio/commit/8d80f16fc19036d64f917740417a651…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-11-01T21:27:28+01:00
acc_json: fix generating duplicates for missed calls
- fix generating duplicates for missed calls (#GH1674)
- patch from Julien Chavanton jchavanton at gmail dot com
---
Modified: src/modules/acc_json/acc_json_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8d80f16fc19036d64f917740417a651…
Patch:
https://github.com/kamailio/kamailio/commit/8d80f16fc19036d64f917740417a651…
---
diff --git a/src/modules/acc_json/acc_json_mod.c b/src/modules/acc_json/acc_json_mod.c
index d1549c7b86..908d7d0eb9 100644
--- a/src/modules/acc_json/acc_json_mod.c
+++ b/src/modules/acc_json/acc_json_mod.c
@@ -129,9 +129,9 @@ static int mod_init(void)
memset(&_acc_json_engine, 0, sizeof(acc_engine_t));
if(acc_flag != -1)
- _acc_json_engine.acc_flag = 1 << acc_flag;
+ _acc_json_engine.acc_flag = acc_flag;
if(acc_missed_flag != -1)
- _acc_json_engine.missed_flag = 1 << acc_missed_flag;
+ _acc_json_engine.missed_flag = acc_missed_flag;
_acc_json_engine.acc_req = acc_json_send_request;
_acc_json_engine.acc_init = acc_json_init;
memcpy(_acc_json_engine.name, "json", 4);