<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi there,<br>
<br>
What is this cdr_worker.sh file you are talking about ??<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 4/29/20 6:17 AM, Saint Michael
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAC9cSOAxjBX_dL9UXObFUe0QCBmdOobJqu741omhGfK6S4J5+g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_default" style="font-size:small">I checked the
database and I missed the CDR for many calls. Later I found
them sitting in files in /var/log/opensips</div>
<div class="gmail_default" style="font-size:small">I run it
manually cdr_worker.sh and got this error ./cdr_worker.sh<br>
lockfile: Sorry, giving up on
"/var/run/opensips_cdr_worker.lock"which means is not firing
because the lock is being held, but there is no traffic. I
stopped opensips and still the same error , so the script is
not working as it should. The locking mechanism is stuck. I
restarted opensips, placed another call, and odbc did not get
executed, so recycling opensips does not free the lock.<br>
</div>
<div class="gmail_default" style="font-size:small">Any idea how
can I get my CDR inserted 100% for sure into my database?</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
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>
</body>
</html>