Trixbox call costing module.

wimpie_asg
Posts: 57
Member Since:
2009-05-02

I am looking for a call costing module, nothing fancy at all. Something that can tell me how much (in money) a call was at the end of each call. For example, you can add a field to the CDR data base to reflect the pin codes that was used when a person made the call. This is quite useful when people are using other people’s phones, and then they still have to use their own pin code. This pin code would reflect at the end of each call, and I would know who made the call.

Question is, is it possible to add a money value behind each call after it is done. Now I know the question is, where would Trixbox get the values from to work out the cost per call. Well, maybe if you could add a money value to each area code, that gets multiplied either by per second or per minute, depending on the call duration, and the result gets added after each call in CDR?

(Area code per minute money value) x (time spent on a phone call) = total money value of phone call

I mean, Trixbox is good in giving us time spent on a phone call, why cant we just add call costing rates to our well know area codes, or cell phone codes, so that this value can be multiplied by the amount of time spent on the phone call it self? This is a very important feature too have, and it seems to be very high in demand. I don't know why this is not just built in to Trixbox by default, and why these " call costing modules" should this be so complicated and hard to find. I am not looking for a billing module that has 1000's of features, that I wont use, just something simple so I can add the per minute money value behind each area code, and Trixbox can multiply this money value with the amount of time spent on the phone call. The result will be added in CDR data base behind each call...

Please, let me know if this does exist somewhere, if it does not, why can’t the people who designed a whole PABX system not just add this feature in, I am sure they came across more complicated algorithms than that.

--

A route of many roads leading from nowhere to nothing.
--Ambrose Bierce



SkykingOH
Posts: 9681
Member Since:
2007-12-17
This is not a common

This is not a common request.

Rather than add this to the phone system I would use a database program on another computer (are you comfortable with MS Access maybe?) use SQL to access the CDR's and then apply your costing algorithm.

--

Scott

aka "Skyking"



wimpie_asg
Posts: 57
Member Since:
2009-05-02
Thanks for the Reply.

If I could use MS access, would this be a manual procedure every time?

I am comfortable with MS Access, and to make it run on a standalone computer I would have no problem with, all the phone systems of today has third-party call costing modules.

The only request I would have would be the following:

1) this procedure should happen live, as a call gets made, it should register in the MS access database. But if it can’t happen live, then at least on a scheduled basis.
2) the procedure needs to be automatic. "People don't like to get involved in the operations of anything technical"

As for the "This is not a common" all the PABX systems I know, Alcatel, Nortel, Avia has a call costing module, something to tell them how much a particular call costs. This is a big help for companies that want to make employees pay for their own personal phone call, as this is the biggest problem companies faces, is their monthly phone bill.

Like I said, I don't want a billing module; I just want a "money value" behind each call, telling me how much a particular call costs.

If you could point me in the right direction in how to do this in MS access, I would be over the moon!!!

--

A route of many roads leading from nowhere to nothing.
--Ambrose Bierce



SkykingOH
Posts: 9681
Member Since:
2007-12-17
Do you know how to use the

Do you know how to use the SQL connector in MS Aceess? Have you ever used the scripting language? All of your requirements can be met with an Access script.

I suggest you install the tbm-mysqladmin module and have a look at the CDR database structure to get familiar with the data.

There are also commercial call costing systems that can work with Asterisk CDR's.

--

Scott

aka "Skyking"



johnf
Posts: 51
Member Since:
2008-02-16
Simple Billing

I am surprised that there apparently isn't much call for this feature. As the guy who pays the phone bill on my POTS lines, I like to see who is calling where, and how much it is costing me. However my call volume does't justify a commercial solution, and I found that A2Billing is overly complicated.
wimpie, if you want to try the route suggested by Scott, there is a good writeup here:

http://www.kennonsoft.org/2006/11/aahtrixbox-cdr-billing-report-v...



wimpie_asg
Posts: 57
Member Since:
2009-05-02
johnf, Thank-You!

This will definitely help. I am implementing it in my LAB now, and will give feed back to this forum as soon as I am done. Sometimes someone just needs a push in the right direction, it is kind of difficult researching something if:

a) You don't know the solution exists.
b) If someone points you in the right direction, at least you can research it knowingly that it exists.

But coming back to what johnf said, company’s wants to know how much a particular call costs them. In this one example, I had an employee of a company that racked up a bill of (converting it to dollars) $250 to one particular number, because he had girlfriend issues. If this company did not have this particular phone system, with this particular call costing module, it would have been money the company would have had to pay. Now, if you have 50 employees, and only 25 follow his example, well, you do the maths.

Companies want to be in control of all their monthly costs and overheads. Giving them a system that can make them feel in control, will sell the system to them based on that feature alone. At first, I thought having pin codes on the phone system would have been enough, at least you know who made the particular call. But this "password" gets passed around, "sometimes I think that is where the word password got it's name from, from being passed around" it was not long after I implemented pin codes, that the cleaning people could not use the phones any more, or maybe the security staff. They simply asked their friends in the company that they want to phone home, and they simply give them their pin codes.

So with this all happening, people now want to charge their employees for their own personal phone calls. Giving every one pin codes, but keeping them accountable for racking up their own personal phone bills. I had a look at A2Billing a while back, and that is why I mentioned "having a call costing module without the 1000's of features"

I am surprised that Trixbox, who has been on the market for so long does not realise the need for this function. Trixbox is a great program; don't get me wrong, of all the open source products that is out there, Trixbox leads by far in my books. From experience, I just think Trixbox can be even better by saving the companies even more money, by giving them the power to retrieve some of the phone bill costs back from their employees. After all, it is the employees that make part of about 25% of the total company phone bill due to private calls. Is that not what VOIP's all about, saving people money?

Any way, I suppose while things are free we can't complain about basic PABX functionalities.

--

A route of many roads leading from nowhere to nothing.
--Ambrose Bierce



SkykingOH
Posts: 9681
Member Since:
2007-12-17
I think you fundamentally

I think you fundamentally don't understand what trixbox is. First of all it's trixbox with a lower case t, the histrionics is in the wiki.

trixbox is a collection, properly called a distribution of a large number of software packages. trixbox does not add features, they simply provide a unified interface. and configure all the packages to work together. Features are added in the respective packages downstream.

The only trixbox application currently being developed is the backup tool.

If you want a feature, go to the downstream project and request it. If it is that urgent pay someone to develop it for you and then contribute it back to the community.

That is how Open Source works.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.