Giter Site home page Giter Site logo

saltyfacu / fbilling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alkali147/fbilling

0.0 0.0 0.0 576 KB

Accounting and billing Application for FreePBX

License: BSD 2-Clause "Simplified" License

CSS 0.17% JavaScript 3.40% PHP 72.52% Perl 22.13% Shell 1.78%

fbilling's Introduction

fbilling

FBilling is application mainly designed to work as a FreePBX module, and its main purpose is to bill, account and limit FreePBX extensions' outbound calls. Although called FBilling, its not billing application per se (yet), as it does not support payments, pre- or postpaid accounts and or many other features one can expect in traditional billing software. Yet it can be viewed as call accounting application which will provide more or less detailed statistics on outbound calls made by FreePBX extensions, assign different calling permissions and limit total duraton or cost of outgoing calls per extension. The main design idea behind FBilling was to develop billing/accounting application tightly integrated with FreePBX, and solely rely on FreePBX admininistration interface for management, rather than provide different user interface. Simply put, if FBilling is installed and properly configured, when one creates extension in FreePBX, relevant data is generated and inserted into FBilling database, so there is no need to login to different user interface, create separate billing accounts, and then assign FreePBX extensin to billing's account, all the necessary configuration is right there. Needless to say, FBilling is not as nearly as featurefull as other billing/accounting solutions out there, but someday, it might be... it might be.

Installation

  • Download Fbilling and place it under /var/www/html/admin/modules directory;
  • From Module Admin in FreePBX Admin menu, select and install FBilling;
  • Install required perl modules - FBilling requires Asterisk::AGI, DBI and Config::Tiny modules to function properly. Install those modules via cpan or distributions package management system;
  • Create database user for fbilling and edit fbillings configuration file /etc/asterisk/fbilling.conf;
  • Add necessary contexts to dialplan
[macro-dialout-trunk-predial-hook]
exten => s,1,Set(__FBILLINGUSER=${AMPUSER})

and

[fbilling]
exten => _X.,1,Answer
exten => _X.,n,NoCDR
exten => _X.,n,AGI(fbilling.agi,${FBILLINGUSER})
exten => _X.,n,Hangup
  • Add custom trunk to route extensions' calls to FBilling;
  • Configure FBilling.

fbilling's People

Contributors

alkali147 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.