MikoPBX development
  • MikoPBX development guide
  • Prepare IDE and system tools
    • Windows
    • Linux
    • Mac
  • Modules developement
    • How to start
    • Data model
    • Module installer class
    • Module main class
    • Module interface
    • Translations(empty)
    • Debuging
      • Configuring IDE
      • Debug PHP-AGI
      • Debug PHP Worker
      • Debug PHP Script
      • Debugging behind NAT
  • Internal structure
  • Admin interface(empty)
  • API
    • REST API
    • AMI / AJAM
    • AGI
  • Core(empty)
  • Marketplace
    • Licensing (empty)
  • Cookbook
    • Forms
      • Create module form
      • Create datatable
      • Add field into existing form
    • Asterisk
      • Hook on incoming call
      • Interact with AMI
      • Modify extensions.conf
    • Rights and auth
      • External authentication
      • Limited rights
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Modules developement
  2. Debuging

Debug PHP Worker

At the beginning of work, several key workers are launched on the PBX:

  • WorkerApiCommands - Service for processing REST API requests

  • WorkerCallEvents - Service for recording raw CDR data

  • WorkerCdr - Service for recording the final CDR data

  • WorkerModelsEvents - Service for processing changes in PBX settings.

  • WorkerNotifyByEmail - Email notification service.

To simplify debugging of these php services, the command has been added:

pbx-console debug WorkerCdr 192.168.0.12
  • WorkerCdr - service name

  • 192.168.0.12 - IP address of the PC from which debugging is performed. PHP Storm should be running on the PC

PreviousDebug PHP-AGINextDebug PHP Script

Last updated 3 years ago

Was this helpful?