Hello,

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.

# ----- acc params -----
/* what special events should be accounted ? */
modparam("acc", "early_media", 1)
modparam("acc", "report_ack", 0)
modparam("acc", "report_cancels", 1)
/* by default ww do not adjust the direct of the sequential requests.
 * if you enable this parameter, be sure the enable "append_fromtag"
 * in "rr" module */
modparam("acc", "detect_direction", 0)
/* account triggers (flags) */
modparam("acc", "log_flag", FLT_ACC)
modparam("acc", "log_missed_flag", FLT_ACCMISSED)
modparam("acc", "log_extra",
        "src_user=$fU;src_domain=$fd;src_ip=$si;"
        "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")
modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)
#--------acc_radius acc params------
modparam("acc_radius", "radius_config", "/etc/radiusclient/radiusclient.conf")
modparam("acc_radius", "radius_flag", 1)
modparam("acc_radius", "radius_missed_flag", 2)
modparam("acc_radius", "service_type", 15)
modparam("acc_radius", "radius_extra", "via=$hdr(Via[*]); email=$avp(s:email)")
modparam("acc_radius", "rad_time_mode", 1)


On Sat, Jan 19, 2019 at 7:52 PM YASIN CANER <caner_yaso@hotmail.com> wrote:
Hello

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 

https://www.kamailio.org/docs/openser-radius-1.0.x.html

Good luck

Yasin CANER

iPhone’umdan gönderildi

Yazar Lwin <yarzarlwin@gmail.com> şunları yazdı (19 Oca 2019 14:36):

Hi All,

I've Kamailio 5.1 running with Mysql as local DB. 
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.
I would like to enable Radius server as an online charging.

Best regards
Yazar
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users