<div dir="ltr">Reading the manual I&#39;m guessing you&#39;re on a 32bit platform. Running on 64bit would be better as 32bit limits the size of the database. <div><br></div><div>Integers are 64bit on 64bit platforms, but you can use bigint to get 64bit numbers on a 32bit platform.<div>

<a href="http://api.mongodb.org/perl/current/MongoDB/DataTypes.html" target="_blank">http://api.mongodb.org/perl/current/MongoDB/DataTypes.html</a><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 July 2014 14:23, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@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">I think the data type you&#39;re using in the database is the problem. <a href="tel:2147483647" value="+12147483647" target="_blank">2147483647</a> 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"><div><div>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>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<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></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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>
</blockquote></div><br></div></div></div>