diff options
Diffstat (limited to 'lib/client/kolab_client_task_user.php')
-rw-r--r-- | lib/client/kolab_client_task_user.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/client/kolab_client_task_user.php b/lib/client/kolab_client_task_user.php index 5287006..2e81b65 100644 --- a/lib/client/kolab_client_task_user.php +++ b/lib/client/kolab_client_task_user.php @@ -197,6 +197,7 @@ class kolab_client_task_user extends kolab_client_task 'contact_info' => 'user.contact_info', 'system' => 'user.system', 'config' => 'user.config', + 'asterisk' => 'user.asterisk', 'other' => 'user.other', ); @@ -257,11 +258,28 @@ class kolab_client_task_user extends kolab_client_task 'kolabdelegate' => 'config', 'kolaballowsmtprecipient' => 'config', 'kolaballowsmtpsender' => 'config', + + /* Asterisk Settings */ + 'astaccountallowedcodec' => 'asterisk', + 'astaccountcallerid' => 'asterisk', + 'astaccountcontext' => 'asterisk', + 'astaccountdeny' => 'asterisk', + 'astaccounthost' => 'asterisk', + 'astaccountnat' => 'asterisk', + 'astaccountname' => 'asterisk', + 'astaccountqualify' => 'asterisk', + 'astaccountrealmedpassword' => 'asterisk', + 'astaccountsecret' => 'asterisk', + 'astaccounttype' => 'asterisk', + 'astcontext' => 'asterisk', + 'astextension' => 'asterisk', ); // Prepare fields list($fields, $types, $type) = $this->form_prepare('user', $data, array('userpassword2')); + //console("Result from form_prepare", $fields, $types, $type); + $add_mode = empty($data['id']); $accttypes = array(); |