Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 5:34 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Separate trunk cost from rate
PostPosted: Sat Aug 04, 2007 9:59 am 
Offline

Joined: Sat Aug 04, 2007 9:28 am
Posts: 4
currently buying cost is set in rate, in turn, associated with ratecard, and in turn with a trunk.

the problem is, for each call plan, we have to create a ratecard for each trunk.

the problem is worse when we bill a call depending on incoming trunk (collect call or local call) and callerid (different cost if collect call).

to the nature of calling card business, the buying cost is upon trunk. and btw, we should consider buying cost as summed cost of incoming leg and outgoing leg, which i start another REQUEST post.

one of benefits is when buying cost changes, we don't need to update every rate in every ratecard in every callplan.

my suggestion is like
1. for each trunk, we can set ratecard-like buying cost for prefixes.
2. add available trunk selection to ratecard
2. remove buying cost from rate. add appicable trunks for each rate.

regards


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 06, 2007 3:46 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
It sounds like you are onto something, but I didn't rally understood a thing :oops:


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 11, 2007 6:01 pm 
Offline

Joined: Sat Aug 04, 2007 9:28 am
Posts: 4
the most important thing is about buying cost.
if we have many ratecard using the same trunk, when the trunk buying cost varies, we have to make changes to all rates sharing common trunk.

any further discussion is welcome


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 01, 2007 10:04 pm 
Offline

Joined: Tue Aug 07, 2007 6:46 pm
Posts: 19
yes, I'am agree with dream!!!!

the buycost should be inherently associated to the trunk, rather than the ratecard... If you have a ratecard defined, you can use different trunks for some prefixes, and because of the philosophy of a2billing, it's imposible to know your real cost....

best regards,


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 3:15 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
Hi there,
Is there any progress on the request in this post? This looks to be a real problem with a2billing.
It would have been a lot better if buying rates and selling rates could be separated.

regards
mazhar


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 3:22 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Modifying v1.3/v1.4 to work this way would be a major undertaking, and would likely introduce many bugs. I'm not aware of any effort to implement this.
The rate cards already function this way in v2.00. 8)
Don't hold your breath waiting for a release of v2.00 though.


Top
 Profile  
 
 Post subject: Rating
PostPosted: Mon Mar 24, 2008 8:28 pm 
Offline

Joined: Mon Feb 04, 2008 4:30 pm
Posts: 10
Can someone post the code where it looks at the ratecards.

I am making the assumption ( I know that is bad) that it is done with database lookups. It would seem that we could change the lookups or add additional lookups to accomplish this.

I am going to need this modified for our business. We have a team the will do it and we will submit our changes to the a2b team for consideration into the product.


Top
 Profile  
 
 Post subject: Re: Rating
PostPosted: Mon Mar 24, 2008 8:48 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Can someone post the code where it looks at the ratecards.
The bulk of the code should be in Class.RateEngine.php.
Quote:
I am making the assumption ( I know that is bad) that it is done with database lookups.
That sounds like a perfectly valid assumption to me. :)
Quote:
It would seem that we could change the lookups or add additional lookups to accomplish this.
Yeah, as I said, it's possible. It's just that such a change has wide-reaching implications that promise to make the job a real pain to complete satisfactorily.
Quote:
I am going to need this modified for our business. We have a team the will do it and we will submit our changes to the a2b team for consideration into the product.
Given your admirable intent may I suggest, if you do develop this, that you base your modifications on v1.4 (trunk) rather than v1.3, so they stand a better chance of being incorporated into the main tree.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 9:45 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
stavros wrote:
Modifying v1.3/v1.4 to work this way would be a major undertaking, and would likely introduce many bugs. I'm not aware of any effort to implement this.
The rate cards already function this way in v2.00. 8)
Don't hold your breath waiting for a release of v2.00 though.


Btw when is relaease 2.00 expected?

I can live with the current ratecard options, but would definitely upgrade to 2.0 once its released.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 9:56 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
mazhar996 wrote:
Btw when is relaease 2.00 expected?
I think Knuth once said something about the finest software being released only when it's ready.
It's not ready yet. :wink:


Top
 Profile  
 
 Post subject: Rating
PostPosted: Tue Mar 25, 2008 1:35 am 
Offline

Joined: Mon Feb 04, 2008 4:30 pm
Posts: 10
We will do it on the 1.4 platform.

I am also having the reseller module made as well. This should not be that difficult either. We have an idea of adding some fields to a couple of tables and using the existing admin module and just locking each admin down to a specific set of accounts.

We will submit it all to the team for inclusion in future versions.


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group