<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Jayesh,<br>
<br>
If dialog module has restart persistence ( db modes 1, 2 and 3) the
CDRs should survive across a restart. If this is not the case for
you, let me know the exact version of opensips you are running (do
"opensips -V").<br>
<br>
Regards,<br>
Bogdan<br>
<br>
On 12/01/2011 12:28 PM, Jayesh Nambiar wrote:
<blockquote
cite="mid:CALvF6vCj7bFUZoNi_VLkzfpeYQ-5exwBOAZ1jBgEwPwJzOPTyA@mail.gmail.com"
type="cite">Hello All,<br>
I am planning to use CDR accounting in my script starting from
version 1.7 and it looks fine and working as expected. Although I
had one doubt, how do I make sure the CDR accounting still happens
if the opensips is restarted and BYE comes after the restart. I
have tried db_mode 3 for dialog module so that it dumps all the
dialogs while shutdown and on start it fetches the dialog from the
DB. This method makes sure the dialog is matched when BYE comes
after the restart but the CDR record is not entered.<br>
Is there any flag or dialog variable that I should set to insert
that value in the table for all dialogs when opensips shuts off so
that opensips knows that the CDR flag was set for this dialog when
started again and it has to insert the record?<br>
Do let me know for any pointers or ideas to get this done.<br>
Thanks in advance.<br>
<br>
--- Jayesh<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"</pre>
</body>
</html>