[OpenSIPS-Users] Radius CDR records depend who hangs up first

John Quick John.Quick at smartvox.co.uk
Wed Nov 11 16:27:59 CET 2009


Using Opensips version 1.6.0 with radiusclient-ng and the new AAA modules for authentication and
accounting. The radius server is configured to write CDR records to a MySQL database. The records it
is writing to the table radius.radacct are sometimes merged into one record per call, but other times
appear as two records per call.

The scenario for my test calls is:
Remote IP phone ----> Opensips  ---->  Gateway  ---->  Carrier  ----> mobile phone

The device making the call and the dialled number are identical - all that is different is the person
who hangs up first. Only when the called party (mobile phone) hangs up first do I get two CDR records.
These records both have the same Call-ID (shown in the field AcctSessionID).

Is this behaviour expected or does it indicate some kind of configuration problem?

John Quick
Smartvox Limited
Web: www.smartvox.co.uk





More information about the Users mailing list