feature: Added app_state support for applications #5068 (#6061)

* feature: Added app_state support for applications #5068

* moved schema file 173 -> 174

* Re-arrange code

* added device_id to dbUpdate call

* updated function + missing apps

* Rename 174.sql to 176.sql

* Remove $device, it is unneeded when updating.  Rename update_applications() -> update_application()

* Some apps can return simply 0
This commit is contained in:
Neil Lathwood
2017-03-11 14:39:32 +00:00
committed by Tony Murray
parent af752afb18
commit 66d1006d91
37 changed files with 73 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ $name = 'freeswitch';
$app_id = $app['app_id'];
if (!empty($agent_data[$name])) {
$rawdata = $agent_data[$name];
update_application($app, $rawdata);
} else {
echo "Freeswitch Missing";
return;