Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 2:43 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: cdr report wrong?
PostPosted: Tue Jun 12, 2007 3:21 am 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
It seems like the rates in the CDR reports aren't doing the math right. I made a call to China for 19 mins which is set to let's just say $0.01 per min. The CDR report says that it only cost me $0.014 for the whole call....any ideas?


Top
 Profile  
 
 Post subject: A2billing error
PostPosted: Tue Jun 12, 2007 2:22 pm 
Offline

Joined: Wed Jun 06, 2007 10:02 am
Posts: 9
I have the same problem:

I have tried all the below options and none of the calls are rated correctly.

sell rate = 0.60
minimum duration = 0
billing increment = 0

sell rate = 0.60
minimum duration = 0
billing increment = 60

sell rate = 0.60
minimum duration = 1
billing increment = 60

sell rate = 0.60
minimum duration = 1
billing increment = 1

If I make a 27 second all the cost of the call should be 0.27 as the charge is 0.60 per minute and we are billing in per seconds. This is some of the results I have from the CDR report.

00:15 1541132133 a2trunk ANSWER STANDARD 0.345
00:06 1541132133 a2trunk ANSWER STANDARD 0.173
00:08 1541132133 a2trunk ANSWER STANDARD 0.345

thanks for your help
Ollie


Top
 Profile  
 
 Post subject: check the base currency
PostPosted: Tue Jun 12, 2007 3:37 pm 
Offline

Joined: Mon Aug 21, 2006 11:03 pm
Posts: 34
Location: Livorno - Italy
in /etc/asterisk/a2billing.conf

check:

;base currency define the default currency that you want to use to setup your system (see the currency table to know the currency code)
base_currency = eur

or whatever currency you want

make also an:

/var/lib/asterisk/agi-bin/libs_a2billing/crontjob/currencies_update_yahoo.php

Let me know.

Alessandro
DIGILAB


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 12, 2007 4:05 pm 
Offline

Joined: Wed Jun 06, 2007 10:02 am
Posts: 9
Hi Alessandro

I have checked the details and my default currency to GBP and I do have the file /var/lib/asterisk/agi-bin/libs_a2billing/crontjob/currencies_update_yahoo.php located where suggested.

Kind regards
Ollie


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 12, 2007 10:39 pm 
Offline

Joined: Wed Dec 13, 2006 9:06 pm
Posts: 94
I'm working with USD...will double check my config but am pretty sure it's set to USD.

yes....set to USD but reports are still calculating incorrect.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 13, 2007 12:23 pm 
Offline

Joined: Wed Jun 06, 2007 10:02 am
Posts: 9
I have managed to solve my problem.

I changed the a2billing.conf with the following and it worked for me.

min_duration_2bill = 1

It was set to 0 and I changed it to 1


Hope this helps

Ollie :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group