【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
[General Settings]中 Maximum Channels 设置为CTS提供SIP Trunk的并发数量
[Outgoing Settings]中设置 PEER Details 为如下内容:
username=12345678 (CTS提供的SIP Trunk配置号码)
type=friend
secret=xxxxxxxxxxxx (CTS提供的SIP Trunk配置密码)
qualify=yes
port=5060
nat=yes
insecure=very
host=voip.cts.sh.cn
fromuser=12345678 (CTS提供的SIP Trunk配置号码)
fromdomain=voip.cts.sh.cn
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=yes
allow=gsm&ulaw&alaw&g729&ilbc
[Incoming Settings]中设置 USER Details 为如下内容:(如果仅申请呼出号码无需填写)
username=12345678 (CTS提供的SIP Trunk配置号码)
type=friend
secret=xxxxxxxxxxxx (CTS提供的SIP Trunk配置密码)
qualify=yes
port=5060
nat=yes
insecure=very
host=voip.cts.sh.cn
fromuser=12345678 (CTS提供的SIP Trunk配置号码)
fromdomain=voip.cts.sh.cn
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=yes
allow=gsm&ulaw&alaw&g729&ilbc
[Registration]中设置 Register string 为
12345678:xxxxxxxxxxxx@voip.cts.sh.cn/12345678
(12345678为CTS提供的SIP Trunk配置号码,xxxxxxxxxxxx为CTS提供的SIP Trunk配置密码)
来源:oschina
链接:https://my.oschina.net/u/1452491/blog/201003