Hello all;
i found problems. int acc_logic.c file at acc_onack function sends "request structer" instead of "ack structer". When i changed from "acc_run_engines(req, 0, NULL);" to "acc_run_engines(ack, 0, NULL);" , it sends right parameter to acc api engine. But there is a problem in acc.c at acc_run_engines function.
in the this row "if((type==0) && (msg->flags&(e->acc_flag))) {" i deleted msg->flags parameter and all work is good and radius send ACK (ALIVE) packets.
Could you check it why we need msg->flags?
METHOD 1 INVITE
METHOD 2 ACK
METHOD 3 BYE
acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 1 type 0 flags 1 acc_flag 2 msg_flags 134217774
acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 2 type 0 flags 1 acc_flag 2 msg_flags 32
acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 3 type 0 flags 1 acc_flag 2 msg_flags 10
If you reply to this email, your message will be added to the discussion below:http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139850.html