Tag

licence

how to update asterCC license for your asterisk

By | asterBilling, asterCRM | 12 Comments

By default, astercc providers you 5 free simultaneous channels license, you can purchase more if need.

First, edit /opt/asterisk/scripts/astercc/astercc.conf which is in same folder with astercc daemons, go to section [licence], you can find three parameters there

[licence]
licenceto =
key =     (no this parameter in current version now)
channel = 5

change “channel” to the number of simultaneous channels you need, and “licence to” to the name of your organization, so now it looks like

[licence]
licenceto = my organization
key =
channel = 50

save and exit,  then execute astercc script, you should get things like

[dev01 astercc]# /opt/asterisk/scripts/astercc/astercc
Invalid key, please contact the administrator
identity = b0a5ebca13556ca9ca91813dd88dfgd9

now send this identitykey and all content in licence section (licenceto and channel) to astercc, we’ll send you back the licence key, then update your astercc.conf with the licence key, restart astercc & asterrc daemons. If no error message output, your astercc support more simultaneous channels now.

for the latest version, we start to use a license file named ‘license.astercc'(64 bits), so after u get the license file, upload it to the same folder with your astercc daemons, usually it’s in

/opt/asterisk/scripts/astercc/

then restart astercc daemons

/opt/asterisk/scripts/astercc/asterccd stop

/opt/asterisk/scripts/astercc/asterccd start

if everything is fine, it should give no errors, then the channels now in astercc is the value you put after channel =  in /opt/asterisk/scripts/astercc/astercc.conf

and use this command you can check if the license will expire some day

/opt/asterisk/scripts/astercc/astercc -h

0000-00-00 means never expire

and astercrm and asterbilling will share same license file, which means when you get the license, you can either use it for astercrm or asterbilling or both.

good luck!