CDRCost (a.k.a Call Cost)

This downloadable FreePBX plug-in allows you to setup the Call Cost parameters, categorizing each call and assessing a cost for each. From this data you can generate call costs by create a new table called cdrcost in the asteriskcdrdb (which contains the cost and the used rate of each calls which is not 0). Afterwards you can generate many kinds of statistics from this (to see which extension, group etc. called which direction, and how much the cost was for you).

You can define the following parameters:

Zone Group

These are a collection of zones which are only used for grouping of Zones (for the UI). You can put each Zone into one Zone Group.
Parameters:

  • You can give a name for each Zone Groups.

Example of Zone Groups:

  • Local
  • Long Distance
  • Mobile
  • International, etc.

Zone

These are the definition of the Zones.
Parameters:

  • You can give a name for each Zone,
  • Assign it to the Zone Group to which it belongs (choose from the list),
  • Define which pattern is used for this Zone. This pattern is a regular expression which will be fitted on the destination number (i.e. Do not use the Asterisk style patterns NXZ!!!). Example:
    ^1888[0-9]{7}$

Schedule

A Schedule is a collection of Schedule Parts.
Parameters:

  • You can give a name for each Schedule.

A Schedule Part define an interval(s).
Parameters:

  • You can give a name for each Schedule Part.
  • Assign it to the Schedule which it belongs to,
  • Weekday of this Part 0-7 (both 0 and 7 means Sunday) or -1 in case it's applied for all days,
  • From which time valid (format is: 'hh:mm:ss'),
  • Until which time valid (format is: 'hh:mm:ss').

Rate

This defines the cost parameters from which the cost can be calculated.
Parameters:

  • You can give a name for each Rate.
  • The accountcode of the call when this rate can be applied,
  • From when this rate is valid (format is: 'yyyy-mm-dd hh:mm:ss'),
  • Until when this rate can be used (format is: 'yyyy-mm-dd hh:mm:ss'),
  • The outbound Trunk prefix of the call (eg. Zap),
  • Zone for this rate is valid,
  • Rate is the call cost per minutes,
  • Minimum duration which will be charged in seconds,
  • Block size of the call duration (step size) in seconds,
  • Cost of the established connection, connection fee,
  • Disconnection cost,
  • The schedule in which rate is valid.

Maintenance

In this tab you can run a few maintenance operations on the cdrcost table.

The latest release can be found at:

http://www.freepbx.org/trac/browser/contributed_modules/release


Comment viewing options

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

Call Cost

stevecohen's picture

Hi:

Where is the download for this software?

Thanks

Steve


Call Cost not work !

lamthenhan's picture

Hi !

I had install Call Cost module into freePBX 2.3.1. But this module not work fine (not record cdr display)
Anybody install this ? pls give me ideal about this ! step by step guide pls...


This is a third party

fskrotzki's picture

This is a third party unsupported module. take a look at the code in the module and see if you can contact the developer directly is your best bet.