<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
To conclude the discussion thread on mailing list: the fix was
committed.<br>
<br>
<div class="moz-cite-prefix">On 23/07/15 09:21, ycaner wrote:<br>
</div>
<blockquote cite="mid:55B0953D.4050608@netgsm.com.tr" type="cite">
<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
moz-do-not-send="true" href="http://www.netgsm.com.tr"
target="_blank" rel="nofollow" link="external"> <img
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://sip-router.1086192.n5.nabble.com/Users-f3.html">Users
mailing list archive</a> at Nabble.com.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>