[OpenSIPS-Users] Logging phone calls

Răzvan Crainea razvan at opensips.org
Wed May 29 10:31:59 CEST 2013


Hi, Martin!

You are looking for the acc module[1]. In order to get CDRs in the 
database, you should set the db_flag and cdr_flag for the initial INVITEs.

[1] http://www.opensips.org/html/docs/modules/1.9.x/acc.html

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 05/28/2013 04:51 PM, Martin Pola wrote:
> Hi,
>
> I'm as new as one can possibly be to the world of VoIP. Despite that,
> I've successfully set up an instance of OpenSIPS and I've managed to
> call my phone from my tablet (with some random sip app I found on Google
> Play).
>
> The back-end my OpenSIPS is using is MySQL, and the issue I've ran into
> now is logging. I want to have a table with one row per call, telling me
> information about source, destination, duration etc. How can I do this
> in OpenSIPS? I've found that OpenSips-CP has some sort of CDR
> integration, that should work with OpenSIPS too. I've got the relevant
> table(s?) up, but no calls are being added. I've added a crontab that
> runs the MySQL procedure "opensips_cdrs();" every three minutes.
>
> My suspicions are directed towards OpenSIPS. I must've missed something
> very obvious. How can I make OpenSIPS collaborate its information and do
> whatever is needed to get the CDR information into the table?
>
> Kind regards,
> Martin
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list