Add directed_pickup field
Previously shown but not updated
This commit is contained in:
parent
b659f55170
commit
48a2793886
|
@ -1,7 +1,7 @@
|
||||||
<module>
|
<module>
|
||||||
<rawname>sccp_manager</rawname>
|
<rawname>sccp_manager</rawname>
|
||||||
<name>SCCP Manager</name>
|
<name>SCCP Manager</name>
|
||||||
<version>14.3.0.0</version>
|
<version>14.3.0.1</version>
|
||||||
<type>setup</type>
|
<type>setup</type>
|
||||||
<category>SCCP Connectivity</category>
|
<category>SCCP Connectivity</category>
|
||||||
<publisher>Steve Lad, Alex GP</publisher>
|
<publisher>Steve Lad, Alex GP</publisher>
|
||||||
|
|
|
@ -44,8 +44,10 @@ class Sccp extends \FreePBX\modules\Core\Driver {
|
||||||
"musicclass" => 'musicclass', "allow" => 'allow',"disallow" => 'disallow',
|
"musicclass" => 'musicclass', "allow" => 'allow',"disallow" => 'disallow',
|
||||||
"videomode" => 'videomode', 'pickup_modeanswer' => 'pickup_modeanswer',
|
"videomode" => 'videomode', 'pickup_modeanswer' => 'pickup_modeanswer',
|
||||||
"dnd" => 'dnd', "silencesuppression" => 'silencesuppression',
|
"dnd" => 'dnd', "silencesuppression" => 'silencesuppression',
|
||||||
"secondary_dialtone_digits" => 'secondary_dialtone_digits', "secondary_dialtone_tone" => 'secondary_dialtone_tone',
|
"secondary_dialtone_digits" => 'secondary_dialtone_digits',
|
||||||
'namedcallgroup'=>'namedcallgroup', 'namedpickupgroup' => 'namedpickupgroup'
|
"secondary_dialtone_tone" => 'secondary_dialtone_tone',
|
||||||
|
'namedcallgroup'=>'namedcallgroup', 'namedpickupgroup' => 'namedpickupgroup',
|
||||||
|
'directed_pickup' => 'directed_pickup'
|
||||||
);
|
);
|
||||||
// These are gui defaults used by freePBX for the elements in the SCCP tab in add/edit phone.
|
// These are gui defaults used by freePBX for the elements in the SCCP tab in add/edit phone.
|
||||||
private $guiDefaults =array(
|
private $guiDefaults =array(
|
||||||
|
@ -109,6 +111,7 @@ class Sccp extends \FreePBX\modules\Core\Driver {
|
||||||
|
|
||||||
public function addDevice($id, $settings) {
|
public function addDevice($id, $settings) {
|
||||||
// This is actually save line and is used by add and edit.
|
// This is actually save line and is used by add and edit.
|
||||||
|
dbug($settings);
|
||||||
$add_fld = array ("name"=>'label',"outboundcid"=>'cid_num',"langcode"=>'language',"extdisplay"=>'description','devinfo_mailbox'=>'mailbox');
|
$add_fld = array ("name"=>'label',"outboundcid"=>'cid_num',"langcode"=>'language',"extdisplay"=>'description','devinfo_mailbox'=>'mailbox');
|
||||||
$settings['cid_num']['value'] = '';
|
$settings['cid_num']['value'] = '';
|
||||||
$settings['cid_name']['value'] = '';
|
$settings['cid_name']['value'] = '';
|
||||||
|
|
Loading…
Reference in a new issue