CLI License Commands
There are a few CLI commands we can do to license a PBX. They are as follows. These scripts are run from /var/www/html/admin/modules/sysadmin/bin/
Register a new system passing email
register_new --email=name@example.com
Replace name@example.com with the real e-mail address.
This will create a new deployment against the e-mail address. If there is already a potential match, it will alert you.
Optional: --force param
This will create new deployment EVEN IF the machine already has one.
Update a License on a registered PBX
update
This will update the license.
Activate a Deployment ID on a PBX
activate_existing 123456789
Replace the "123456789" with correct Deployment ID for your system.
This will activate the deployment.