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.

CLI utilities

In order to create a user from the command line interface, you need to use two scripts located in the /usr/local/voipnow/bin folder:

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 -h option:

/usr/local/voipnow/bin/ -h

To create a Phone terminal extension run:

 /usr/local/voipnow/bin/ -c 099 --parent_login test --type term --label "Extension099" --auto

In order to create a Queue extension run:

/usr/local/voipnow/bin/ -c 098 --parent_login test --type queue --label "QueueExt" --auto

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:

Related articles