How inextrix/astpp works
ASTPP is a FreeSWITCH-focused VoIP billing platform. Its visible call workflow accepts FreeSWITCH CDR JSON, loads configuration and logging support, processes call data into billing records, and updates balances through the database layer. The README also identifies account/reseller management, routing, rates, DIDs, invoicing, payments, and reporting as product capabilities. Many web modules are listed but not sampled, so those branches are represented without inferred call relationships.
Main entry points: cdr.php CDR ingress · index.php Switch API · astpp.db.php Database access · astpp.cdr.php CDR rating
Components 21
Call processing
- CDR ingress
freeswitch/fs/cdr.php - CDR rating
freeswitch/fs/lib/astpp.cdr.php - Database access
freeswitch/fs/lib/astpp.db.php - Configuration loader
freeswitch/fs/lib/astpp.lib.php - Call logger
freeswitch/fs/lib/astpp.logger.php
Switch integration
- Switch API
freeswitch/fs/index.php - Switch XML
freeswitch/fs/lib/astpp.xml.php - Directory script
freeswitch/fs/scripts/astpp.directory.php - Nibble billing
freeswitch/mod/mod_nibblebill.c
Billing web app
- Billing common
web_interface/astpp/application/libraries/astpp/common.php - Accounts and resellers
web_interface/astpp/application/modules/accounts/controllers/accounts.php - Rate management
web_interface/astpp/application/modules/rates/controllers/rates.php - Invoicing
web_interface/astpp/application/modules/invoices/controllers/invoices.php - Reporting
web_interface/astpp/application/modules/reports/libraries/reports_form.php - SIP routing
web_interface/astpp/addons/Community/siprouting/web_interface/astpp/application/modules/siprouting/controllers/siprouting.php - DID management
web_interface/astpp/addons/Community/api/web_interface/astpp/application/controllers/admin/did_admin.php - Customer API
web_interface/astpp/addons/Community/api/web_interface/astpp/application/libraries/API_Controller.php - PDF generation
web_interface/astpp/application/libraries/html2pdf/html2pdf.php
Web runtime
- Web entry point
web_interface/astpp/index.php - Framework bootstrap
web_interface/astpp/system/core/CodeIgniter.php
Other components
- FreeSWITCH
Connections 11
- FreeSWITCH → CDR ingress: sends CDR
- CDR ingress → CDR rating: processes calls
freeswitch/fs/cdr.php - CDR ingress → Database access: queries
freeswitch/fs/cdr.php - CDR ingress → Configuration loader: loads settings
freeswitch/fs/cdr.php - CDR ingress → Call logger: logs events
freeswitch/fs/cdr.php - CDR rating → Database access: writes billing data
freeswitch/fs/lib/astpp.cdr.php - Switch API → Switch XML: includes
freeswitch/fs/index.php - Switch API → Database access: initializes
freeswitch/fs/index.php - Switch API → Call logger: initializes
freeswitch/fs/index.php - Switch API → Configuration loader: loads settings
freeswitch/fs/index.php - Web entry point → Framework bootstrap: bootstraps
web_interface/astpp/index.php