<div dir="ltr">I think the data type you&#39;re using in the database is the problem. 2147483647 is the maximum value you can store in a signed 32bit integer. You&#39;re trying to store a larger value so it&#39;s truncating it to the maximum possible value. Try a type that uses 64bits.</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On 8 July 2014 10:47, Sergey Zhuravlov <span dir="ltr">&lt;<a href="mailto:4orbit@gmail.com" target="_blank">4orbit@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div><div dir="ltr" style="zoom:1"><span lang="en"><span>hi</span><span>!</span>  <span>I tune</span> <span>cdr-stats</span> <span>now</span><span>.</span> <br>
<br><span>Found that</span> <span>in the database</span> <span>mongodb,</span> <span>which</span> <span>stores data</span> <span>from</span> <span>freeswitch</span> with <span>mod_cdr_mongodb</span> <span>strange value</span> <br>


<br><span>start_epoch &quot;:</span> <span>1399643826</span><span>,&quot; start_uepoch &quot;:</span> <span><a href="tel:2147483647" value="+12147483647" target="_blank">2147483647</a></span> .... <span>&quot;start_stamp&quot;: &quot;2014-05-09 13:57:06&quot;</span> <br>


<br><span>The problem</span> <span>with the value</span> <span>&quot;start_uepoch&quot;:</span> <span><a href="tel:2147483647" value="+12147483647" target="_blank">2147483647</a></span> <br><span><br>This is not true</span> <span>value should be</span><span>:</span> <br>


<br>     <span>&lt;start_epoch&gt;</span> <span>1399643826</span> <span>&lt;/ start_epoch&gt;</span> <br>     <span>&lt;start_uepoch&gt;</span> <span>1399643826442976</span> <span>&lt;/ start_uepoch&gt;</span> <br>
<br><span>This is</span> <span>a file</span> <span>from</span> <span>cdr_xml</span> <br><br><span>Someone faced</span> <span>with such behavior</span> <span>mod_cdr_mongodb?<br>
HOWTO correct it?<br><br>FreeSWITCH Version 1.5.12b+git~20140419T062924Z~f408dae2af~32bit (git f408dae 2014-04-19 06:29:24Z 32bit)<br><br>Ubuntu 12.04.4 LTS<br><br><br></span></span></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>