2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

VoIP status is now part of VoIP monitoring so we don't query the Asterisk server often

Uses the "Register" and "Unregister" options of Asterisk to get extension status
Stores voip_status in operator table
This commit is contained in:
azammitdcarf
2010-07-30 03:18:14 +00:00
parent 864ba7968d
commit 3bbb234896
5 changed files with 89 additions and 15 deletions

View File

@@ -306,6 +306,7 @@ CREATE TABLE `operator` (
`Time_zone_name` char(64) NOT NULL,
`enabled` tinyint(1) NOT NULL default '1',
`voip` tinyint(1) NOT NULL default '1',
`voip_status` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`operator_id`),
UNIQUE KEY `username` (`username`),
UNIQUE KEY `extension` (`extension`)