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
------------------------------------------------------------------------
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-Functio…
To unsubscribe from About Acc_radius rad_sttaus Function, click here.
NAML
<http://sip-router.1086192.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
--
<http://www.netgsm.com.tr>
------------------------------------------------------------------------
View this message in context: Re: About Acc_radius rad_sttaus Function
<http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139874.html>
Sent from the Users mailing list archive
<http://sip-router.1086192.n5.nabble.com/Users-f3.html> at
Nabble.com.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users