[sr-dev] git:4.2:190d994f: acc: use proper ack message struct for external engine accounting of ACK

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 27 13:45:41 CEST 2015


Module: kamailio
Branch: 4.2
Commit: 190d994fcab3b79b06132029dd288fc9c0c4cf33
URL: https://github.com/kamailio/kamailio/commit/190d994fcab3b79b06132029dd288fc9c0c4cf33

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-07-27T13:45:04+02:00

acc: use proper ack message struct for external engine accounting of ACK

- reported by Yasin Caner - GH #266

(cherry picked from commit 58acd28f620c4a4e6b9abb1b9a2dfa2d8556708c)
(cherry picked from commit a18915e019ebcfa35805d3985383705028fbc00c)

---

Modified: modules/acc/acc_logic.c

---

Diff:  https://github.com/kamailio/kamailio/commit/190d994fcab3b79b06132029dd288fc9c0c4cf33.diff
Patch: https://github.com/kamailio/kamailio/commit/190d994fcab3b79b06132029dd288fc9c0c4cf33.patch

---

diff --git a/modules/acc/acc_logic.c b/modules/acc/acc_logic.c
index bd3f1cc..16a97e5 100644
--- a/modules/acc/acc_logic.c
+++ b/modules/acc/acc_logic.c
@@ -615,7 +615,7 @@ static inline void acc_onack( struct cell* t, struct sip_msg *req,
 #endif
 
 	/* run extra acc engines */
-	acc_run_engines(req, 0, NULL);
+	acc_run_engines(ack, 0, NULL);
 	
 }
 




More information about the sr-dev mailing list