Status monitoring
Status monitoring
Examples of requests
curl -s --digest -u <login>:<password> "<Asterisk IP>:8077/status"{
"app": {
"c2c": {
"connected": true,
"on": true,
"portal": "example.bitrix24.ru",
"stayon": false,
"url": "https://apix.itgrix.ru:9004"
},
"calls_queue": {
"calls": 0,
"lock": "locked in 384ns"
},
"calls_storage": {
"calls": 0
},
"crm": {
"host": "https://example.bitrix24.ru",
"manager": {
"batch_queue": 0,
"connector": {
"app_type": "LicenseType_Subscription",
"authseq": {
"err": "<nil>",
"sequences": 0
},
"on": true,
"portal": "example.bitrix24.ru"
},
"on": true
},
"on": true,
"users_cache": {
"last_updated": "2023-05-11 13:03:55.485 +05:00",
"phones": 39,
"users": 120
}
},
"crm_type": "bitrix",
"customizer": {
"enabled": true,
"methods": {
"customize_activity": true,
"customize_attach_record_url": true,
"customize_autodistribution": true,
"customize_entity": true,
"customize_show_call_card": true,
"need_registration": true,
"post_registration": true,
"process_client_phone": true,
"process_final_params": true,
"process_originate_params": true,
"process_record_file_path": true,
"process_registration_params": true,
"process_task_creation_params": true,
"process_user_phone": true
},
"path": "/opt/itgrix_bx/customizer/customize.php",
"timeout": 2000
},
"err": "<nil>",
"license_manager": {
"currentLicense": {
"offline": false,
"type": "Professional",
"valid_till": "2025-04-15"
},
"on": true,
"soft_mode": "ready"
},
"lock": "locked in 279ns",
"master": {
"general": {
"app_err": "<nil>",
"app_state": "",
"app_status": "Ok",
"app_status_updated": "2023-04-27 08:58:38.172 +05:00"
}
},
"originated": 0,
"pbx": {
"ami": {
"logged_in": true,
"on": true,
"pending_actions": 0
},
"cel_queue": {
"calls": 0,
"pending_events": 0
},
"db": {
"connected": true,
"dbConnector": {
"on": true
}
},
"fmc_cache": {
"last_refresh": "2023-05-11 13:03:55.485 +05:00",
"phones": 39
},
"last_id": 713065,
"on": true,
"parked": 0,
"sql_parser": {
"originated": 0,
"transfer_bridges": 0
},
"trunks": 2
},
"restarting": false,
"version": "Itgrix_bx v3.10.12"
},
"instance": {
"config": "/etc/itgrix_bx/config.json",
"index": 0,
"log": "/var/log/itgrix_bx.log",
"service": "itgrix_bx"
}
}Stop/restart status of the application
License change
Last updated