|
Scheme - Kamailio + Radius + Billing.
ACC module sends a wonderful accounting through the RADIUS at the beginning of the call (INVITE) and at the end (BYE), by setting flag in the config (setflag (1)).
At the beginning of the connection, after billing authorization sends along a radius as possible conversation that is stored in the variable AVP and used module DIALOG.
DIALOG Module timer counting on this time and if it ends with a tear connection (to do this in the module code we put dlg_bye_all (dlg, NULL)), and refers participants to send BYE, but because it is a message (BYE) does not pass a config and accounting for this post is not sent.
I tried to set feature flag directly in the module dialog.so but it does not work, I am not skilled in programming.
Can anyone have any ideas how to implement it? Or maybe it is already implemented in Kamailio, but I did not see? |