[OpenSER-Users] Prepaid acounts CDRTool

Marc LEURENT lftsy at free.fr
Mon Aug 20 11:57:09 CEST 2007


But, when I do a DebitBalance   From=sip:101 at sd-7501.dedibox.fr To=sip:0033677832974 at sd-7501.dedibox.fr Duration=59
it works!

Aug 20 11:55:41 sd-7501 CDRTool[20158]: ConnectFee=0.0546 Span=1 Duration=59 DestId=336 subscriber=101 at sd-7501.dedibox.fr Profile=101 Period=weekday
Rate=1011 Interval=8-19 Cost=0.0245/60 Price=0.0241
Aug 20 11:55:41 sd-7501 CDRTool[20158]: CallId= BillingParty=101 at sd-7501.dedibox.fr DestId=336 Duration=59 Price=0.0787 Balance=10039.8165




Marc LEURENT a écrit :
> Hello Dan and hello everybody!
> OpenSER & Freeradius & CDRTool are perfectly working together now!
> 
> I just don't understand one thing.
> Tickets are made but don't decrease the prepaid acounts...
> 
> For example, when 101 at sd-7501.dedibox.fr is calling,
> here is the Rating information, but is prepaid account don't goes down...
> 
> Any idea?
> 
> Signalling information
> 	Session: 	 1973928040 at 192.168.95.118
> 	Start time: 	2007-08-20 11:17:32 Europe/Paris
> 	Stop time: 	2007-08-20 11:19:51 Europe/Paris
> 	Method: 	INVITE from :
> 	From: 	
> 	Dialed URI: 	
> 	Canonical URI: 	0033677832974 at sd-7501.dedibox.fr
> 	Next hop URI: 	
> 	Destination: 	France - Portable (336)
> 	Billing Party: 	sip:101 at sd-7501.dedibox.fr
> 				
> Rating information
> 	App: audio
> Destination: 336 (France - Portable)
> Customer: domain=sd-7501.dedibox.fr
> Connect fee: 0.2346
> --
> Span: 1
> Duration: 139 s
> StartTime: 2007-08-20 11:17:32 (Europe/Paris)
> ProfileId: 1 for weekday
> RateId: 10 for 0-24h
> Rate: 0.5634 / 60 s
> Price: 1.3052
> 
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users




More information about the sr-users mailing list