Search 1.9 billion lines of Odoo code on GitHub

freeswitch_click2dial

Author: Trever L. Adams, Akretion,Odoo Community Association (OCA)
License: AGPL-3
Branch: freeswitch-9.0
Repository: treveradams/connector-telephony
Dependencies: base_phone, and web
Languages: CSS (20, 0.9%), JavaScript (70, 3.2%), PO File (1355, 61.5%), Python (505, 22.9%), XML (167, 7.6%), and reStructuredText (85, 3.9%)
Other branches: freeswitch-7.0, freeswitch-8.0, logcall-8.0, and logcall-9.0
Other repositories: amarildogolloshi/openerp-freeswitch-connector, circls/openerp-freeswitch-connector, dingguijin/openerp-freeswitch-connector, marcozink/openerp-freeswitch-connector, pascalpci/openerp-freeswitch-connector, terenceyhj/openerp-freeswitch-connector, topecz/openerp-freeswitch-connector, treveradams/openerp-freeswitch-connector, tymiles003/openerp-freeswitch-connector, valdecdev/openerp-freeswitch-connector, and yuchixing/openerp-freeswitch-connector

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="freeswitch-click2dial"></a> <h2>FreeSWITCH Click2Dial</h2> <p>The technical name of this module is <em>freeswitch_click2dial</em>, but this module implements much more than a simple <em>click2dial</em>! This module adds 3 functionalities:</p> <ol class="arabic simple"> <li>It adds a <em>Dial</em> button in the partner form view so that users can directly dial a phone number through FreeSWITCH. This feature is usually known as <em>click2dial</em>.</li> <li>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.</li> <li>It adds a phone icon (<em>Open Caller</em>) in the top menu bar (next to the Preferences) to get the partner/lead/candidate/registrations corresponding to the calling party in one click.</li> </ol> <a name="installation"></a> <h3>Installation</h3> <p>To install this module, you need to:</p> <ul class="simple"> <li>Click on the module and install it</li> </ul> <p>Additionally, you will need the FreeSWITCH ESL python module. The easiest way is pip install FreeSWITCH-ESL-Python. Otherwise, you will find it under ${FREESWITCH_SRC_TOP_DIR}/libs/esl/python. Go to ${FREESWITCH_SRC_TOP_DIR}/libs/esl. Type make. Then make pymod. You will then need to install ${FREESWITCH_SRC_TOP_DIR}/libs/esl/python/ESL.py and ${FREESWITCH_SRC_TOP_DIR}/libs/esl/python/_ESL.so into the appropriate places on your Odoo/Odoo server. (<a class="reference external" href="https://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation">https://wiki.freeswitch.org/wiki/Event_Socket_Library#Installation</a> for more information.) An alternative method would involve <a class="reference external" href="https://github.com/gurteshwar/freeswitch-esl-python">https://github.com/gurteshwar/freeswitch-esl-python</a>.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>To configure this module, you need to:</p> <ul class="simple"> <li>Settings &gt; Technical &gt; FreeSWITCH Servers.</li> <li>Setup you server.</li> <li>Configure users under Settings &gt; Users &gt; $USER &gt; Telephony tab.</li> </ul> <a name="usage"></a> <h3>Usage</h3> <p>To use this module, you need to:</p> <ul class="simple"> <li>See scripts/get_caller_name.py to see how to set caller and callee name.</li> <li>Click on Dial next to any phone number covered by associated modules.</li> </ul> <ol class="arabic"> <li><p class="first"><em>click2dial</em>. Here is how it works :</p> <blockquote> <ul class="simple"> <li>In Odoo, the user clicks on the <em>Dial</em> button next to a phone number field in the partner view.</li> <li>Odoo connects to the FreeSWITCH Event Socket and FreeSWITCH makes the user's phone ring.</li> <li>The user answers his own phone (if he doesn't, the process stops here).</li> <li>FreeSWITCH dials the phone number found in Odoo in place of the user.</li> <li>If the remote party answers, the user can talk to his correspondent.</li> </ul> </blockquote> </li> <li><p class="first">Using Odoo to provide Caller ID Name in FreeSWITCH. To understand how to use this, please see get_caller_name.py, which should be installed per the instructions in the script on the Odoo/Odoo server. This works for incoming and outgoing calls, per instructions in the script.</p> </li> <li><p class="first"><em>Open Caller</em>. Here is how it works :</p> <blockquote> <ul class="simple"> <li>When the user clicks on the phone icon, Odoo sends a query to the FreeSWITCH Manager Interface to get a list of the current phone calls.</li> <li>If it finds a phone call involving the user's phone, it gets the phone number of the calling party.</li> <li>It searches the phone number of the calling party in the Partners/Leads/Candidates/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 <em>Phone</em> or <em>Mobile</em> number or update an existing Partner.</li> </ul> <p>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 <em>base_phone_popup</em>.</p> </blockquote> </li> </ol> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>None</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/connector-telephony/issues">GitHub Issues</a>. 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.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Trever L. Adams</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>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.</p> <p>To contribute to this module, please visit <a class="reference external" href="http://odoo-community.org">http://odoo-community.org</a>.</p>