Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 26, 2024 3:59 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Billing Issue
PostPosted: Wed Nov 28, 2007 8:48 am 
Offline

Joined: Sun Aug 27, 2006 3:43 am
Posts: 91
Sim like Callback billing is doing this

Let say My pin balance is 5 Dollar

when 1st leg come its divide by 2 = 2.5

then When you dail 2nd leg it does 2.5/2

I set it up for 1st let 1.5 but 2nd leg still dividing by 2 can some one please advice me please thank you hope hear from you soon how can I set 2nd leg divided by 1.5 to


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 28, 2007 12:42 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I'm not sure I agree with your description of the way the credit is manipulated, but it's been a while since I played with callback so I can't say for sure.
I think the code you seek is around line 760 of a2billing.php:
Code:
         // DIVIDE THE AMOUNT OF CREDIT BY 2 IN ORDER TO AVOID NEGATIVE BALANCE IF THE USER USE ALL HIS CREDIT
         $orig_credit = $A2B -> credit;
         $A2B -> credit = $A2B->credit / 2;


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 28, 2007 12:53 pm 
Offline

Joined: Sun Aug 27, 2006 3:43 am
Posts: 91
I did change that to 1.3 however it still dividing 2nd leg with 2


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
VoIP Billing solution


All times are UTC


Who is online

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