[sr-dev] git:master:58acd28f: acc: use proper ack message struct for external engine accounting of ACK

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


Module: kamailio
Branch: master
Commit: 58acd28f620c4a4e6b9abb1b9a2dfa2d8556708c
URL: https://github.com/kamailio/kamailio/commit/58acd28f620c4a4e6b9abb1b9a2dfa2d8556708c

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

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

- reported by Yasin Caner - GH #266

---

Modified: modules/acc/acc_logic.c

---

Diff:  https://github.com/kamailio/kamailio/commit/58acd28f620c4a4e6b9abb1b9a2dfa2d8556708c.diff
Patch: https://github.com/kamailio/kamailio/commit/58acd28f620c4a4e6b9abb1b9a2dfa2d8556708c.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