Call list sync
The cron "WB VoIP: Abgleich mit der Anrufliste" (call list sync) runs every 5 minutes for each active PBX whose adapter delivers a call list (Ansitel: with a token; Asterisk/FreePBX: see Setup in Odoo) and reads the call list (getcdr, at most 1000 rows per request). Calls Odoo did not see (Odoo was closed) and calls
answered on a desk phone or through forwarding appear as "answered elsewhere" with device and duration.
The call list is authoritative: a call that only the browser reported as "answered elsewhere" (CANCEL with Reason header, without device and without colleague) but that nobody answered according to the call list becomes "missed" (log "not reached", callback activity, entry in "Missed"). If the call list names a device or a colleague, it stays "answered elsewhere".
Queues (from wb_voip_ansitel 19.0.2.0.4, Ansitel): if a member answers, the other members see the call as "answered elsewhere"
with device (no "missed", no callback activity). If no member answered (caller hung up, voicemail), it stays "missed".
- Window: from = state − 4 hours, to = now − 60 seconds, at most 6 hours per run; the first run reads the last 30 minutes.
- The sync also runs without a valid license (it only reads and never switches anything on the PBX).
- Limits: if the PBX returns more than 50 pages per request, the window is halved; if that is not enough, that piece is skipped (error in the log; those calls are then missing). The doubled hour in autumn is only considered when matching softphone calls. A mobile voicemail behind a forwarding counts as forwarding. The team status of desk phones does not come from the PBX and is therefore missing.
- Privacy: time, duration, device and the other number are imported (also for unknown numbers, unassigned). The retention period from Team overview, privacy and works council applies. Inform employees (Art. 13 GDPR) and respect co-determination (§ 87 (1) no. 6 BetrVG).
- After setup, watch the first runs; errors are in the Odoo log (identifiers and error types only, never token or URL).