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



--
View this message in context: 
http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139850.html
Sent from the Users mailing list archive at Nabble.com.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to