星号-ODOO连接器

odoo11-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第三方库


热门话题
oop是Java中装饰器模式的替代方案吗?   java Kafka使用者进程和线程与主题分区的关系是什么   java进程。破坏不起作用   java问题,声明Map<String,Class<?扩展可序列化>>   涉及泛型的java类型安全异构容器   用于转换native2ascii和native2ascii的java库   java填充对象字段的简单方法   java如何将正确的数组返回到方法中并正确修复主方法   java如何解析日期字符串,如'21Jul12'   在Python或Java中旋转图像的更快方法   java异步任务在构造函数处取消   安全性在java中有加密代码的选项吗?它应该只在运行时解密和执行?   java如何编译。jrxml仅一次   java错误Msg=ORA00932:数据类型不一致:预期日期为二进制   java如何设置每行不同的JTextArea文本对齐方式?