To install the unlimited version, you will need:
A module for Odoo called Asterisk Plus Unlimited (provided individually upon request).
A special version of the OdooPBX Agent.
These steps are explained in more detail below.
Odoo Module
Install this module as you would any other module. After installation, you will need to configure a direct connection to the Agent using its address and port. The default port value is 30000. The image below shows an example configuration.
Installing the Agent
Before installing the Agent, you will need to:
Obtain the server ID where the Agent will be installed by running the following command:
docker run --rm -it odoopbx/agent-system-uid
Send us the resulting identifier, and we will generate a license based on it, which will be sent back to you. Put the license in the safe folder with
docker-compose.yml
.Install the special version of the Agent and provide it with the license key you received.
Ensure port forwarding (if necessary) or open TCP port 30000 in your firewall. This is required because in this case, Odoo communicates directly with the Agent.
Here is an example of a docker-compose.yml
file with license key mapping:
services:
agent:
init: true
image: odoopbx/local_agent
restart: unless-stopped
command: https://your.odoo.server
volumes:
- srv:/srv
# Map the license.
- ./pyarmor.rkey:/agent/pyarmor.rkey
# To access recordings and upload them to Odoo.
- /var/spool/asterisk:/var/spool/asterisk
privileged: true # If SIP security is enabled.
network_mode: host
environment:
- TZ=Europe/London
volumes:
srv:
Start the Agent.