简介
任何话机都必须分配一个独立的SIP账号。将话机注册到系统后,话机可以分配一个账号来接收和发送 VoIP 连接。
账号注册配置
通过网页用户界面设置
在网页用户界面,选择:账号 > 注册。
注册状态: 显示当前账号的注册状态。
账号启用: 启用/禁用账号。
标签: 在 LCD 上显示以识别账号。
显示名: 在拨打电话时显示为来电显示。
用户名: 由 ITSP 提供用于注册(必要)。请联系你的 VOIP 服务提供商获取此信息。
注册名: 由 ITSP 提供的认证ID(必要)。请联系你的 VOIP 服务提供商获取此信息。
密码: 由 ITSP 提供用于注册(必要)。请联系你的 VOIP 服务提供商获取此信息。
主服务器地址: 由 ITSP 提供用于注册(必要)。请联系你的 VOIP 服务提供商获取此信息。
话机支持三种 SIP 服务器配置,允许你通过网页界面配置第三个 SIP 服务器地址。
配置参数
account.X.enable
account.X.label
account.X.display_name
account.X.auth_name
account.X.user_name
account.X.password
account.X.sip_server.Y.address
account.X.sip_server.Y.port
account.X.outbound_proxy_enable
account.X.outbound_proxy.Y.address
account.X.outbound_proxy.Y.port
account.X.reg_fail_retry_interval
account.X.reg_failed_retry_min_time
account.X.reg_failed_retry_max_time
参数
允许值
默认值
描述
account.X.enable[1]
0-禁用1-启用
0
定义账号的激活状态。
account.X.label[1]
最多99个字符的字符串
空白
配置账号的显示标签。
account.X.display_name[1]
最多99个字符的字符串
空白
配置账号的显示名称。
account.X.auth_name[1]
最多99个字符的字符串
空白
配置用于认证注册的用户名。
account.X.user_name[1]
最多99个字符的字符串
空白
配置账号的用户名。
account.X.password[1]
最多99个字符的字符串
空白
配置账号的密码。
account.X.sip_server.Y.address[1][2]
256个字符
空白
配置 SIP 服务器地址。
account.X.sip_server.Y.port[1][2]
0到65535之间的整数
5060
定义 SIP 服务器端⼝。
如果在使用UDP时(“account.X.sip_server.Y.transport_type”设置为0)将其设置
为0,则话机将使用随机端⼝来响应来⾃服务器的消息。
account.X.outbound_proxy_enable[1]
0-禁用1-启用
0
是否启用账号的 outbound 代理服务器。
account.X.outbound_proxy.Y.address[1][2]
256个字符
空白
定义 outbound 代理服务器地址。
仅当“account.X.outbound_proxy_enable“设置为1(启用)时有效。
要使用 outbound 代理服务器地址, 应将“account.X.sip_server.Y.outbound_proxy_enable”设置为1(启用)。
account.X.outbound_proxy.Y.port[1][2]
0到65535之间的整数
5060
定义 outbound 代理服务器端⼝号。
仅当“account.X.outbound_proxy_enable“设置为1(启用)时有效。
account.X.reg_fail_retry_interval[1]
0到1800之间的整数
30
配置账号注册失败后的重新注册周期(以秒为单位)。
仅当“account.X.reg_failed_retry_min_time”和“account.X.reg_failed_retry_max_time”设置为0时有效。
account.X.reg_failed_retry_min_time[1]
大于或等于0的整数
0
配置账号注册失败后话机重新注册的最小等待时间(以秒为单位)。
与“account.X.reg_failed_retry_max_time”参数结合使用,以确定等待时间。算法在RFC 5626中定义。我们建议你将此值设置为10到120之间的整数(如果需要)。如果此参数和“account.X.reg_failed_retry_max_time”参数的值都设置为0,将使用“account.X.reg_fail_retry_interval”配置的间隔。
account.X.reg_failed_retry_max_time[1]
大于或等于0的整数
60
配置账号注册失败后话机重新注册的最大等待时间(以秒为单位)。
与“account.X.reg_failed_retry_min_time”参数结合使用,以确定等待时间。算法在RFC 5626中定义。我们建议你将此值设置为60到1800之间的整数(如果需要)。如果此参数和“account.X.reg_failed_retry_min_time”参数的值都设置为0,将使用“account.X.reg_fail_retry_interval”配置的间隔。
[1] X是账号ID。
[2] Y是服务器ID。Y=1-2。
注册设置配置
下表列出了你可以用来更改注册设置的参数。
通过网页用户界面设置
在网页用户界面,选择:账号 > 高级设置。
配置参数
account.X.enable_user_equal_phone
account.X.register_mac
account.X.register_line
account.X.unregister_on_reboot
account.X.sip_server_type
sip.reg_surge_prevention
account.X.subscribe_register
phone_setting.disable_account_without_username.enable
account.X.register_expires_overlap
account.X.subscribe_expires_overlap
参数
允许值
默认值
描述
account.X.enable_user_equal_phone[1]
0-禁用1-启用
0
启用或禁用话机在 INVITE 消息的SIP头中添加“user=phone”。
account.X.register_mac[1]
0-禁用1-启用
0
启用或禁用话机在 REGISTER 消息的SIP头中添加MAC地址。
account.X.register_line[1]
0-禁用1-启用
0
启用或禁用话机在 REGISTER 消息的SIP头中添加线路号。0-99表示line1-line100。
account.X.unregister_on_reboot[1]
0-禁用1-启用
0
启用或禁用话机在重启后先注销再重新注册账号X。
account.X.sip_server_type[1]
0-默认2-BroadSoft(仅当bw.enable设置为1(启用)时有效)8-Genesys10-Genesys Advanced12-Star2Star
0
配置 SIP 服务器的类型。
sip.reg_surge_prevention
0到60之间的整数
0
配置话机在启动后注册账号的等待时间(以秒为单位)。
account.X.subscribe_register[1]
0-禁用1-启用
0
启用或禁用话机订阅注册状态变化通知。
phone_setting.disable_account_without_username.enable
0-禁用1-启用
0
启用或禁用话机禁用用户名为空的账号。
account.X.register_expires_overlap[1]
正整数和-1
-1
配置注册租约到期前的更新时间(以秒为单位)。
account.X.subscribe_expires_overlap[1]
正整数和-1
-1
配置订阅租约到期前的更新时间(以秒为单位)。
[1] X是账号ID。