Voip OCA
voip_oca · OCA/connector-telephony
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module allows the use of VOIP directly from Odoo.
It relies on SIP.js to connect to the PBX using a websocket directly from the browser.
Odoo server will not connect directly to the PBX server, but will have users and passwords stored.
In order to use this module, you need to have a PBX server that allows websocket connection. Otherwise, you need to use a proxy that will be the bridge between Odoo and PBX. Websocket connection is required because browsers prefer this kind of connections. Also, this is an standard connection defined on RFC 7118 by IETF. Several PBX servers support this protocol.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_users_form |
res.users | form | Inherits base.view_users_form | |
view_users_form_simple_modif |
res.users | form | Inherits base.view_users_form_simple_modif | |
voip_call_list_view |
voip.call.list | voip.call | list | New |
voip_pbx_form_view |
voip.pbx | form | New | |
voip_pbx_list_view |
voip.pbx | list | New | |
voip_pbx_search_view |
voip.pbx | search | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
No new fields.
Public methods (1)-
session_info(self)
-
main_partnerCharcompute='_compute_main_partner_id' -
main_partner_idMany2one → res.partnercompute='_compute_main_partner_id'string='Main Contact' args: 'res.partner'
-
get_call_activities(self, _search, offset, limit)@api.model
-
activity_main_partner_idMany2one → res.partnercompute='_compute_activity_main_partner_id'string='Main Contact' args: 'res.partner'
-
get_activity_main_partner_id(self)
No new fields.
Public methods (3)-
format_partner(self) -
get_activity_main_partner_id(self)Override to return the partner itself. -
voip_get_contacts(self, _search, offset, limit)@api.model
-
voip_passwordChar -
voip_pbx_idMany2one → voip.pbxargs: 'voip.pbx' -
voip_usernameChar
-
SELF_READABLE_FIELDS(self)@property -
SELF_WRITEABLE_FIELDS(self)@property
-
activity_nameCharhelp='The name of the activity related to this phone call, if any.' -
end_dateDatetime -
partner_idMany2one → res.partnerindex=True args: 'res.partner', 'Contact' -
pbx_idMany2one → voip.pbxargs: 'voip.pbx', 'PBX' -
phone_numberCharrequired=True -
start_dateDatetime -
stateSelectiondefault='calling'index=True args: [('aborted', 'Aborted'), ('calling', 'Calling'), ('missed', 'Missed'), ('ongoing', 'Ongoing'), ('rejected', 'Rejected'), ('terminated', 'Terminated')] -
type_callSelectiondefault='outgoing' args: [('incoming', 'Incoming'), ('outgoing', 'Outgoing')] -
user_idMany2one → res.usersdefault=<expr>index=True args: 'res.users', 'Responsible'
-
accept_call(self) -
create_call(self, values)@api.model -
format_call(self) -
get_recent_calls(self, _search, offset, limit)@api.model -
reject_call(self) -
terminate_call(self)
-
domainChardefault='localhost' -
modeSelectiondefault='test'string='Environment' args: [('test', 'Test'), ('prod', 'Production')] -
nameCharrequired=True -
ws_serverChardefault='ws://localhost'
No public methods.
Loading…
Loading…