星号-ODOO连接器

odoo9-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如何使用文件路径获取文件位置?   java XPath从某个元素后的元素获取文本   具有多个名称空间的JavaDOM   使用hibernate在表别名处出现java意外令牌错误   springdatajpa中的java交叉连接   在firebase中循环时使用java空指针   如何使用java驱动程序执行mongodb getShardDistribution()   swing Java GUI在另一个方法的新窗口中显示文本   java如何使用Google Guava为每个新地图条目设置不同的过期超时?   在视图寻呼机中将数据从活动传递到片段时,找不到id片段的java视图   Java 8 Lambda流筛选器更改值   java为什么在程序中不使用main方法时Eclipse不会显示错误。   java JavaFX文件选择器显示自定义选项   swing Java程序在MAC上未正确运行   java使用Twitter4j发布twitter线程   JMS请求访问被拒绝后,java jedis无法连接到redis   java GETSTATE weblogic命令花费的时间太长,有什么建议吗?   java如何将此代码转换为Racket/Scheme   java如何使用经度和纬度获取地址   java是我的Glassfish设置泄漏内存吗?