To conclude the discussion thread on mailing list: the fix was
committed.
On 23/07/15 09:21, ycaner wrote:
Hello;
Can anyone check and commit to fix?
Thanks
22.07.2015 14:25 tarihinde ycaner
[via SIP Router] yazdı:
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
To unsubscribe from About Acc_radius rad_sttaus Function,
click here.
NAML
View this message in context: Re:
About Acc_radius rad_sttaus Function
Sent from the Users
mailing list archive at Nabble.com.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com