<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
After setting servers conf file , you should see radius requests on tcpdump because of UDP. In addition ,have a look log files if there is a hint.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
FreeRadius conf files.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<a href="https://github.com/FreeRADIUS/freeradius-client/tree/master/etc" id="LPlnk235462">https://github.com/FreeRADIUS/freeradius-client/tree/master/etc</a><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Yasin CANER</div>
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL0ZyZWVSQURJVVMvZnJlZXJhZGl1cy1jbGllbnQvdHJlZS9tYXN0ZXIvZXRj" class="LPBorder164911" contenteditable="false" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer164911" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td>
<div id="LPImageContainer164911" style="position: relative; margin-right: 12px; height: 160px; overflow: hidden;">
<a target="_blank" id="LPImageAnchor164911" href="https://github.com/FreeRADIUS/freeradius-client/tree/master/etc"><img id="LPThumbnailImageId164911" alt="" height="160" style="display: block;" width="160" src="https://avatars1.githubusercontent.com/u/2430370?s=400&v=4"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle164911" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor164911" href="https://github.com/FreeRADIUS/freeradius-client/tree/master/etc" style="text-decoration: none; color: var(--themePrimary);">freeradius-client/etc at master · FreeRADIUS/freeradius-client · GitHub</a></div>
<div id="LPDescription164911" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.</div>
<div id="LPMetadata164911" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Yazar Lwin <yarzarlwin@gmail.com><br>
<b>Sent:</b> Monday, January 21, 2019 6:21 AM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Radius Accounting with Kamailio 5.1 (On-line Charging)</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I enabled acc_radius module and acc module as well. I also followed the acc_radius module config as below. CDR are populated in Siremis. But can't initiated radius accounting.</div>
<div><br>
</div>
<div>
<div># ----- acc params -----</div>
<div>/* what special events should be accounted ? */</div>
<div>modparam("acc", "early_media", 1)</div>
<div>modparam("acc", "report_ack", 0)</div>
<div>modparam("acc", "report_cancels", 1)</div>
<div>/* by default ww do not adjust the direct of the sequential requests.</div>
<div> * if you enable this parameter, be sure the enable "append_fromtag"</div>
<div> * in "rr" module */</div>
<div>modparam("acc", "detect_direction", 0)</div>
<div>/* account triggers (flags) */</div>
<div>modparam("acc", "log_flag", FLT_ACC)</div>
<div>modparam("acc", "log_missed_flag", FLT_ACCMISSED)</div>
<div>modparam("acc", "log_extra",</div>
<div> "src_user=$fU;src_domain=$fd;src_ip=$si;"</div>
<div> "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")</div>
<div>modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)</div>
<div>#--------acc_radius acc params------</div>
<div>modparam("acc_radius", "radius_config", "/etc/radiusclient/radiusclient.conf")</div>
<div>modparam("acc_radius", "radius_flag", 1)</div>
<div>modparam("acc_radius", "radius_missed_flag", 2)</div>
<div>modparam("acc_radius", "service_type", 15)</div>
<div>modparam("acc_radius", "radius_extra", "via=$hdr(Via[*]); email=$avp(s:email)")</div>
<div>modparam("acc_radius", "rad_time_mode", 1)</div>
</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Sat, Jan 19, 2019 at 7:52 PM YASIN CANER <<a href="mailto:caner_yaso@hotmail.com">caner_yaso@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="auto">Hello
<div><br>
</div>
<div>Radius accounting working with acc module. When you set acc flag , it try to send radius request to configured server. Dont forget the configure radiusclient configuration. Ypu can find it on internet. Here is a document , it is old but helps </div>
<div><br>
</div>
<div><a href="https://www.kamailio.org/docs/openser-radius-1.0.x.html" target="_blank">https://www.kamailio.org/docs/openser-radius-1.0.x.html</a></div>
<div><br>
</div>
<div>Good luck</div>
<div><br>
</div>
<div>Yasin CANER</div>
<div><br>
<div id="x_gmail-m_8160317617991438604AppleMailSignature">iPhone’umdan gönderildi</div>
<div><br>
Yazar Lwin <<a href="mailto:yarzarlwin@gmail.com" target="_blank">yarzarlwin@gmail.com</a>> şunları yazdı (19 Oca 2019 14:36):<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I've Kamailio 5.1 running with Mysql as local DB. </div>
<div>I've configured Siremis as well. I completed accounting configuration as per the instruction. Now I can see the accounting list, CDR list and as well as missed calls in Siremis But I can't integrate with free radius server to trigger the accounting, just
like Diameter transaction in IMS. Kindly advise which doc I should check.</div>
<div>I would like to enable Radius server as an online charging.</div>
<div><br>
</div>
<div>Best regards</div>
<div>Yazar</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Kamailio (SER) - Users Mailing List</span><br>
<span><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a></span><br>
<span><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></span><br>
</div>
</blockquote>
</div>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
</div>
</div>
</body>
</html>