Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script

Excerpt

This script allows you to create a new extension, update the extension's options, or remove an extension.

Table of Contents
maxLevel2

Usage

Shell
/usr/local/voipnow/bin/extension.sh[options]
where <command> is one of:

ArgumentParameterDescription
-h, --helpShows the help message.
-c, --createnumberCreates a new extension.
-u, --updatenumberUpdates an extension.
-r, --removeextendednumberRemoves an extension.

and available [options] are:

ArgumentParameterDescription
--auto<empty>Automatic password generation.
--passwordpasswordPassword used for logging in to the phone.
--parent_loginstringLogin name of the user that creates this extension (required for create and update operation).
--labelstringExtension label (default to number on extension creation).
--typestringExtension type (required for creation).
--extension_template_idnumberID of extension template.

Examples

Add New Extension

Shell
/usr/local/voipnow/bin/extension.sh --create 010 --parent_login newqueue --label "Queue Extension" --type "queue"

Update Extension

Shell
/usr/local/voipnow/bin/extension.sh --update 010 --label "First Queue"

Remove Extension

Shell
/usr/local/voipnow/bin/extension.sh --remove 0040*010

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