[OpenSIPS-Users] CDRTool - Prepaid does not decrement balance
Alberto Listas
listas at b2br.net
Fri Jul 31 17:33:35 CEST 2009
Hi,
I am having a difficulty with prepaid in CDRTool. When I telnet to the server and
give the commands manually as below the prepaid balance is decremented
correctly. When I place the call thru Opensips the call is billed (as show below too) but the prepaid
balance is not decremented. I did not install Call Control yet because it's not
very important that I stop calls on the fly. Could that be the problem?
Thanks in advance for any suggestions,
Alberto
_____________________________________________________________________
os1:~# telnet os2 9024
Trying XXX.XXX.197.172...
Connected to os2.voip.net.
Escape character is '^]'.
MaxSessionTime CallId=6432622xvv at 1 From=sip:2001 at os1.voip.net To=sip:005521850222333 at XXX.XXX.197.171 Duration=7200 Gateway=XXX.XXX.188.229 Lock=1
402
ShowPrice From=sip:2001 at os1.voip.net To=sip:005521850222333 at XXX.XXX.197.171 Gateway=XXX.XXX.188.229 Duration=59
0.1300
Duration: 59 s
App: audio
Destination: 55218
Customer: subscriber=2001 at os1.voip.net
Connect: 0.0000
StartTime: 2009-07-31 17:06:51
--
Span: 1
Duration: 60 s
Increment: 6
Min duration: 30
ProfileId: plu / weekday
RateId: plu / 0-24h
Rate: 0.1300 / 60 s
Price: 0.1300
DebitBalance CallId=6432622xvv at 1 From=sip:2001 at os1.voip.net To=sip:005521850222333 at XXX.XXX.197.171 Gateway=XXX.XXX.188.229 Duration=59
Ok
MaxSessionTime=0
0.1300
Duration: 59 s
App: audio
Destination: 55218
Customer: subscriber=2001 at os1.voip.net
Connect: 0.0000
StartTime: 2009-07-31 17:08:15
--
Span: 1
Duration: 60 s
Increment: 6
Min duration: 30
ProfileId: plu / weekday
RateId: plu / 0-24h
Rate: 0.1300 / 60 s
Price: 0.1300
___________________________________________________________________________
Id Start time Sip Proxy SIP caller SIP destination Dur Price KBIn KBOut Status Codecs
1N 2009-07-31 11:27:21 XXX.XXX.197.171 2001 at os1.voip.net +552185022233 (BRAZIL CELL 55218) 00:04 0.0650 Ok (200)
Signalling information
Click here to show only this call id
Call id: 1537464575-5264-19 at 189.4.254.119
Click here to see the SIP trace for this call
From/to tags: 1685903383/013be01d
Start time: 2009-07-31 11:27:21
Stop time: 2009-07-31 11:27:25
Method: Invite from XXX.XXX.254.119:5264
From: 2001 at os1.voip.net
Domain: os1.voip.net
To (dialed URI): 005521850222333 at os1.voip.net
Canonical URI: 005521850222333 at os1.voip.net
Next hop URI: 005521850222333 at XXX.XXX.195.56
Destination: BRAZIL CELL (55218)
Billing Party: 2001 at os1.voip.net
Reseller: 0
Rating information
Duration: 4 s
App: audio
Destination: 55218
Customer: subscriber=2001 at os1.voip.net
Connect: 0.0000
StartTime: 2009-07-31 16:27:21
--
Span: 1
Duration: 30 s
Increment: 6
Min duration: 30
ProfileId: plu / weekday
RateId: plu / 0-24h
Rate: 0.1300 / 60 s
Price: 0.0650
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090731/ddcb2d73/attachment-0001.htm
More information about the Users
mailing list