Skip to main content

Account Codes Setup

Account Codes settings are managed at the account level. Once it's enabled on the account and the default settings are configured, you can choose whether to enable Account Codes for all (current) SIP trunks, after which it can be enabled or disabled for individual trunks as needed.

Enable Account Codes on Account

The following steps are only required the very first time Account Codes is enabled on an account:

  1. Go to the Account Codes page.

  2. Fill out the following fields:

    • Account code length: Specify the number of digits (3–7) that will be required for all codes on this account. This setting cannot be changed later, so choose a length that will meet the account's needs in the long term.

    • Max retries to validate code: Specify how many times (1–9) a user can enter an incorrect account code. The industry average is 3–5 attempts.

  3. Click [Save]. The page is refreshed, and Account Codes can now be configured on the account.

Account_Codes_Account_Settings.png

Account Settings

Once Account Codes is enabled on an account, the account-level settings must be configured before enabling it on SIP trunks. These settings are applied to all users who have account codes enabled, except those with custom settings.

Account Codes work differently depending on the settings. For details about how to configure your settings for different use cases, see ???.

  1. Go to Account > Account Codes.

  2. Under Account Codes Settings, switch on Allow account codes. Once these settings are saved (see step 6), Account Codes can be

  3. Settings. Choose which settings to enable (optional). To see how each of these settings changes the flow of a call, see Account Codes Settings.

    • Require account codes for internal calls. If enabled, users are prompted to dial an account code on every outbound call to other users on the account. If disabled, the user can dial a star code + account code during a call if they want to tag it.

    • Validate account codes when dialed. If enabled, the account code is validated against codes on the account. If disabled, the user can dial any number as an account code, as long as it’s the right length. At least one account code must be added before enabling this option.

    • Allow call to proceed after max retries. If account codes are validated and the user enters multiple invalid codes, this setting determines whether the call will proceed as intended or end once the user reaches the max retry limit. This setting can only be customized at the user level if it's enabled at the account level first.

  4. Calls requiring account codes. Choose which specific call types require an account code. These settings are typically used to ensure that only authorized personnel are able to place certain types of calls that may incur additional charges.

    To prevent users from placing these call types without a valid code, ensure "Validate account codes when dialed" (above) is enabled. Otherwise, the call will go through even if the number dialed doesn't match a code on the account.

    • International. Require a code to authorize calls to country codes that are different than the caller's. Since the US and Canada have the same country code, they're considered local.

    • Directory assistance. Require a code to authorize calls to directory assistance (411) and operator assistance (0).

    • Premium toll. Require a code to authorize calls to 1-900 numbers.

    Important

    If one or more call types are enabled, only those call types require an account code. However, if no call types are enabled, all calls require an account code.

  5. Click [Save].

    Account_Codes_Default.png
  6. Save Account Codes. A pop-up will appear stating that these settings will be applied to all trunks that have account codes enabled, except those with custom settings, and ask if you want to enable this feature for all users who don't have it yet.

    • Yes: Account Codes will be enabled for all existing SIP trunks that don't have it yet. If Account Codes had been intentionally disabled for any SIP trunks, it will have to be disabled for them again.

    • No: Account Codes will not be enabled for SIP trunks that don't have it yet. Choose this option if you want to enable it manually for individual trunks, rather than enabling it for all of them at once.

  7. Click [Save] to apply the settings.

    22272678972823-mceclip2.png

Enable Account Codes on SIP Trunk

The default settings configured at the account level apply to all SIP trunks that have Account Codes enabled. When Account Codes is enabled, callers are prompted to dial a code on every outbound call. Whether or not the code must be valid (preconfigured on the account) depends on the account's settings. See How to Use Account Codes for details.

When Account Codes is enabled for the account, it can automatically be enabled for all existing SIP trunks. However, it is not automatically enabled for new trunks, so it must be enabled manually for those that need it.

  1. Go to the SIP Trunks page and select the trunk you want to customize.

  2. Scroll down to Account Codes.

  3. Check Enable account codes to turn it on. Once saved, callers will be prompted to dial an account code on every outbound call placed from the trunk.

    Account_Codes_SIP_Trunk_Enable.png
  4. Click [Save]. Account Codes is now enabled with the account settings.

Disable Account Codes

To disable Account Codes on a SIP trunk, uncheck "Enable account codes". To disable the feature for the account (and all trunks), see Disable Account Codes.