Commit ec6c16ab authored by Etienne Allovon's avatar Etienne Allovon

Merge branch 'master' into 2019.05

parents 284c93b6 2923b563
......@@ -3,6 +3,12 @@ Xivo-solutions-doc
This is the documentation project of the XiVO Solutions. It is available at http://xivosolutions.readthedocs.io/.
Requirements
------------
* pip (sudo apt install python-pip)
Dependencies
------------
......
......@@ -184,9 +184,6 @@ These event data are also excluded:
Interconnection with XiVO CC
----------------------------
If your XiVO is interconnected with XiVO CC, you **MUST** re-configure postgres to accept
connections from XiVO CC - see :ref:`PostgreSQL configuration section <xivo_pbx_configuration>`
Queue logs and CELs are not replicated from the master node to the slave. Instead, both servers have their own event data.
Thanks to it you can install DB Replic on slave and run it in a special HA mode to replicate only queue logs and CELs to XiVO CC:
......
......@@ -45,6 +45,7 @@ Enter your XiVO client username, password and phone set you want to logged to on
If you are using Kerberos authentication and enabled SSO (see :ref:`kerberos-configuration`), then you only have to set your phone set number, the authentication and login will be done automatically:
.. _ccagent_statistics:
Statistics
==========
......@@ -56,6 +57,38 @@ They are updated once current action is over.
.. figure:: ccagent-stats.png
:scale: 80%
Those statistics are clickable and display dynamic charts on top of the counters. The goal is to offer a global view to agents on their activity during the day.
There is two different charts displayed.
The first one is a bar chart focusing on the time unit :
- Total Available Time
- Total Pause Time
- Inbound ACD Calls Total Time
- Outbound Calls Total Time
- Total Wrapup Time
On click on each one of those buttons, the bar chart will be displayed.
You can hover each bar to have the detailed time spent for a specific indicator (HH:MM:SS).
.. figure:: ccagent-barChart.png
:scale: 80%
The second one is a donut chart focusing on the number of calls :
- Number of Inbound ACD calls
- Number of Inbound Answered ACD Calls
- Number of Outbound Calls
On click on each one of those buttons, the donut chart will be displayed.
You can hover each part of the donut to have the number of calls for one indicator.
.. figure:: ccagent-donut.png
:scale: 80%
The charts are updated once current action is over.
Activities
==========
......
......@@ -58,7 +58,7 @@ Profiles and their rights are summed up in the following table:
Supervisor Profile Specificities
--------------------------------
Compared to other profiles, supervisor profile has specific rights. That is, when logged in the Configuration Management Server, a *Supervisor** can:
Compared to other profiles, supervisor profile has specific rights. That is, when logged in the Configuration Management Server, a *Supervisor* can:
* attribute a profile **Teacher** to another user (to a subset of its own attributed queues),
* and create callbacks list (on its own attributed queues)
......
......@@ -17,7 +17,16 @@ Before Upgrade
On XiVO PBX
-----------
* You MUST have enough free disk space for postgres upgrade.
* Postgres upgrade:
* You MUST have enough free disk space for postgres upgrade.
* The upgrade duration will depend on the size of the database (and mainly on the size of `cel` and `queue_log` tables).
As an example, for a database with 9M cel and 1M queue_log, the upgrade took 4 hours (on a server with 4 CPUs and 4 Gb of RAM).
* Asterisk database roles must correspond to the installed (old) XiVO version. Migration can fail if some table
is owned by an unexpected role.
* If there is any specific postgresql parameters (e.g. in files :file:`/etc/postgresql/9.4/postgresql.conf` or
or :file:`/etc/postgresql/9.4/pg_ha.conf`) you MUST save them to be able to restore them after the upgrade
(see note After Upgrade below).
After Upgrade
......@@ -33,12 +42,19 @@ On XiVO PBX
xivo-dcomp logs -t db | grep '\[MIGRATE_OUTCALL\].*WARNING'
#. if yes, follow our :ref:`migration guide <callisto_route_upgrade_guide>`.
* Postgresql: postgresql service now runs inside a container. During upgrade the database was re-imported
**BUT NOT** the postgresql configuration (i.e. parameters in file :file:`postgresql.conf`). If you have any
specific parameters you should add them to the postgresql container configuration as documented in the
:ref:`database_configuration` section.
* High availibility: If you have XiVO CC installed, follow the :ref:`ha_interconnection_with_cc` procedure
to install DB Replic on the slave XiVO.
.. warning:: **Security warning:** Asterisk HTTP server (used for WebRTC and xivo-outcall) was reconfigured
to accept websocket connections from outside. See the :ref:`asterisk_http_server` documentation
and ensure that the configuration is secure.
* Asterisk HTTP server configuration **security warning**:
.. warning:: **Security warning:** Asterisk HTTP server (used for WebRTC and xivo-outcall) was reconfigured
to accept websocket connections from outside. See the :ref:`asterisk_http_server` documentation
and ensure that the configuration is secure.
* XDS: if you had an XDS installation you MUST remove SIP trunks added for intra-mds routing
(that is the SIP trunks named `default`, and `mdsX` - e.g. `mds0`, `mds1` ...).
......
......@@ -49,13 +49,7 @@ XiVO PBX configuration
PostgreSQL configuration
------------------------
Firstly, allow access to PostgreSQL from the outside. Edit :file:`/etc/postgresql/9.4/main/postgresql.conf`:
.. code-block:: ini
listen_addresses = '*'
Add this line to :file:`/etc/postgresql/9.4/main/pg_hba.conf`:
Add this line to :file:`/var/lib/postgresql/11/main/pg_hba.conf`:
.. code-block:: ini
......
......@@ -17,7 +17,9 @@ Callisto.00
New Features
^^^^^^^^^^^^
* CC Agent :
* Can display charts on click on statistics buttons - see :ref:`ccagent_statistics`.
* CC Manager:
* Add callbacks count and oldest callbacks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment