<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<font face="Courier New, Courier, monospace">Hello;<br>
<br>
   Can anyone check and commit to fix?<br>
<br>
Thanks<br>
</font><br>
<div class="moz-cite-prefix">22.07.2015 14:25 tarihinde ycaner [via
SIP Router] yazdı:<br>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' cite="mid:1437564344714-139850.post@n5.nabble.com"
type="cite"> Hello all;
<br>
i found problems. int acc_logic.c file at <b>acc_onack</b>Â 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.
<br>
<br>
<br>
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.
<br>
<br>
Could you check it why we need msg->flags?
<br>
<br>
METHOD 1 INVITE
<br>
METHOD 2 ACK
<br>
METHOD 3 BYE
<br>
<br>
acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 1 Â type
 0 flags 1 acc_flag 2 msg_flags 134217774
<br>
acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 2 Â type
 0 flags 1 acc_flag 2 msg_flags 32
<br>
acc [acc.c:1020]: acc_run_engines(): acc_run_engine METHOD 3 Â type
 0 flags 1 acc_flag 2 msg_flags 10 <br>
<br>
<hr color="#cccccc" noshade="noshade" size="1">
<div style="color:#444; font: 12px
tahoma,geneva,helvetica,arial,sans-serif;">
<div style="font-weight:bold">If you reply to this email, your
message will be added to the discussion below:</div>
<a moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139850.html" target="_top" rel="nofollow" link="external">http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139850.html</a>
</div>
<div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from About Acc_radius rad_sttaus Function, <a
moz-do-not-send="true"
href="" target="_top" rel="nofollow" link="external">click
here</a>.<br>
<a moz-do-not-send="true"
href="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" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a> </div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<div align="left">
<div style="width:300px;" align="left">
<a href="http://www.netgsm.com.tr" target="_blank" rel="nofollow" link="external">
<img src="http://sip-router.1086192.n5.nabble.com/attachment/139874/0/yasin-imza-2014.jpg"
alt"netgsm"="" border="0">
</a>
</div>
</div>
</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://sip-router.1086192.n5.nabble.com/About-Acc-radius-rad-sttaus-Function-tp139840p139874.html">Re: About Acc_radius rad_sttaus Function</a><br/>
Sent from the <a href="http://sip-router.1086192.n5.nabble.com/Users-f3.html">Users mailing list archive</a> at Nabble.com.<br/>