> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oduist.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Odoo configuration

> Required Odoo settings for Asterisk Plus.

# Odoo Configuration

* **HTTPS redirect**: use 308 (not 301) if proxying http→https to avoid request-body rewrite that breaks Agent auth.
* **Workers**: Asterisk Plus receives many short requests. Use at least 2 workers; 4 recommended. odoo.sh with 1 worker can be too slow.
* **Long polling / websockets**: Enable gevent server (port 8072 by default). If behind proxy, route `/longpolling/poll` (≤15) and `/websocket` (≥16) to 8072.
* **Multi-database**: If multiple DBs, add `asterisk_plus` to `server_wide_modules` so dialplan curl endpoints work:

```
server_wide_modules = base,web,asterisk_plus
```

* **Addons path**: Ensure the Asterisk Plus module directory is in `addons_path`.

### Troubleshooting

* No popups/notifications: gevent/long polling not configured or proxy missing rules.
