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:[email protected] To=sip:[email protected] Duration=7200 Gateway=XXX.XXX.188.229 Lock=1 402 ShowPrice From=sip:[email protected] To=sip:[email protected] Gateway=XXX.XXX.188.229 Duration=59 0.1300 Duration: 59 s App: audio Destination: 55218 Customer: [email protected] 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:[email protected] To=sip:[email protected] Gateway=XXX.XXX.188.229 Duration=59 Ok MaxSessionTime=0 0.1300 Duration: 59 s App: audio Destination: 55218 Customer: [email protected] 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 [email protected] +552185022233 (BRAZIL CELL 55218) 00:04 0.0650 Ok (200) Signalling information Click here to show only this call id Call id: [email protected] 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: [email protected] Domain: os1.voip.net To (dialed URI): [email protected] Canonical URI: [email protected] Next hop URI: [email protected] Destination: BRAZIL CELL (55218) Billing Party: [email protected] Reseller: 0 Rating information Duration: 4 s App: audio Destination: 55218 Customer: [email protected] 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 [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
