[sr-dev] [kamailio] Acc_Radius Ack packet and acc run egines bug- Kamailo 4.2.5 (#266)

Yasin notifications at github.com
Mon Jul 27 08:50:23 CEST 2015


Hello.
When i tested acc_radius module , i realize module doesn't send ACK/ALIVE packets. So i digged the code i found  acc module sends INVITE request instead of ACK. I fixed these on my local so you can check it and fix it ?
First of all 
in acc_logic.c at acc_onack function
- acc_run_engines(req, 0, NULL);
+acc_run_engines(ack, 0, NULL);


Second 
in acc.c at acc_run_engines
- if((type==0) && ((e->acc_flag))) {
+if((type==0) && (msg->flags&(e->acc_flag))) {

Thanks

http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tt139840.html


---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/266
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150726/d4cfea86/attachment.html>


More information about the sr-dev mailing list