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
...
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
...