"Feature codes" adapter (PBX without an interface)
For PBXs that switch forwarding, Do not disturb or voicemail through feature codes (star codes) but offer no interface. Odoo does not call the PBX; the user's own softphone dials the code as a short call without a call record or call-log entry and hangs up after the announcement or after 10 seconds.
-
Type: on the PBX set "PBX interface" to "Feature codes (no interface)" and tick "Interface active".
-
Codes: pick a feature code template (fills the fields; adjust in the form, then save) or enter the codes. Each key has "Code: … on" and "Code: … off".
{ziel}stands for the forwarding target (exactly once in the code). Only digits,*and#are allowed and the code starts with*or#. A key exists only if both its on and off code are set. -
Templates (each with a manufacturer source; checked against the documentation, not tried on a real PBX, so test on your own PBX before relying on them):
Template Forwarding on / off Do not disturb on / off Voicemail Asterisk / FreePBX *72{ziel}/*73*78/*79no codes Auerswald COMpact *21*{ziel}#/#21###8*211#/##8*210#no codes AVM FRITZ!Box *21*{ziel}*#/*21**#no codes no codes Without a confirmed code the field stays empty and that key does not exist on this PBX. The PBX often requires a permission of the extension for external targets (Auerswald), and with IP phones the FRITZ!Box accepts only a few keypad codes (see its manual).
-
Extensions, "My mobile phone", keys: as for Ansitel (Set up Ansitel, steps 2 and 5); no Ansitel extension or token is needed. For each switch the server checks rights, target and toll protection as with an interface and hands the code to the user's own softphone. This protects switching through the keys only: feature codes dialled by hand (dial field, desk phone) are not checked by Odoo, so also restrict forwarding targets and feature codes per extension at the PBX.
Limits
- The state is not readable from the PBX. The keys show the state last switched through Odoo, marked "Not confirmed by the PBX". A change made on a desk phone, by another system or by the PBX itself is not seen. A code counts as switched when the PBX answers the call; otherwise the key reports that the call did not connect.
- The codes carry no ring time: a voicemail key "after ring time" dials the same code as "immediately".
- Internal forwarding targets (extensions, ring groups) and the call list (sync, "answered elsewhere" with device) are not available without an interface.
- While a code is dialled (at most 10 s per code) the softphone is busy: incoming calls get 480.