<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Carlo,<div><br></div><div>Now can you telnet to your rating engine port and issue the following two commands:<div><br></div><div>DebitBalance Duration=15 CallId=test_call_adrian&nbsp;From=<a href="sip:1003@sip.xxx.it">sip:1003@sip.xxx.it</a>&nbsp;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></div><div>DebitBalance Duration=16 CallId=test_call_adrian From=<a href="sip:1003@sip.xxx.it">sip:1003@sip.xxx.it</a>&nbsp;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></div><div><br><div>And paste the output of both commands.</div><div><br></div><div>The above will debit the user balance, before running the commands note down the current user balance to restore after your are done.</div><div><br></div><div>Adrian</div><div><br></div><div><br></div><div><div><br><div><div>On Apr 4, 2009, at 10:17 AM, Carlo Dimaggio wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>Il giorno 04/apr/09, alle ore 10:02, Adrian Georgescu ha scritto:<br><br><blockquote type="cite">Can post also the entry from cdrtool.prepaid_history table related to this call<br></blockquote><br>Hi Adrian, the entry contains:<br><br>---<br>Id: 149<span class="Apple-tab-span" style="white-space:pre">        </span><br>username: 1003<span class="Apple-tab-span" style="white-space:pre">        </span><br>domain: sip.xxx.it<span class="Apple-tab-span" style="white-space:pre">        </span><br>action: Debit balance<span class="Apple-tab-span" style="white-space:pre">        </span><br>number: Session to +39347123123 for 15s<span class="Apple-tab-span" style="white-space:pre">        </span><br>duration: 15<span class="Apple-tab-span" style="white-space:pre">        </span><br>destination: +39347123123<span class="Apple-tab-span" style="white-space:pre">        </span><br>session: <a href="mailto:31cfbec-c0a80101-0-d@192.168.1.100">31cfbec-c0a80101-0-d@192.168.1.100</a><span class="Apple-tab-span" style="white-space:pre">        </span><br>value: 0.0433<span class="Apple-tab-span" style="white-space:pre">        </span><br>balance: 0.9567<span class="Apple-tab-span" style="white-space:pre">        </span><br>date: 2009-04-03 22:24:23<br>---<br><br>Regards,<br>Carlo<br></div></blockquote></div><br></div></div></div></div></body></html>