<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can post also the entry from cdrtool.prepaid_history table related to this call<div><div><br></div><div>Adrian</div><div><br><div><div>On Apr 3, 2009, at 11:20 PM, Carlo Dimaggio wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Il giorno 03/apr/09, alle ore 22:53, Adrian Georgescu ha scritto:<br><br><blockquote type="cite">Carlo,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Can you paste all the cdrtool syslog lines related to the call in question?<br></blockquote><br>Hi Adrian.<br><br>Here the syslog. I see that the Duration calculated with cron is different from that calculated when the prepaid call is closed (15 (int?) instead of 15.7315969467):<br><br>Thanks,<br>Carlo<br><br>----<br><br>Apr 3 22:24:07 proxy cdrtool[13214]: MaxSessionTime From=<a href="sip:1003@sip.xxx.it">sip:1003@sip.xxx.it</a> Lock=1 To=<a href="sip:0039347123123@sip.xxx.it:5060;user=phone">sip:0039347123123@sip.xxx.it:5060;user=phone</a> State=Connected <a href="mailto:CallId=31cfbec-c0a80101-0-d@192.168.1.100">CallId=31cfbec-c0a80101-0-d@192.168.1.100</a> Duration=36000 Gateway=79.1.2.3<br>Apr 3 22:24:07 proxy cdrtool[13214]: Maximum duration for session <a href="mailto:31cfbec-c0a80101-0-d@192.168.1.100">31cfbec-c0a80101-0-d@192.168.1.100</a> of <a href="mailto:1003@sip.xxx.it">1003@sip.xxx.it</a> to destination 3934 having balance=1.0000 is 364<br>Apr 3 22:24:07 proxy cdrtool[13214]: MaxSessionTime=364 Type=prepaid <a href="mailto:CallId=31cfbec-c0a80101-0-d@192.168.1.100">CallId=31cfbec-c0a80101-0-d@192.168.1.100</a> <a href="mailto:BillingParty=1003@sip.xxx.it">BillingParty=1003@sip.xxx.it</a> DestId=3934 Balance=1.0000 Spans=1<br>Apr 3 22:24:23 proxy cdrtool[13214]: DebitBalance Duration=15.7315969467 <a href="mailto:CallId=31cfbec-c0a80101-0-d@192.168.1.100">CallId=31cfbec-c0a80101-0-d@192.168.1.100</a> From=<a href="sip:1003@sip.xxx.it">sip:1003@sip.xxx.it</a> Gateway=79.37.254.50 To=<a href="sip:0039347123123@sip.xxx.it:5060;user=phone">sip:0039347123123@sip.xxx.it:5060;user=phone</a><br>Apr 3 22:24:23 proxy cdrtool[13214]: ConnectFee=0.0000 <a href="mailto:CallId=31cfbec-c0a80101-0-d@192.168.1.100">CallId=31cfbec-c0a80101-0-d@192.168.1.100</a> Span=1 Duration=15.7315969467 DestId=3934 domain=sip.xxx.it Profile=331002 Period=weekday Rate=3310021 Interval=0-24 Cost=0.1650/60 Price=0.0433 Price in=0.0000<br>Apr 3 22:24:23 proxy cdrtool[13214]: Price=0.0433 Duration=15.7315969467 <a href="mailto:CallId=31cfbec-c0a80101-0-d@192.168.1.100">CallId=31cfbec-c0a80101-0-d@192.168.1.100</a> <a href="mailto:BillingParty=1003@sip.xxx.it">BillingParty=1003@sip.xxx.it</a> DestId=3934 MaxSessionTime=0<br>Apr 3 22:25:01 proxy /USR/SBIN/CRON[13258]:<br>[...]<br>Apr 3 22:25:01 proxy cdrtool[13268]: ConnectFee=0.0000 <a href="mailto:CallId=31cfbec-c0a80101-0-d@192.168.1.100">CallId=31cfbec-c0a80101-0-d@192.168.1.100</a> Span=1 Duration=15 DestId=3934 domain=sip.xxx.it Profile=331002 Period=weekday Rate=3310021 Interval=0-24 Cost=0.1650/60 Price=0.0413 Price in=0.0000<br></div></blockquote></div><br></div></div></body></html>