Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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

Usage

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

ArgumentParameterDescription
-h, --help Shows 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

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

Update Extension

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

Remove Extension

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

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels

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