Howto:License Summary: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
(New page: - '''This article is still under construction and will be available soon''' - ==Summary== Sometimes you want to have a detailed overview of PBX user licenses. In V12, the PBX only ...)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''This article is still under construction and will be available soon'''
-
==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.
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.
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 [http://class.innovaphone.com/moodle2/mod/forum/discuss.php?d=17316 innovaphone forum], and maintained by the community.  
This PHP solution was initially included as a feature request in the [http://class.innovaphone.com/moodle2/mod/forum/discuss.php?d=17316#p57381 innovaphone forum], and maintained by the community.  
{{FIXME|reason=switch link to final post if ready}}


Thanks a lot for this. With the consent of all involved, we are now officially providing this solution.
Thanks a lot for this. With the consent of all involved, we are now officially providing this solution.
Line 15: Line 10:


* innovapnone PBX running V12
* innovapnone PBX running V12
* innovaphone Linux Application Plattform V10
* innovaphone Linux Application Platform V10


===Requirements===
===Requirements===
* Linux Application Plattform (or Webserver with PHP, XML and CURL)
* Linux Application Platform (or Webserver with PHP, XML and CURL)
* Same admin/pass combination on alle PBXes
* Same admin/pass combination on all PBXes


==More Information==
==More Information==
Line 25: Line 20:
===Installation===
===Installation===
* [http://download.innovaphone.com/ice/wiki-src#licsummary Download] all needed files
* [http://download.innovaphone.com/ice/wiki-src#licsummary Download] all needed files
* Connect via SSH (putty) to your Linux Application Plattform
* Connect via SSH (putty) to your Linux Application Platform
*# Create a new folder: <code>mkdir /var/www/innovaphone/licsummary</code>
*# Create a new folder: <code>mkdir /var/www/innovaphone/licsummary</code>
*# Upload all files to the new folder (Use SCP to upload all files via SSH, otherwhise you can upload it via webdav and move the files via SSH to the correct folder)
*# 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: <code>chown www-data:www-data -R /var/www/innovaphone/licsummary</code>
*# Change file permissions: <code>chown www-data:www-data -R /var/www/innovaphone/licsummary</code>
*# Check access: http://x.x.x.x/licsummary
*# Check access: http://x.x.x.x/licsummary
Line 43: Line 38:


===Usage===
===Usage===
By default, we show all users who are assigned a license. The following object types are hidden: Config template
By default, we show all users who have a license assigned. The following object types are hidden: Config template


* Show also users without licenses  
* Show also users without licenses  
* Check "unlicensed" licenses (take long time)
* Check "unlicensed" licenses (takes a long time)


{{FIXME|reason=screenshot}}
[[Image:Licsummary.png|frame|none]]


===Troubleshooting===
===Troubleshooting===
*Error: PBX not reachable
*Error: PBX not reachable
:Check IP oder DNS in your configuration object
:Check IP/DNS in your configuration object


*Error: Wrong user/pass for Master PBX
*Error: Wrong user/pass for PBX
:Fix Login information
:Fix Login information
 
: Check if [[Reference10:Services/HTTP/Server | basic authentication]] is enabled
*Error: Wrong user/pass for Slave PBX (<pbx name>)
:Fix Login information for your Slave PBX


===Known Problems===
===Known Problems===

Revision as of 12:32, 19 December 2018

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
    1. Create a new folder: mkdir /var/www/innovaphone/licsummary
    2. 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)
    3. Change file permissions: chown www-data:www-data -R /var/www/innovaphone/licsummary
    4. Check access: http://x.x.x.x/licsummary

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)
Licsummary.png

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