The technical name of this module is asterisk_click2dial, but this module implements much more than a simple click2dial ! This module adds 3 functionalities:
- It adds a Dial button in the partner form view so that users can directly dial a phone number through Asterisk. This feature is usually known as click2dial. Here is how it works :
- In Odoo, the user clicks on the Dial button next to a phone number field in the partner form view (or any form view with a phone number).
- Odoo connects to the Asterisk Manager Interface and Asterisk makes the user's phone ring.
- The user answers his own phone (if he doesn't, the process stops here).
- Asterisk dials the phone number found in Odoo in place of the user.
- If the remote party answers, the user can talk to his correspondent.
- It adds the ability to show the name of the calling party on the screen of your IP phone on incoming phone calls if the presented phone number is present in the partner/leads/employees/... of Odoo. Here is how it works:
- On incoming phone calls, the Asterisk dialplan executes an AGI script set_name_incoming_timeout.sh.
- The set_name_incoming_timeout.sh script calls the set_name_agi.py script with a short timeout.
- The set_name_agi.py script will make an XML-RPC request on the Odoo server to try to find the name of the person corresponding to the phone number presented by the calling party.
- If it finds the name, it is set as the CallerID name of the call, so as to be presented on the IP phone of the user. It also works on outgoing calls, so as to display the name of the callee on the SIP phone of the caller. For that, you should use the script set_name_outgoing_timeout.sh.
- It adds a phone icon (Open Caller) in the top menu bar to get the partner/lead/candidate/event registrations corresponding to the calling party in one click. Here is how it works :
- When the user clicks on the phone icon, Odoo sends a query to the Asterisk Manager Interface to get a list of the current phone calls.
- If it finds a phone call involving the user's phone, it gets the phone number of the calling party.
- It searches the phone number of the calling party in the Partners/Leads/Candidates/Event Registrations of Odoo. If a record matches, it takes you to the form view of this record. If no record matchs, it opens a wizard which proposes to create a new Partner with the presented phone number as Phone or Mobile number or update an existing Partner. It is possible to get a pop-up of the record corresponding to the calling party without any action from the user via the module base_phone_popup.
A detailed documentation for this module is available on this page of Akretion's Web site.
auto_awesome What this module does
AI-generated from the code · Odoo 17.0Connect Odoo to an Asterisk IP phone system so users can click a phone number in Odoo to place a call, and see who is calling on their IP phone screen.
This module links Odoo to an Asterisk phone system (IPBX). Administrators configure one or more Asterisk servers under the Phone menu, entering the server address, port, login, password, dialplan context, outgoing prefix, wait time and an optional Alert-Info header. A 'Test Connection to Asterisk' button checks that Odoo can reach the server.
Each user gets phone settings on their profile: the Asterisk channel type (PJSIP, SIP, etc.), the resource name of their phone, their internal number, Caller ID, and optionally a dial suffix, CDR account, Alert-Info header and extra variables. The Asterisk channel name is computed automatically from the channel type and resource. If no server is set on the user, the first server of the user's company is used.
Once configured, users can dial a number directly from Odoo: Odoo asks Asterisk to ring the user's own phone first, then dials the contact. A phone icon in the top bar lets a user find the record matching the current call and jump to it, or open a 'Number Not Found' form if the number is unknown. An AGI script can also look up the caller's name in Odoo and display it on the phone screen for incoming or outgoing calls, with optional geolocation of unknown numbers.
Servers are restricted per company, and only system administrators can create or change them.
Depends on
Menus it adds
Models and fields (3)
- res.users · extends an existing modelcallerid (Caller ID), resource (Resource Name), variable (User-specific Variable), alert_info (User-specific Alert-Info SIP Header), cdraccount (CDR Account), dial_suffix (User-specific Dial Suffix), internal_number, asterisk_chan_name (Asterisk Channel Name), asterisk_chan_type (Asterisk Channel Type), asterisk_server_id (Asterisk Server)
- phone.common · extends an existing model
- asterisk.server · new modelname (Asterisk Server Name), port, login (ARI Login), active, context (Dialplan Context), password (ARI Password), wait_time, alert_info (Alert-Info SIP Header), company_id (Company), ip_address (Asterisk IP address or DNS), out_prefix, extension_priority
Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/connector-telephony.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.