Howto:License Summary: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<span style="color:red; font-weight: bold;">This solution is obsolete. Please use instead the [[Reference14r1:Concept App Service TechAssist|TechAssist App]].</span> | |||
==Summary== | ==Summary== | ||
Sometimes you want to have a detailed overview of PBX user licenses. | Sometimes you want to have a detailed overview of PBX user licenses. | ||
Line 29: | Line 31: | ||
* Edit index.php and add your custom configuration | * Edit index.php and add your custom configuration | ||
< | <syntaxhighlight lang="php"> | ||
$config = (object) array( | $config = (object) array( | ||
'master_pbx' => '172.16.80.233', | 'master_pbx' => '172.16.80.233', | ||
Line 35: | Line 37: | ||
'password' => 'ip811', | 'password' => 'ip811', | ||
); | ); | ||
</ | </syntaxhighlight> | ||
===Usage=== | ===Usage=== | ||
Line 43: | Line 45: | ||
* Check "unlicensed" licenses (takes a long time) | * Check "unlicensed" licenses (takes a long time) | ||
[[Image:Licsummary.png|frame]] | [[Image:Licsummary.png|frame|none]] | ||
===Troubleshooting=== | ===Troubleshooting=== | ||
Line 49: | Line 51: | ||
:Check IP/DNS in your configuration object | :Check IP/DNS in your configuration object | ||
*Error: Wrong user/pass for | *Error: Wrong user/pass for PBX | ||
:Fix Login information | :Fix Login information | ||
: Check if [[Reference10:Services/HTTP/Server | basic authentication]] is enabled | |||
===Known Problems=== | ===Known Problems=== | ||
== Download == | == Download == | ||
*[http:// | *[http://wiki.innovaphone.com/index.php?title=Howto:Wiki_Sources#licsummary Download] the complete file package of scripts and files described in this article. | ||
[[Category:Howto|{{PAGENAME}}]] | [[Category:Howto|{{PAGENAME}}]] | ||
[[Category:Sample|{{PAGENAME}}]] | [[Category:Sample|{{PAGENAME}}]] |
Latest revision as of 15:57, 24 October 2023
This solution is obsolete. Please use instead the TechAssist App.
Summary
Sometimes you want to have a detailed overview of PBX user licenses. In V12, the PBX only shows a global overview of available and used licenses. For an exact view, you have to look in the PBX object in the tab License. This PHP solution was initially included as a feature request in the innovaphone forum, and maintained by the community.
Thanks a lot for this. With the consent of all involved, we are now officially providing this solution.
Applies To
This information applies to
- innovapnone PBX running V12
- innovaphone Linux Application Platform V10
Requirements
- Linux Application Platform (or Webserver with PHP, XML and CURL)
- Same admin/pass combination on all PBXes
More Information
Installation
- Download all needed files
- Connect via SSH (putty) to your Linux Application Platform
- Create a new folder:
mkdir /var/www/innovaphone/licsummary
- Upload all files to the new folder (Use SCP to upload all files via SSH, otherwise you can upload it via webdav and move the files via SSH to the correct folder)
- Change file permissions:
chown www-data:www-data -R /var/www/innovaphone/licsummary
- Check access: http://x.x.x.x/licsummary
- Create a new folder:
Setup
- Edit index.php and add your custom configuration
$config = (object) array(
'master_pbx' => '172.16.80.233',
'username' => 'admin',
'password' => 'ip811',
);
Usage
By default, we show all users who have a license assigned. The following object types are hidden: Config template
- Show also users without licenses
- Check "unlicensed" licenses (takes a long time)
Troubleshooting
- Error: PBX not reachable
- Check IP/DNS in your configuration object
- Error: Wrong user/pass for PBX
- Fix Login information
- Check if basic authentication is enabled
Known Problems
Download
- Download the complete file package of scripts and files described in this article.