Applies to VoipNow 3 and higher!
When a VoipNow administrator wants to deploy in rapid manner a large number of extensions or even organizations , it is much faster to use the CLI scripts described below than the web interface.
This knowledge base article describes the steps you have to follow when using CLI, while also providing an use case for a better understanding of the process.
In order to create a user from the command line interface, you need to use two scripts located in the
account.sh- It creates the Service Provider, Organization, User accounts.
accountprefs.sh- It sets up various settings without which the entities created with
account.shwould be limited in use.
extension.sh- It creates the extensions.
While you can create Service providers, Organizations, Users and extensions of various kinds, at the moment you cannot set up a charging plan using the existing CLI scripts.
For more information on these scripts, please check the VoipNow Command Line Interface guide.
To get help from any of them, run the following command with the
To create a
Phone terminal extension run:
In order to create a
Queue extension run:
The above examples creates one extension at a time. In order to create multiple extensions, just reuse the scripts above and iterate over the name and number of the created entities.
To easily manage the created extensions, just make use of the numbering conventions:
- 001-099 for
- 101-150 for
- 151-199 for
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.