支持给网关指定变量,设置网关的语音编码编码和主叫号码。网关配置编辑后,不能实时生效 ,需要执行sofia命令才可以生效,具体看SIP设置。
配置
cti_gateway@domain [哈希表]
- key 网关名字
- value 网关配置
{ "param": { "register": "true", "caller-id-in-from": "true", "realm": "180.76.224.191:35560", "from-user": "", "destination-prefix": "", "username": "mytrunk", "password": "mytrunk@ddt" }, "variables": { "sip_sticky_contact": "true" } } |
- param 网关参数
- realm 网关服务器IP
- username 网关用户名
- password 网关密码
- register 是否需要注册
- destination-pre