Begin resample Sccp_manager

fix in install table data 
    fix in driver insert fields
This commit is contained in:
PhantomVl 2017-10-25 12:52:48 +03:00
parent ff7aa27ed5
commit 90c97a4332
3 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ class Sccp extends \FreePBX\modules\Core\Driver {
switch ($key) { switch ($key) {
case 'secondary_dialtone_digits': case 'secondary_dialtone_digits':
case 'secondary_dialtone_tone': case 'secondary_dialtone_tone':
case 'incominglimit': // case 'incominglimit':
case 'dnd': case 'dnd':
$sql .= ', '.$key; $sql .= ', '.$key;
if (!empty($settings[$val]['value'])){ if (!empty($settings[$val]['value'])){

View file

@ -801,7 +801,7 @@ and open the template in the editor. Base Version before all crash :-)
</item> </item>
<item type="IS" id="8" seq="99"><name>directed_pickup</name> <label>Pickup/Gpickup</label> <item type="IS" id="8" seq="99"><name>directed_pickup</name> <label>Pickup/Gpickup</label>
<default>on</default> <default>on</default>
<option_hide class=".pickup_hide">no</option_hide> <option_hide class=".pickup_hide">off</option_hide>
<button value="on">On</button> <button value="on">On</button>
<button value="off">Off</button> <button value="off">Off</button>
<help>Enable Pickup function to direct pickup an extension. Default is On</help> <help>Enable Pickup function to direct pickup an extension. Default is On</help>
@ -810,9 +810,9 @@ and open the template in the editor. Base Version before all crash :-)
<name>conf_allow</name> <name>conf_allow</name>
<label>Conference</label> <label>Conference</label>
<default>on</default> <default>on</default>
<option_hide class=".conf_hide">no</option_hide> <option_hide class=".conf_hide">off</option_hide>
<button value="on">Yes</button> <button value="on">On</button>
<button value="off">No</button> <button value="off">Off</button>
<help>Allow the use of conference</help> <help>Allow the use of conference</help>
</item> </item>
</page_group> </page_group>

View file

@ -226,7 +226,7 @@ $db_config_v3 = array(
'audio_cos' => array('drop' => "yes"), 'audio_cos' => array('drop' => "yes"),
'video_tos' => array('drop' => "yes"), 'video_tos' => array('drop' => "yes"),
'video_cos' => array('drop' => "yes"), 'video_cos' => array('drop' => "yes"),
'incominglimit' =>array('def_modify' => "2"), 'incominglimit' =>array('create' => "INT(11) NOT NULL DEFAULT '6'", 'modify' =>'INT(11)', 'def_modify' => "6"),
'transfer' =>array('create' => "enum('on','off') NOT NULL default 'on'",'modify' => "enum('on','off')"), 'transfer' =>array('create' => "enum('on','off') NOT NULL default 'on'",'modify' => "enum('on','off')"),
'vmnum' =>array('def_modify' => "*97"), 'vmnum' =>array('def_modify' => "*97"),
'musicclass' =>array('def_modify' => "default"), 'musicclass' =>array('def_modify' => "default"),