Page tree

This script allows you to change account (service providers, organizations or users) permissions, limits, and phone numbers.

Usage


/usr/local/voipnow/bin/accountprefs.sh --update[options]
where the [options] available are:


ArgumentParameterDescription
--organizations_mngtrue|falseManages organizations.
--organization_perm_mngtrue|falseManages organization or user permissions.
--extensions_mngtrue|falseExtension management.
--bill_plans_mngtrue|falseCharging plan management.
--ext_feat_mngtrue|falseExtension feature management.
--sounds_mngtrue|falseSound management.
--phone_sip_mngtrue|falsePhone extension SIP management.
--see_stacked_mngtrue|falseSee stacked phone numbers.
--strunk_mngtrue|falsePhone SIP trunking management
--callapi_managtrue|falseManage CallAPI.
--callerid_managtrue|falseManage CallerID.
--public_phone_mngtrue|falsePhone numbers management.
--prov_managnone|view|modifyProvisioning management.
--allow_see_extensionstrue|falseAllow the account to view all the extensions for a client. Extension level only.
--multi_usertrue|falseUser is multi-user aware. User level only.
--organizations_cntnumber|unlimitedMaximum number of organizations. Service provider level only.
--users_cntnumber|unlimitedMaximum number of users. Service provider and organization levels.
--terminal_cntnumber|unlimitedMaximum number of phone extensions. Service provider, organization, and user levels.
--queuemember_cntnumber|unlimitedMaximum number of queue members. Service provider, organization, and user levels.
--queue_cntnumber|unlimitedMaximum number of Queue extensions. Service provider, organization, and user levels.
--ivr_cntnumber|unlimitedMaximum number of IVR extensions. Service provider, organization, and user levels.
--conference_cntnumber|unlimitedMaximum number of Conference extensions. Service provider, organization, and user levels.
--callback_cntnumber|unlimitedMaximum number of Callback extensions. Service provider, organization, and user levels.
--callcard_cntnumber|unlimitedMaximum number of Calling Card extensions. Service provider, organization, and user levels.
--callerid_cntnumber|unlimitedMaximum number of callback CallerIDs. Service provider, organization, and user levels.
--callcardcode_cntnumber|unlimitedMaximum number of calling card codes. Service provider, organization, and user levels.
--intercom_cntnumber|unlimitedMaximum number of Intercom/paging extensions. Service provider, organization, and user levels.
--voicecenter_cntnumber|unlimitedMaximum number of Voicemail Center extensions. Service provider, organization, and user levels.
--queuecenter_cntnumber|unlimitedMaximum number of Queue Login Center extensions. Service provider, organization, and user levels.
--mailboxes_cntnumber|unlimitedMaximum number of mailboxes. Service provider, organization, and user levels.
--storage_sizenumber|unlimitedMaximum disk size available for files (in MB). All levels.
--voice_sizenumber|unlimitedMaximum disk size available for voicemail (in MB). Service provider, organization, and user levels.
--record_sizenumber|unlimitedMaximum disk size available for call recording (in MB). Service provider, organization, and user levels.
--max_concurentnumber|unlimitedMaximum number of public concurrent calls. Service provider, organization, and user levels.
--max_intconcurentnumber|unlimitedMaximum number of internal concurrent calls. Service provider, organization, and user levels.
--text2speech_cntnumber|unlimitedMaximum number of concurrent text to speech. Service provider, organization, and user levels.
--expiredate(YYYY-MM-DD)|unlimitedDate of account expiration. Service provider, organization, and user levels.
--channelsnumber,number, ... | noneAssigned public phone numbers. Service provider, organization, and user levels.
--organization_typebusiness|residentialType of organization. Organization level only.

Examples

Enable Service Provider Child Accounts Management

The example below enables Organizations management as well as Extensions and Users management for the service provider account.

/usr/local/voipnow/bin/accountprefs.sh --update newserviceprovider --organizations_mng true --extensions_mng true

Set 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.

/usr/local/voipnow/bin/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 --allow_see_extensions true --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 --voice_size 1200 --record_size unlimited --storage_size 20--max_concurent 1000 --max_intconcurent 1200 --expire unlimited

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.