Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 8:34 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Callback billing problem
PostPosted: Tue Aug 08, 2006 9:48 am 
Offline

Joined: Sat Apr 29, 2006 1:21 pm
Posts: 17
Billing only charge called number (The number you wish to call : )
but i need to charge also user user number too (Your PhoneNumber :)
.....how to charge both direction?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 06, 2007 3:35 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
You can achieve this by changing a variable in the A2Billing agi script itself.

The path to the AGI script is "/var/lib/asterisk/agi_bin/a2billing.php".

The variable is $charge_callback and it is located not very far from the begining of the script (before line 40).

Change it from $charge_callback = 0

To $charge_callback = 1

Even by doing so, I have just discover a bug in the way charges and maximum call duration are calculated. I will submit a ticket about that very soon. Hopefully, this has been fixed in the new version.


Top
 Profile  
 
 Post subject: Re: Callback billing problem
PostPosted: Wed Jul 01, 2009 5:01 pm 
Offline

Joined: Mon Jun 15, 2009 4:14 pm
Posts: 17
hey asiby, i changed the variable $charge_callback how you mentioned, but the billing about the both legs didn't happend. Only on the second leg was billing.

Are there some settings that i need to do with this simple configuration about $charge_callback???

Regards

Ricardo


Top
 Profile  
 
 Post subject: Re: Callback billing problem
PostPosted: Wed Jul 01, 2009 5:36 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
Ok. Then revert the change that you had done. I need more information about your system.


Top
 Profile  
 
 Post subject: Re: Callback billing problem
PostPosted: Wed Jul 01, 2009 5:51 pm 
Offline

Joined: Mon Jun 15, 2009 4:14 pm
Posts: 17
Ok man.
Setting done.

Now, what kind of information do you need?

Thank's for the help! :D


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 12 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