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=6432622...@1 From=sip:2...@os1.voip.net 
To=sip:005521850222...@xxx.xxx.197.171 Duration=7200 Gateway=XXX.XXX.188.229 
Lock=1
402

ShowPrice             From=sip:2...@os1.voip.net 
To=sip:005521850222...@xxx.xxx.197.171 Gateway=XXX.XXX.188.229 Duration=59
0.1300
Duration: 59 s
         App: audio
 Destination: 55218
    Customer: subscriber=2...@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=6432622...@1 From=sip:2...@os1.voip.net 
To=sip:005521850222...@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=2...@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 2...@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...@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: 2...@os1.voip.net 
                 Domain: os1.voip.net 
                 To (dialed URI): 005521850222...@os1.voip.net 
                 Canonical URI:  005521850222...@os1.voip.net 
                 Next hop URI: 005521850222...@xxx.xxx.195.56 
                 Destination:  BRAZIL CELL (55218) 
                 Billing Party: 2...@os1.voip.net 
                 Reseller: 0 
              Rating information 
                 Duration: 4 s
                  App: audio
                  Destination: 55218
                  Customer: subscriber=2...@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 
           
     
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to