星号-ODOO连接器

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


热门话题
graph Java自己生成类图   java MouseMotionListener:鼠标和触控板给出不同的结果   java解析清单条目的正确方法是什么。jar中的mf文件?   java如何创建带有半透明色块的透明gif/png图像?   java应用内计费V3:跨设备同步购买   java Spring数据JPA注入失败BeanCreationException:无法自动连接字段   Java数据结构维护插入顺序和重复值   java无法在VSCode中设置JavaFX   java中数据字段初始化的类顺序   java如何使用ClientBuilder为Rest Post Api多部分编写集成测试   JUnit测试divide()方法的java正确方法   java将消息标记为接收前已读   Java ArrayList调用扩展对象函数   java Android:只使用GCM的TCP/IPServer   Java如何将xls数据转换为txt文件   编译为Jar文件后未找到java类   java返回子字符串的所有匹配项   java Get json用户_timeline api twitter 1.1