星号-ODOO连接器

odoo12-addon-asterisk-click2dial的Python项目详细描述


这个模块的技术名称是asterisk\u click2dial,但是这个模块 实现远不止一个简单的click2dial!本模块增加3 功能:

  1. 它在partner form视图中添加了一个dial按钮,这样用户就可以直接 通过星号拨一个电话号码。此功能通常称为 click2dial。工作原理如下:

    • In Odoo, the user clicks on the Dial button next to a phone number field in the partner view.
    • 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. 它增加了在屏幕上显示主叫方名称的功能 如果显示的电话号码是 出现在Odoo的合作伙伴/领导/员工/中。工作原理如下:

    • 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. 它在顶部菜单栏中添加一个电话图标(open caller) (在首选项旁边)获取合作伙伴/领导/候选人/注册 一键对应主叫方。工作原理如下:

    • 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/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.

有关此模块的详细文档,请访问Akretion网站: http://www.akretion.com/products-and-services/openerp-asterisk-voip-connector

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java JNLP无法在浏览器中正确启动(与dtjava.js一起部署)   在执行下一个方法之前,java将等待线程执行结束   java如何将另一个LayoutManager应用于JComboBox?(多栏JComboBox尝试)   使用jPBC在java中实现双线性配对   java在使用@RequestMapping注释时获取请求的值(URL)   java如何控制流量   java如何获取IFC对象的绝对坐标?   java目标服务器无法使用htmlunit和tor响应异常   java需要帮助创建一个循环结构来运行我的程序   java有可能拥有一个Android APK并在应用程序中更改构建变体吗?   在Sphinx4中运行Ant的java   Java:从ArrayList获取子列表的有效方法   java如何使在循环内部创建的数组在循环外部工作?   apache poi通过java中的XSSF表从单元格读取日期值   安卓 java自己的SeqLock实现,避免spinlock会更好吗?   java的并发底层方法。util。同时发生的预定未来   java比较方法违反了它的一般约定,如何使它具有可传递性?   使用JAVA定向指定类的DB导出子类   一个方法中的java更改特定imageView