<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi Jayesh,<BR>
You can use radius to do the account. Its generate records when Invite and Bye messages are sent.<BR>
But ( I guess) you have not the duration, you need to calculate using the records mentioned.<BR>
You have to load the module "acc_radius.so"<BR>
<BR>
Regards,<BR>
Lucas Girard<BR>
<BR>
On Mon, 2013-07-22 at 21:10 +0530, Jayesh Nambiar wrote:
<BLOCKQUOTE TYPE=CITE>
    Hello All,
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Is there no straight forward way of getting the ACC module CDR values into the DB. I mean logging the start_time, end_time and duration in DB directly using some pseudo variables from the config script !!
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    I think, if a dialog is maintained, all the values related to that dialog is anyways available and a manual insert on dlg_end event can be called. But I am only missing the milli-second precision that the CDR module provides !!
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    Thanks for any pointers.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    --- Jayesh
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<A HREF="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>