accountprefs.sh
This script allows you to change account (service providers, organizations or users) permissions, limits, and phone numbers.
Usage
bash
accountprefs.sh --update <login_name> [options]To see all available parameters, you can run:
bash
accountprefs.sh --helpExamples
Enable Service Provider Child Accounts Management
The example below enables Organizations management as well as Extensions and Users management for the service provider account.
bash
accountprefs.sh --update newserviceprovider \
--organizations_mng true \
--extensions_mng trueSet Service Provider Permissions and Limits
The example below enables all of the service provider's permissions and sets all its limits to the 100 value.
bash
accountprefs.sh --update newserviceprovider \
--organizations_mng true \
--organization_perm_mng true \
--extensions_mng true \
--bill_plans_mng true \
--ext_feat_mng true \
--sounds_mng true \
--phone_sip_mng true \
--see_stacked_mng true \
--strunk_mng true \
--callapi_manag true \
--callerid_manag true \
--public_phone_mng true \
--prov_manag none \
--organizations_cnt 100 \
--users_cnt 100 \
--terminal_cnt 100 \
--queuemember_cnt 100 \
--queue_cnt 100 \
--ivr_cnt 100 \
--conference_cnt 100 \
--callback_cnt 100 \
--callcard_cnt 100 \
--callerid_cnt 100 \
--callcardcode_cnt 100 \
--intercom_cnt 100 \
--voicecenter_cnt 100 \
--queuecenter_cnt 100 \
--mailboxes_cnt 100 \
--storage_size 20 \
--max_concurent 1000 \
--max_intconcurent 1200 \
--expire unlimitedOnce the changes are applied, the CLI will display the following message: 'Action successful'.