diff --git a/conf/Sccp.class.php.v433 b/conf/Sccp.class.php.v433 index 4acb386..947ff2a 100644 --- a/conf/Sccp.class.php.v433 +++ b/conf/Sccp.class.php.v433 @@ -30,6 +30,16 @@ class Sccp extends \FreePBX\modules\Core\Driver { "jsvalidation" => "", "failvalidationmsg" => "", "canbeempty" => true, "maxchars" => 0, "disable" => false, "inputgroup" => false, "class" => "", "cblabel" => 'Enable', "disabled_value" => 'DEFAULT', "check_enables" => 'true', "cbdisable" => false, "cbclass" => '') ); +/* + * Export Functions + * getInfo + * addDevice + * delDevice + * getDevice + * getDefaultDeviceSettings + * getDeviceDisplay + * + */ public function __construct($freepbx) { parent::__construct($freepbx); diff --git a/install.php b/install.php index e5cdf5e..c2b523d 100644 --- a/install.php +++ b/install.php @@ -305,6 +305,7 @@ function Get_DB_config($sccp_compatible) 'audio_cos' => array('drop' => "yes"), 'video_tos' => array('drop' => "yes"), 'video_cos' => array('drop' => "yes"), + 'videomode' => array('create' => "enum('user','auto','off') NULL default 'auto'", 'modify' => "enum('user','auto','off')"), 'incominglimit' => array('create' => "INT(11) DEFAULT '6'", 'modify' => 'INT(11)', 'def_modify' => "6"), 'transfer' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"), 'vmnum' => array('def_modify' => "*97"), @@ -350,6 +351,7 @@ function Get_DB_config($sccp_compatible) ), 'sccpline' => array( 'directed_pickup' => array('create' => "enum('on','off') NULL default NULL", 'modify' => "enum('on','off')"), + 'videomode' => array('create' => "enum('user','auto','off') NULL default 'auto'", 'modify' => "enum('user','auto','off')"), ), 'sccpuser' => array( 'id' => array('create' => "varchar(20) NOT NULL", 'modify' => "VARCHAR(20)" ),