Skip to main content

Troubleshooting

Connection and registration​

SymptomCause and remedy
Icon yellow, "Phone is running in another tab"The PBX accepts only one registration per extension, so only one Odoo tab holds the phone. Other tabs hand dialing over to it. If that tab closes, the next one takes over. The browser must support navigator.locks and BroadcastChannel.
Icon red, "Not connected", registration rejectedWrong SIP password or extension, the extension is registered elsewhere, or the PBX refuses the registration. Re-enter the password and check the PBX log. WB VoIP retries after 3, 10, 30 seconds and then every minute; "Reconnect" in the softphone retries at once.
Immediately "Not connected" with no PBX messagewss:// address wrong or unreachable, PBX certificate invalid (see below), firewall or proxy blocks WebSocket. Look at the WebSocket error in the browser console (network tab).
"Telephony is not set up yet." or "The softphone is not configured on the server."Second message: WB_VOIP_FERNET_KEY is missing from the Odoo process (Server key). First message: telephony is not fully set up for the user (Set up users).
"The phone is not set up for this user."Enter PBX and SIP user on the user; check the group "WB VoIP: User".
Certificate error on wss://The browser checks the PBX TLS certificate like any website: valid, not expired, name matches the URL host, complete chain. Self-signed certificates are rejected. Renew the certificate on the PBX; to test, open the https:// address of the same host in the browser.
No microphone prompt, or "browser does not support the softphone"Odoo is not served over HTTPS (no secure context) or the browser is too old.

Audio, dialling and transfer​

SymptomCause and remedy
No audio or one-way audioMedia is not getting through (ICE). Check: microphone allowed in the browser; the PBX relays media itself or a reachable stun: server is entered on the PBX; the firewall allows the media ports (UDP, the PBX's range). Behind symmetric NAT with no media relay on the PBX, enter a TURN server (TURN). "Check PBX" shows whether audio arrives.
Call shows as "missed" although a colleague answered (ring group)The PBX sends no Reason header "Call completed elsewhere" when it cancels, or the detection is switched off at the PBX. The other way round (everything "answered elsewhere"): switch the detection off. Then reconnect.
Keypad tones (DTMF) do not arriveChange the DTMF method at the PBX (RTP first or SIP INFO first), then reconnect.
"Connect" (attended transfer) failsThe PBX does not support REFER with Replaces. Switch off "Attended transfer" at the PBX; the blind transfer stays.
Outside numbers are dialled wronglyCheck dial format and trunk prefix at the PBX (Create the PBX); settings take effect after reconnecting.

License​

SymptomCause and remedy
"License package too small"The database has more active internal users than the package allows (User limit). Upgrade the licence or archive users.
"License missing or expired"License not activated, expired, or the database does not match the licensed instance (Activate the license). Calling and registering are blocked, call logs stay readable and editable. quick keys stay grey. License status under Settings › WB Lizenzen shows the license server's message.

Team and missed calls​

SymptomCause and remedy
Team shows "The team overview is switched off."Switch per company under Settings › WB VoIP (mind the active company).
A call rang but nothing under "Missed"If no Odoo tab with the phone is open, Odoo does not learn of the call (except through the call-list sync of an adapter, e.g. Ansitel or Asterisk/FreePBX). If the tab is closed while ringing, the cleanup job ends the call after 4 hours as "failed".

"Feature codes" adapter​

SymptomCause and remedy
Feature codes: key reports that the call did not connectThe PBX did not accept the code: check the code against the PBX manual, that the extension may dial it (permission for external targets), that the softphone is connected and idle (otherwise 480). Keys marked "Not confirmed by the PBX" show the state last switched through Odoo, which can differ from the real one; check on the desk phone when in doubt.
Feature codes: a key is missingA key needs both an on and an off code; the template has no code for that key (e.g. voicemail).

Ansitel adapter​

SymptomCause and remedy
Ansitel: keys grey, hint that the PBX is unreachableCheck URL and token on the PBX, "Test connection". https only with a valid certificate; 10 s timeout, no redirects, no proxies. After PBX errors no further calls are made until the PBX answers.
Ansitel: key grey with "Please enter your mobile phone under My Preferences › Telephony.""My mobile phone" is missing or fails the target check (premium, emergency, foreign number; Forwarding targets).
Ansitel: voicemail key greyNo personal token and no release for the central token (Set up Ansitel, step 3).
Ansitel: calls missing from the syncIs the cron active? Check extension and device assignment on the user, the call-list time zone, and search the log for skipped windows.

Asterisk/FreePBX adapter​

SymptomCause and remedy
Asterisk: "Asterisk rejects the AMI login." or "Asterisk is unreachable."Check AMI user, secret and permit (the IP the PBX sees for Odoo); firewall for 5038/5039; with TLS the certificate, host name and CA certificate. "The PBX address is not allowed." or "The CDR database address is not allowed.": loopback or a blocked address range (Limits and notes).
Asterisk: "TLS to Asterisk failed (certificate not valid or TLS not offered on this port).""AMI with TLS" is on, but the port does not speak TLS (5038 instead of 5039, tlsenable missing), the certificate is expired or from an unknown CA (enter the CA certificate in PEM format), or the host name in the field does not match the certificate. Retrying does not help; change the setup.
Asterisk: "Asterisk refused the action (check the permissions of the AMI user: class system, and call for lamps)."The AMI user lacks write = system (lamps: system,call), or the PBX refuses the action for another reason (module not loaded, e.g. res_pjsip for PJSIPShowEndpoints). After changing manager.conf or manager_custom.conf run manager reload.
Asterisk: "Asterisk sent an unintelligible response."No AMI answers on the entered port (another service, e.g. SSH or HTTP), or a proxy alters the answer. Check host and port (AMI: 5038, with TLS 5039).
Asterisk: "The call forwarding target is not valid for Asterisk."The target of the key or of "My mobile phone" has, in dialling form, more than 32 characters or characters other than digits, *, # and +. Correct the target on the key or on the user.
Asterisk: "The CDR time zone is unknown on the server."The chosen time zone is missing on the Odoo server (system package tzdata or Python package tzdata). Install it or choose another zone.
Asterisk: "TLS to the CDR database failed (not offered or certificate not valid)."MySQL/MariaDB offers no TLS (have_ssl, certificate in the server configuration), the certificate is expired or from an unknown CA, or the host name does not match. Odoo then sends no login data. PostgreSQL currently reports certificate errors as "unreachable".
Asterisk: keys greyThe user's extension matches no PJSIP endpoint (identifier = endpoint name), or the AMI is unreachable. There is no voicemail key for Asterisk.
Asterisk: calls missing from the syncTrunks entered? Does "Test connection" report "Call list readable"? Check the CDR time zone against the PBX's /etc/localtime (restart Asterisk after changing it); for MySQL/MariaDB PyMySQL on the server.

For license or product problems: support@wissen-beratung.de. The Odoo log never contains credentials; for a bug report the time, user and the softphone message are enough.