Skip to main content

Functions, privacy and limits

Function​

  • Hook switch: lifting while it rings answers, hanging up while the line is busy hangs up. The line is busy during a call, during an outgoing call (also a click on a number, while it is still ringing), during a consultation and while a transfer on answer is waiting. Hanging up then cancels the outgoing call or ends the consultation or the waiting transfer, and the held call comes back. The hook is a state: headset and Odoo buttons always result in the same state, reports without a change have no effect. Headsets that report the key only as a pulse answer while it rings and hang up while the line is busy.
  • Hanging up after the off-hook LED: once Odoo has switched on the off-hook LED, the headset counts as lifted, even if it never confirms this with "off hook". An "on hook" reported after that hangs up if the hook bit has changed compared with the last report or if it arrives as the first report since the LED output without any other key. If the hook bit only arrives together with another key (e.g. mute on a headset on hook with a hook switch), it does not hang up.
  • The mute key (Phone Mute) toggles mute, Flash holds or resumes.
  • LEDs: Ring while ringing, Off-Hook while the line is busy (see above; a click on a number switches it on immediately so that wireless headsets open the audio link already for the ringback tone), Mute while muted. If the headset reports the hook or mute state back within 300 ms of an output of its own, this counts as an echo and has no effect.
  • If a key has no effect in the current state, the hint appears as a notification.
  • Self-test: shows every recognised event in the phone tab and, on every change, which LEDs Odoo sets; reports without a telephony function (e.g. volume) and unknown reports only with report ID and length. If the headset has no off-hook LED, the self-test says so when connecting.
  • Position of keys and LEDs from the report descriptors of the device; Yealink profile via the vendor ID, otherwise the general HID Telephony profile.

Tested devices​

  • Yealink BH74 with dongle BT51 (Chrome, December 2026): incoming answer and hang up with the hook key, outgoing ringback tone in the headset and hang up with the hook key. Mute only in the device (see Limits).

Privacy​

Device name, vendor and product ID are only shown in the browser; none of it goes to the server or into logs. So that all tabs and a reload use the same headset, the browser remembers the identifier of the chosen headset (vendor ID, product ID, product name) in local storage (wb_voip_headset.bevorzugt); it never leaves the browser, "Disconnect" deletes it. Between the tabs only a trigger without device data is sent. Nothing is stored on the user in Odoo.

Limits​

  • Chrome and Edge only (WebHID); Firefox and Safari show a hint, telephony stays unchanged.
  • The keys only work in the phone tab; the self-test therefore only runs there.
  • A headset without an off-hook LED hangs up via the hook key only after a recognised lift.
  • A headset that does not confirm the off-hook LED with "off hook" and has already reported "on hook" together with another key after the LED output does not hang up with another identical "on hook": this cannot be told apart from a repetition. Hang up in Odoo in that case.
  • Some headsets mute only in the device and do not report it to Odoo (e.g. Yealink BH74). Odoo then does not show muted, and the mute LED stays off.
  • Chrome often splits a headset into several HID objects (e.g. keys and LEDs); they are combined via vendor ID, product ID and name. Two headsets of the same model cannot be told apart that way: only one object per collection type is used, the second headset stays unused (with split devices, keys and LEDs may then come from different units). Connect only one headset per model. Objects without information about their collections (collections) have the same empty signature and count as one object.
  • The kind of mute key (push button or switch) is detected on use. Until then releasing it has no effect; if a push button is held for longer than 2 seconds on the very first press, releasing it switches back once.