Skip to main content

Asterisk connector

Beta License: AGPL-3 OCA/connector-telephony Translate me on Weblate Try me on Runbot

The technical name of this module is asterisk_click2dial, but this module implements much more than a simple click2dial ! This module adds 3 functionalities:

  1. 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.

  2. 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.

  3. 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.

Table of contents

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Akretion

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

alexis-via

This module is part of the OCA/connector-telephony project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo14-addon-asterisk-click2dial 14.0.2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo14-addon-asterisk-click2dial 14.0.2.0.0
File Interpreter ABI Platform Actions
odoo14_addon_asterisk_click2dial-14.0.2.0.0-py3-none-any.whl Python 3 none any Details for odoo14_addon_asterisk_click2dial-14.0.2.0.0-py3-none-any.whl

Release files / odoo14_addon_asterisk_click2dial-14.0.2.0.0-py3-none-any.whl

Download URL odoo14_addon_asterisk_click2dial-14.0.2.0.0-py3-none-any.whl
Size 171.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
453abd7afdcd7cee61ef251285ef9fb4737d85a0fda08ee4cc73152e12c0c49c
BLAKE2b-256 checksum
How to use checksums
dab5d73426966ea195d921cea1d086a8d0c0808303c654823a5d0c7006b08cf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5

Security for odoo14-addon-asterisk-click2dial 14.0.2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page