-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
Hello everyone, I have this one below when accessing the qpanel menu through Issabel
If I access through HTTP I have access
My settings are like this:
config.ini
[manager]
user = qpanel
password = pass
port = 5038
host = localhost
[general]
debug = False
port = 5000
host = 0.0.0.0
;Interval for request update in seconds
interval = 5
; Hide queue on monitor separate by comma.
; Example config hide=queue1,queue2
;hide =
; Add queue what you required to show.
; Example show=queue1,otherqueuename.
;show =
;This option override the hide parameter
;base_url = /qpanel
; Default is /
; is a good idea change this value
;secret_key = 'PLEASE_CHANGE_ME'
language = en
check_upgrade = True
; Use FreeSWITCH as backend. Use mod_callcenter
;freeswitch = True
; Show information of service level of a queue
show_service_level = False
; Theme setting available to set the design how is showing Qpanel
; Available configuration
;'old', 'qpanel'.
; The old theme is deprecated from 0.16.0 and not keep maintained anymore.
; In the future will be removed by completely.
;theme = qpanel
; external script to return json array for queue enables
;external_login = http://localhost/resources/qpanel.php
[rename]
; This section if for rename name of queue
; Example:
;5000 = support. This rename queue "5000" by "support"
[users]
; add user and password
; example
;username = YmZiOGFiYmNlMzBkZmU1MDA4NzkzYTMy
;; Give access to the specific queue for a determined user
;; The name to use for the queue consider the rename name
[user_queues]
;rodrigo = support, commercial
;; Config for Freeswitch
;[freeswitch]
;host = 127.0.0.1
;port = 8021
;password = ClueCon
;; Reset stats
;; namequeue = when,hour
;; when can by daily, weekly, monthly, sun, mon, tue, wed, thu, fri or sat
[reset_stats]
;queuename = daily,00:00:00
; Configuration for queue_log database for the adapter setting
; need extra other dependencies if you use
; MySQL or PostreSQL
;
; MySQL
; =====
;
; pip install -r requirements/dbs/mysql.txt
; https://pypi.org/project/mysqlclient/
;
; For to build the mysqlclient you need the have installed before
; in the system the dependencies for MySQL Client Devel.
;
; Debian / Ubuntu
; sudo apt-get install python-dev default-libmysqlclient-dev
;
; Red Hat / CentOS
; sudo yum install python-devel mysql-devel
;
;
; PostgreSQL
; ==========
; pip install -r requirements/dbs/postgresql.txt
;
;[queue_log]
;database = asterisk
;table = queue_log
;host = localhost
;user = user
;password = changeme
;port = 5432
;adapter = postgresApache config:
(qenv) [root@issabel qpanel]# cat /etc/httpd/conf.d/qpanel.conf
<VirtualHost *:80>
# You'll need use a virtual enviroment
# The configuration should be
# WSGIDaemonProcess app user=www-data group=www-data threads=5 python-home=/var/www/qpanel/qenv
# Read about this in https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html
WSGIDaemonProcess app user=apache group=apache threads=1 python-home=/var/www/qpanel/qenv
WSGIScriptAlias /qpanel /var/www/qpanel/start.wsgi
<Directory /var/www/qpanel>
WSGIProcessGroup app
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
<Location /qpanel/static>
SetHandler none
</Location>
Alias /qpanel/static /var/www/qpanel/qpanel/static/
ErrorLog /var/log/httpd/error.log
LogLevel warn
CustomLog /var/log/httpd/access.log combined
</VirtualHost>Menu.xml
[root@issabel qpanel]# cat /usr/share/issabel/module_installer/issabel-qpanel-1.1.1-1/menu.xml
<?xml version="1.0" encoding="UTF-8"?>
<module>
<menulist>
<menuitem menuid="qpanel" desc="QPanel" parent="pbxconfig" module="yes" link="/qpanel">
<permissions>
<group id="1" name="administrator" desc="total access"></group>
</permissions>
</menuitem>
</menulist>
</module>
Any ideas why it's not loading on issabel?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

