<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>Re: [Serusers] SER / Missing call records</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText9042 dir=ltr>
<DIV dir=ltr><FONT size=2>I'll go ahead and start going through our config files 
again to see if anything jumps out at me. We've also got an R&amp;D box I can 
throw the config on and&nbsp;test changes.&nbsp;<FONT size=2>I will 
also&nbsp;see about creating a generic version of our config file that I could 
post without any sensitive data in it.</FONT>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV></FONT></DIV>
<DIV dir=ltr><FONT size=2>I've gone through the syslogs over a dozen times 
looking for anything database related already with no luck.</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>I figured the FIFO might be a long shot, but we're to 
that point of looking for long shots.</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>Thanks again Jiri for the response.</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>Cheers,</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>&nbsp;- Darren</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>.</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>At 17:08 18/08/2006, Darren Sessions 
wrote:<BR>&gt;Content-Type: 
multipart/alternative;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
boundary="----_=_NextPart_001_01C6C2D8.5D25DDC8"<BR>&gt;Content-class: 
urn:content-classes:message<BR>&gt;<BR>&gt;All,<BR>&gt;<BR>&gt;We&#8217;re 
experiencing a problem with missing call records. There is nothing in the log 
files that indicate a problem either with SER or our database server and 
likewise there is nothing in the database server&#8217;s logs to indicate a problem. 
System loads are within reason on both servers, network connectivity has been 
tested and verified, and a through hardware shakedown on both boxes has been 
completed without any errors.<BR>&gt;<BR>&gt;We first noticed this problem when 
our underlying vendor&#8217;s bill (based on minutes of course) did not correspond 
with our own. Upon doing a CDR comparison (based on what was in both the acc and 
calls tables), we were able to verify that the calls in dispute were indeed ours 
(based on the sip call-id&#8217;s IP addresses).<BR>&gt;<BR>&gt;We&#8217;re processing 
roughly 1.4 million calls per day on this SER server in question. Out of those 
calls, 508 calls (give or take a couple hundred) with a total duration of over 
5,300 minutes - can not be accounted for in any of the SER database 
tables.<BR>&gt;<BR>&gt;We&#8217;re running 0.9.5-pre1 with Suse Enterprise Server 9.0 
(2.6.11 Kernel). Server is an HP DL380 with dual 3.2GHz processors with 6GB 
physical ram (only 1.4GB in use system wide); disk space is not an issue as well 
(only 10% in use).<BR>&gt;<BR>&gt;We&#8217;ve scoured the mailing lists and change 
logs for any hint of an issue similar to ours without any results. The closest 
we&#8217;ve been able to come that&#8217;s anywhere near along the lines of our issue in any 
way that made any sense were these posts:<BR>&gt;<BR>&gt;&lt;<A 
href="http://lists.iptel.org/pipermail/serdev/2003-August/000602.html">http://lists.iptel.org/pipermail/serdev/2003-August/000602.html</A>&gt;<A 
href="http://lists.iptel.org/pipermail/serdev/2003-August/000602.html">http://lists.iptel.org/pipermail/serdev/2003-August/000602.html</A><BR><BR>thats 
usrloc specific, unrelated to accounting.<BR><BR>&gt;<BR>&gt;&lt;<A 
href="http://lists.iptel.org/pipermail/serusers/2005-February/015102.html">http://lists.iptel.org/pipermail/serusers/2005-February/015102.html</A>&gt;<A 
href="http://lists.iptel.org/pipermail/serusers/2005-February/015102.html">http://lists.iptel.org/pipermail/serusers/2005-February/015102.html</A><BR><BR>This 
may be related, even though it is hard to say what the problem cause 
might<BR>have been.<BR><BR>I don't know your script and use case, but I would 
probably begin to suspect<BR>the script whether it correctly identifies all 
transactions in question to be<BR>accounted. Maybe, if you don't net do it, it 
may be reasonable to account all<BR>SIP transactions passing your 
server.<BR><BR>Second next thing I would do is to look at syslog. I remember 
that under some<BR>stressful mysql conditions, some INSERTs really got lost, 
which was properly<BR>logged in SER's logfiles/.<BR><BR>&gt;<BR>&gt;At this 
point, we&#8217;re not sure if this issue has something to do with the FIFO and SER 
making bulk dump uploads with call data to the database, or some other issue 
along those lines &#8211; or if this is a new issue all together.<BR><BR>That has 
hardly to do with FIFO.<BR><BR>-jiri<BR><BR>&gt;<BR>&gt;Any help would be 
greatly appreciated.<BR>&gt;<BR>&gt;Thanks,<BR>&gt;<BR>&gt;- 
Darren<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;Fifo 
settings:<BR>&gt;<BR>&gt;fifo="/tmp/ser_fifo"<BR>&gt;fifo_db_url="mysql://xxx:xxx@xxx/serdb"<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;Here 
are our module specific parameters:<BR>&gt;<BR>&gt;# -- timers 
--<BR>&gt;modparam("tm", "wt_timer", 10)<BR>&gt;modparam("tm", "retr_timer1p1", 
2)<BR>&gt;<BR>&gt;# -- usrloc params --<BR>&gt;modparam("usrloc", "db_mode", 
2)<BR>&gt;<BR>&gt;# -- database URL 
--<BR>&gt;modparam("usrloc|acc|auth_db|group","db_url","mysql://xxx:xxx@xxx/serdb")<BR>&gt;<BR>&gt;# 
-- auth params --<BR>&gt;modparam("auth_db", "calculate_ha1", 
yes)<BR>&gt;modparam("auth_db", "password_column", 
"password")<BR>&gt;modparam("auth","secret","xxx")<BR>&gt;<BR>&gt;# -- rr params 
--<BR>&gt;modparam("rr", "enable_full_lr", 1)<BR>&gt;<BR>&gt;# -- Nathelper 
--<BR>&gt;modparam("registrar", "nat_flag", 6)<BR>&gt;modparam("nathelper", 
"natping_interval", 10)<BR>&gt;modparam("nathelper", "ping_nated_only", 
1)<BR>&gt;modparam("nathelper", "rtpproxy_disable", 1)<BR>&gt;<BR>&gt;# -- acc 
params --<BR>&gt;modparam("acc", "db_flag", 
3)<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;_______________________________________________<BR>&gt;Serusers 
mailing list<BR>&gt;Serusers@lists.iptel.org<BR>&gt;<A 
href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</A><BR><BR>--<BR>Jiri 
Kuthan&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A 
href="http://iptel.org/~jiri/">http://iptel.org/~jiri/</A><BR><BR></DIV></FONT></DIV>

</BODY>
</HTML>