How magnussolution/magnusbilling7 works
MagnusBilling 7 is a legacy Asterisk billing and telephony-management application. An operator or customer uses the ExtJS interface to sign in and manage telephony, accounts, campaigns, and reports; the Yii backend serves those operations against domain models and billing records, with Asterisk providing telephony control. The graph preserves the documented Yii, ExtJS, and Asterisk roles and major domain areas visible in the tree. Some feature directories are represented at directory level; unsampled implementation details and wiring are not asserted.
Main entry points: AuthenticationController.php Authentication · Call.php Call records · CallController.php Call operations · UserCreditManager.php Credit management
Components 23
Web interface
- ExtJS modules
classic/src/view - Main and login UI
classic/src/view/main - Data stores
app/store
Application backend
- Yii request framework
yii/framework/web/CController.php - Authentication
protected/controllers/AuthenticationController.php - Shared API controller
protected/components/BaseController.php - Access management
protected/components/AccessManager.php - User activity logs
protected/models/LogUsers.php - Module permissions
protected/models/Module.php - Email delivery
protected/components/Mail.php
Billing and telephony
- User accounts
protected/models/User.php - Campaigns
protected/models/Campaign.php - Call operations
protected/controllers/CallController.php - Call records
protected/models/Call.php - Telephony and billing models
protected/models - Credit management
protected/components/UserCreditManager.php - Service processing
protected/components/ServicesProcess.php
External systems
- Asterisk manager
resources/asterisk/AGI_AsteriskManager.Class.php - Asterisk PBX
- EFI API client
lib/efi/src/Efi/Request.php - EFI responses
lib/efi/src/Efi/Response.php - Application database
Other components
- Operator or customer
Connections 24
- Operator or customer → Main and login UI: uses
README.md - Main and login UI → ExtJS modules: presents modules
README.md - ExtJS modules → Data stores: loads data
- ExtJS modules → Yii request framework: sends requests
- Yii request framework → Authentication: routes requests
- Authentication → User accounts: reads account
protected/controllers/AuthenticationController.php - Authentication → Access management: checks access
protected/controllers/AuthenticationController.php - Authentication → Email delivery: sends mail
protected/controllers/AuthenticationController.php - Authentication → User activity logs: records activity
protected/controllers/AuthenticationController.php - Authentication → Module permissions: loads permissions
protected/controllers/AuthenticationController.php - Yii request framework → Shared API controller: extends controller
protected/components/BaseController.php - Shared API controller → Application database: queries records
- Call operations → Shared API controller: delegates CRUD
protected/controllers/CallController.php - Call operations → Call records: queries calls
protected/controllers/CallController.php - Call operations → Campaigns: uses campaign data
protected/controllers/CallController.php - Call records → User accounts: relates user
protected/models/Call.php - Call records → Campaigns: relates campaign
protected/models/Call.php - Call records → Telephony and billing models: relates telephony data
protected/models/Call.php - Credit management → User accounts: updates credit
protected/components/UserCreditManager.php - Credit management → Service processing: processes services
protected/components/UserCreditManager.php - Credit management → Email delivery: sends notices
protected/components/UserCreditManager.php - Access management → Telephony and billing models: checks SIP access
protected/components/AccessManager.php - Asterisk manager → Asterisk PBX: controls calls
README.md - EFI API client → EFI responses: returns response
lib/efi/src/Efi/Request.php