通过 OnSIP 在 Odoo 中使用 VoIP 服务¶
重要
OnSIP VoIP services are only available in the United States (US). OnSIP VoIP services are widely available in the lower-48, contiguous United States. In Alaska or Hawaii, charges for service can be higher.
Additionally, a US billing address, and US credit card are required to use the service.
Before setting up an account with OnSIP, the business will need to make sure the business telephone numbers are portable to OnSIP.
OnSIP makes every attempt to work with all telephone service providers. However, certain local or regional guidelines may preclude the company’s current provider from releasing the number.
介绍¶
Odoo VoIP can be set up to work together with OnSIP (Odoo Landing Page). OnSIP is a VoIP provider. An account is needed with OnSIP in order to use this service.
在开设 OnSIP 账户之前,请确保公司所在地区以及将被呼叫的地区都在 OnSIP 服务的覆盖范围之内。
开设 OnSIP 账户后,请按照以下配置步骤在 Odoo 数据库中进行配置。
配置¶
To configure the Odoo database to connect to OnSIP services, first navigate to the
Apps
filter from the Search… bar, and search for VoIP OnSIP
.
Next, install the VOIP OnSIP module.
Odoo VoIP 设置¶
安装 VOIP OnSIP 模块后,进入 整合 部分,找到 Asterisk(VoIP) 字段。然后,在这三个字段中填写以下信息:
,向下滚动到OnSIP Domain:在 OnSIP 上创建帐户时分配的域。
WebSocket:
wss://edge.sip.onsip.com
VoIP 环境: 正式运行
小技巧
要访问 OnSIP 域名,请访问 OnSIP 并登录。然后,点击页面右上角的 管理员 链接。
接下来,在左侧菜单中单击 用户,然后选择任何用户。默认情况下,所选用户将打开 用户资料 选项卡。
点击 电话设置 选项卡,显示 OnSIP 配置凭证(第一列)。
Odoo 用户设置¶
接下来,需要在 Odoo 中设置用户。与 OnSIP 用户关联的每个用户**也必须**在 Odoo 用户的设置/偏好中配置。
要执行此操作,请导航至
。在用户表单中,单击 编辑 配置用户的 OnSIP 账户。然后,点击 偏好 选项卡,滚动到 VoIP 配置 部分。
在这一部分,请在字段中填写 OnSIP 凭据。
请在以下字段中填写相关证书:
SIP Login / Browser’s Extension = OnSIP Username
OnSIP authorization User = OnSIP Auth Username
Handset Extension = OnSIP Ext. (extension without the
x
)SIP Password = OnSIP SIP Password
小技巧
OnSIP 扩展名可在选项卡上方的*用户*横幅行中找到。
When these steps are complete, click Save on the user form in Odoo to save the configurations.
Once saved, Odoo users can make phone calls by clicking the 📞 (phone) icon in the top-right corner of Odoo.
参见
更多设置和故障排除步骤,请访问 OnSIP知识库。
来电¶
Odoo 数据库也会接收来电,并在 Odoo 中弹出窗口。当这些来电弹出窗口出现时,点击绿色的 📞(电话) 图标即可接听来电。
To ignore the call, click the red 📞 (phone) icon.
故障排除¶
Missing parameters¶
If a Missing Parameters message appears in the Odoo widget, make sure to refresh the Odoo browser window (or tab), and try again.
号码错误¶
If an Incorrect Number message appears in the Odoo widget, make sure to use the international format for the number. This means leading with the international country code.
国家/地区代码是一个定位代码,可用于访问所需国家/地区的电话系统。先拨国家/地区代码,再拨目标号码。世界上每个国家/地区都有自己特定的国家/地区代码。
For example, 16505555555
(where 1
is the international prefix for the United States).
参见
国家/地区代码列表,请访问: https://countrycode.org。
移动电话 OnSIP¶
为了在用户不在电脑前使用 Odoo 时拨打和接听电话,可同时使用手机上的软电话应用程序和 Odoo VoIP。
This is useful for convenient, on-the-go calls, and to make sure incoming calls are heard. Any SIP softphone will work.