Search 1.9 billion lines of Odoo code on GitHub

asterisk_click2dial

Author: Akretion,Odoo Community Association (OCA)
License: AGPL-3
Branch: 14.0-ADD-sms_no_alter_body
Repository: akretion/connector-telephony
Dependencies: base_phone, and web
Languages: Bourne Shell (9, 0.1%), HTML (384, 6.0%), JavaScript (79, 1.2%), PO File (4957, 76.8%), Python (693, 10.7%), Sass (12, 0.2%), XML (202, 3.1%), and reStructuredText (117, 1.8%)
Other branches: 10-base_phone-settings_page, 10-better-agi-script, 10-fix-agi-accents, 10-fix-crm-phonecall-view, 10-fix-keychain_get_password, 10-mig-base_phone_popup, 10-mig-generic-modules, 10-small-improvements, 10.0-fix_click2dial_feature-ak, 10.0-migrate-base_phone, 11-imp-base_phone_click2dial, 12-fix-settings-page, 12-mig-main-modules, 12-up-port, 12.0-sms-iap-ovh-http, 14-asterisk-ari, 14-crm_phone-multi_edit, 14-crm_phone_usability_improvements, 14-mig-asterisk_click2dial, 14.0-mig-sms_ovh_http, 6.1, 7.0, 7.0-backport-enhancements-from-8.0, 8-fix_macosx, 8-tree-view-no-break-space, 8.0, 8.0-add-ovh-connector, 8.0-cleanup-and-restructure, 8.0-fix-bug-17-no-raise, 8.0-fix-bug-20, 8.0-fix-bug-20-good-author, 8.0-fix-bug-40, 8.0-fix-bug11-ami-test, 8.0-fix-exception-handling, 8.0-fix-old-new-api, 8.0-fix-report_format, 8.0-jsonrpc, 8.0-open-reformat-wizard-after-module-install, 8.0-oskab, 8.0-sms, 8.0-telephony-protect-import, 8.0-tree-phone-widget, 8.0-xivo-provisionning, 8.0_fix_reformat_number, 9-full-port, 9.0-port, and update-screenshot-and-style
Other repositories: 0k/connector-telephony, AMhadhbi/connector-telephony, Abdullah-Alghoul/connector-telephony, Ahmedjaseemiq/connector-telephony, ArberD/connector-telephony, Asterix34/connector-telephony, BrajeshKhare/connector-telephony, Brilliant-Solutions/connector-telephony, Bubbles-IT/connector-telephony, Callino/connector-telephony, Change2improve/connector-telephony, ClearCorp/oca-connector-telephony, Cloudxtreme/connector-telephony, CompassionCH/connector-telephony, Comunitea/CMNT_00040_2016_ELN, Conectel/connector-telephony, Confidere/connector-telephony, D2O/connector-telephony, EBII/connector-telephony, ELNOGAL/GALIPAT, ELNOGAL/GALIPAT_LUGO, ERPLibre/connector-telephony, Endika/connector-telephony, ForgeFlow/connector-telephony, Glue-Software-Engineering-AG/connector-telephony, GrupoAlvamex/connector-telephony, HypnoTherapist/connector-telephony, IAJ782/connector-telephony, Ingeos/connector-telephony, KonaERP/connector-telephony, LasLabs/connector-telephony, MathBenTech/connector-telephony, Maytasoft/connector-telephony, MjAbuz/connector-telephony, NeatNerdPrime/connector-telephony, Numigi/connector-telephony, OCA-MUK/connector-telephony, OCA/connector-telephony, OdooBulgaria/connector-telephony, OutillageStEtienne/connector-telephony, Palpid/connector-telephony, QuintoNetworks/connector-telephony, Runbins/thirdparty-odoo-connector-telephony, SDIsl/connector-telephony, SSISoftware/connector-telephony, SanteLibre/connector-telephony, Sarfarazsajjad/connector-telephony, SeuMarco/connector-telephony, SibghatullahSheikh/connector-telephony, StefanRijnhart/connector-telephony, Sudokeys/connector-telephony, Tecnativa/connector-telephony, TradePilotLLC/connector-telephony, VanMoof/connector-telephony, VasiliyKorobatov/connector-telephony, VbossEkat/Asterisk-connector-telephony, VisiionSolucionesTecnologicas/connector-telephony, WithPrice/customaddons, YevhenPechurin/connector-telephony, YogeshMahera-SerpentCS/connector-telephony, YounessMaafi/connector-telephony, aacceess75/connector-telephony, aaltinisik/connector-telephony, aaltinisik/customaddons, abanoub-nasser/connector-telephony, abdo3247/connector-telephony, acsone/connector-telephony, adolfoeliazat/connector-telephony, alanljj/connector-telephony, albertobraschi/connector-telephony, alexlafalce/connector-telephony, anasallaham/connector-telephony, anasmaach/ao-openerp, anhvu-sg/connector-telephony, anodino-dev/connector-telephony, apachesep/connector-telephony, apetbiz/connector-telephony, askmetoo/connector-telephony, aurestic/connector-telephony, avp-odoo/connector-telephony, bigmoney-team/connector-telephony, binovo/aaltinisik-customaddons, bistaray/ao-openerp, bmya/connector-telephony, brain-tec/connector-telephony, captivea-djh/asterisk, captivea-ylb/connector-telephony, cedvict/connector-telephony, consultingerp/connector-telephony, consultingerp/semak, credativUK/connector-telephony, damdam-s/connector-telephony, darmali/connector-telephony, diagramsoftware/connector-telephony, dielse/customaddons, diggy128/connector-telephony, digitalstaub/connector-telephony, dingguijin/connector-telephony, dixgrake/connector-telephony, doganaltunbay/customaddons, druidoo-dev/connector-telephony, dvitme/connector-telephony, ebuynow/ao-openerp, elevenwaicai/connector-telephony, erp27/connector-telephony, ezzatsamy/semak, factorlibre/connector-telephony, fmdl/connector-telephony, frankchongli/connector-telephony, fredkanyesigye/connector-telephony, garzadekoster/connector-telephony, gastonfeng/connector-telephony, grap/connector-telephony, gsunjka/connector-telephony, guewen/connector-telephony, gurneyalex/connector-telephony, hifans/connector-telephony, hoka-spb/connector-telephony, hotkee/connector-telephony, imarin/connector-telephony, inspyration/connector-telephony, intero-chz/connector-telephony, invitu/connector-telephony, isoscl/connector-telephony, j0rdm4n/ao-openerp, jackethu/connector-telephony, jifuyi/connector-telephony, jmesteve/asterisk, jnaudon/connector-telephony, jorcan46/connector-telephony, kholioeg/connector-telephony, kirankantesariya/customaddons, kit9/customaddons, kryskool/connector-telephony, lattoh/connector-telephony, leangjia/connector-telephony, lehman3087/connector-telephony, lideritjnma/connector-telephony, lithint/connector-telephony, liveitpros/connector-telephony, lubonbvba/connector-telephony, madhawa/connector-telephony, mafarij/ao-openerp, marcel1981/connector-telephony, marcelomora/ao-openerp, marionumza/semak, markrobinson85/connector-telephony, meswapnilwagh/connector-telephony, mimusica/connector-telephony, mjadily/connector-telephony, mohamedhagag/connector-telephony, molandtoxx/connector-telephony, moylop260/connector-telephony, muhammedashraf9244/connector-telephony, murtuzasaleh/connector-telephony, musabekinci/customaddons, mwithi/ao-openerp, netconstructor/connector-telephony, nidhishjain/semak, odoobgorg/OCA-connector-telephony, odooerpperu/connector-telephony, odoousers2014/connector-telephony, onurugur/connector-telephony, onurugur/customaddons, open-synergy/connector-telephony, open2bizz/connector-telephony, osiell/connector-telephony, pedrobaeza/connector-telephony, planesnet/connector-telephony, pmatis/connector-telephony, pscloud/connector-telephony, qponline/connector-telephony, qtheuret/connector-telephony, quangtv-vti/connector-telephony, rexmflau/connector-telephony, rkhalil1990/connector-telephony, rohitramnani1994/connector-telephony, rossasa/connector-telephony, royyosef/connector-telephony, rschnapka/connector-telephony, rsullivan2704/connector-telephony, rudyeezee-it/connector-telephony, sadasant/connector-telephony, samMalaysia/connector-telephony, samjaninf/connector-telephony, sanube/connector-telephony, saonam/connector-telephony, savoirfairelinux/connector-telephony, saymou/ao-openerp, sc4you/connector-telephony, scbrianti/connector-telephony, sendalpegat/connector-telephony, sergiocorato/connector-telephony, silentinfotech/connector-telephony, skarray/ao-openerp, socomp/connector-telephony, suningwz/customaddons, swipswaps/connector-telephony, syci/odoo-connector-telephony, tansadio/connector-telephony, tbhi/connector-telephony, thinkwelltwd/connector-telephony, tomora/connector-telephony, treveradams/connector-telephony, truongvinhtrinh/connector-telephony, tuksik/odoo8-connector-telephony, tvtma/connector-telephony, tymiles003/connector-telephony, ursais/connector-telephony, usmanfarzandali/connector-telephony, vasvlad/connector-telephony, vidtsin/connector-telephony, wahhid/connector-telephony, whoople/connector-telephony, x0rzkov/odoo-connector-telephony, xcgd/connector-telephony, xoe-labs/connector-telephony, xt0ph/connector-telephony, xumingzhi/connector-telephony, y2gsmith/connector-telephony, yanxinorg/connector-telephony, ygol/connector-telephony, yunkuaiji/connector-telephony, yvaucher/connector-telephony, zamzamintl/semak, zeusflp/ao-openerp, zhaohuaw/connector-telephony, and zoolook495/connector-telephony

<h1 class="title">Asterisk connector</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" 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.png" /></a> <a class="reference external" href="https://github.com/OCA/connector-telephony/tree/14.0/asterisk_click2dial"><img alt="OCA/connector-telephony" src="https://img.shields.io/badge/github-OCA%2Fconnector--telephony-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/connector-telephony-14-0/connector-telephony-14-0-asterisk_click2dial"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/228/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>The technical name of this module is <strong>asterisk_click2dial</strong>, but this module implements much more than a simple <em>click2dial</em> ! This module adds 3 functionalities:</p> <ol class="arabic"> <li><p class="first">It adds a <em>Dial</em> button in the partner form view so that users can directly dial a phone number through Asterisk. This feature is usually known as <em>click2dial</em>. Here is how it works :</p> <ul class="simple"> <li>In Odoo, the user clicks on the <em>Dial</em> button next to a phone number field in the partner form view (or any form view with a phone number).</li> <li>Odoo connects to the Asterisk Manager Interface and Asterisk makes the user's phone ring.</li> <li>The user answers his own phone (if he doesn't, the process stops here).</li> <li>Asterisk 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> </li> <li><p class="first">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:</p> <ul class="simple"> <li>On incoming phone calls, the Asterisk dialplan executes an AGI script <strong>set_name_incoming_timeout.sh</strong>.</li> <li>The <em>set_name_incoming_timeout.sh</em> script calls the <em>set_name_agi.py</em> script with a short timeout.</li> <li>The <em>set_name_agi.py</em> 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.</li> <li>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.</li> </ul> <p>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 <em>set_name_outgoing_timeout.sh</em>.</p> </li> <li><p class="first">It adds a phone icon (<em>Open Caller</em>) 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 :</p> <ul class="simple"> <li>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.</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/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 <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> </li> </ol> <p>A detailed documentation for this module is available on <a class="reference external" href="http://www.akretion.com/products-and-services/openerp-asterisk-voip-connector">this page</a> of Akretion's Web site.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id2">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id3">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li> </ul> </li> </ul> </div> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id1">Bug Tracker</a></h2> <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 <a class="reference external" href="https://github.com/OCA/connector-telephony/issues/new?body=module:%20asterisk_click2dial%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id2">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id3">Authors</a></h3> <ul class="simple"> <li>Akretion</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id4">Contributors</a></h3> <ul class="simple"> <li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis.delattre&#64;akretion.com">alexis.delattre&#64;akretion.com</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id5">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <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>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>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/alexis-via"><img alt="alexis-via" src="https://github.com/alexis-via.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/connector-telephony/tree/14.0/asterisk_click2dial">OCA/connector-telephony</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>