Blocking of BYE while Free Radius doing accounting

Sureshbhai Talasaniya suresh.talasaniya at ecosmob.com
Thu Aug 10 14:46:12 CEST 2017


*------- BYE -----> OPenSIPs  ------BYE------> FS*


ON BYE request OpenSIPs do accounting using below configuration.
async( radius_send_acct("set2"), DEFAULT_RELAY_ROUTE_0);

When there are 100 cps, I am facing the issue in some calls
while free-radius takes approx 1 sec to complete accounting but on that
calls OpenSIPs block the BYE message until free-radius complete accounting.


Aug  8 08:31:16 OS /usr/local/sbin/opensips[3977]: [ 793-30802 at xx.xx.xx.xx
] Before Accounting : 1502181075000072
Aug  8 08:31:16 OS /usr/local/sbin/opensips[3977]: [ 793-30802 at xx.xx.xx.xx
] After Accounting : 1502181076001483

OpenSIPs received BYE Time: 1502181075000072

OpenSIPs Relay BYE Time: 1502181076001483


Time Difference Between Relay BYE and Received BYE
*1502181076001483 - 1502181075000072=1001411 usec.*


How to prevent Blocking of BYE while Free Radius doing accounting?

Free Radius is running on UDP protocol.

It would be appreciable if any help.

Thank You

-- 
Regards,
Suresh Talasaniya.
Software Developer.
Ecosmob Technologies Pvt. Ltd.
Contact : +91-9724264776
Skype : suresh.ecosmob


More information about the Freeradius-Users mailing list