voip_oca
Enable Odoo to place and receive browser-based VOIP calls via SIP-connected PBX servers.
Key Features
- voip.pbx: Lets administrators define PBX servers with domains, WebSocket endpoints, and test or production modes for VOIP connectivity.
- res.users: Allows each user to select their PBX server and manage SIP credentials that become available for session-driven softphone logins.
- ir.http: Extends session payloads with the user's VOIP connection data and bundled audio tone assets for the client services.
- voip.call: Records VOIP call metadata, auto-links contacts by phone number, and exposes helpers to list recent calls and progress call states.
- mail.activity: Provides computed main contact details and filters due phonecall activities for the softphone activity tab.
- mail.activity.mixin: Supplies a reusable computation to determine the main partner referenced by VOIP-related activities.
- res.partner: Formats contact details for the VOIP widget and serves search endpoints limited to partners with telephone numbers.
- service.voip_oca: Maintains the softphone state, orchestrates tabbed lists of calls, activities, and contacts, and loads related partner context on demand.
- service.voip_agent: Registers the user on SIP.js, manages media streams, and handles actions such as accept, reject, hold, mute, hangup, and transfer.
- web.softphone: Provides a toggleable softphone interface with tab navigation, debounced search, numpad dialing, and partner or activity drilldowns.
- web.systray: Adds a systray control that toggles the VOIP softphone open or closed.
- web.phone_field: Enables click-to-call behavior on phone fields whenever the VOIP agent is ready.
- voip.menu: Introduces technical menu entries to maintain PBX servers and review VOIP call listings.
- security: Grants regular users full access to call records and read-only PBX visibility while reserving PBX management for administrators.