Carlo,

Now can you telnet to your rating engine port and issue the following two commands:

DebitBalance Duration=15 CallId=test_call_adrian From=sip:1...@sip.xxx.it Gateway=79.37.254.50 To=sip:0039347123...@sip.xxx.it:5060;user=phone DebitBalance Duration=16 CallId=test_call_adrian From=sip:1...@sip.xxx.it Gateway=79.37.254.50 To=sip:0039347123...@sip.xxx.it:5060;user=phone

And paste the output of both commands.

The above will debit the user balance, before running the commands note down the current user balance to restore after your are done.

Adrian



On Apr 4, 2009, at 10:17 AM, Carlo Dimaggio wrote:


Il giorno 04/apr/09, alle ore 10:02, Adrian Georgescu ha scritto:

Can post also the entry from cdrtool.prepaid_history table related to this call

Hi Adrian, the entry contains:

---
Id: 149 
username: 1003  
domain: sip.xxx.it      
action: Debit balance   
number: Session to +39347123123 for 15s 
duration: 15    
destination: +39347123123       
session: 31cfbec-c0a80101-...@192.168.1.100     
value: 0.0433   
balance: 0.9567 
date: 2009-04-03 22:24:23
---

Regards,
Carlo

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to