[OpenSIPS-Users] Call-control exception

Adrian Georgescu ag at ag-projects.com
Sat Apr 4 10:34:44 CEST 2009


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:1003 at sip.xxx.it 
  Gateway=79.37.254.50 To=sip:0039347123123 at sip.xxx.it:5060;user=phone
DebitBalance Duration=16 CallId=test_call_adrian From=sip:1003 at sip.xxx.it 
  Gateway=79.37.254.50 To=sip:0039347123123 at 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-0-d at 192.168.1.100	
> value: 0.0433	
> balance: 0.9567	
> date: 2009-04-03 22:24:23
> ---
>
> Regards,
> Carlo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090404/fe509867/attachment.htm 


More information about the Users mailing list