查了下
Kamailio:
tcp_reuse_port=yes
FreeSWITCH:
SIPProfile reuse-connections=yes
SIPp:
sipp -t t1 # TCP with one socket
sipp -t tn # TCP with one socket per call
回头做 测试
先测试 SIPp
第一个测试
sipp -sf uac.xml -s sipp -i 172.16.99.205 -p 5060 -d 60000 -r 15 -l 9000 -m 1 -t t1 172.16.99.206:5060
sipp listen 5060, 发送端口也是 5060, contact 也是 5060, sipp 很牛
第二个测试
sipp -sf uac.xml -s sipp -i 172.16.99.205 -p 5060 -d 60000 -r 15 -l 9000 -m 1 -t t1 172.16.99.206:5060
listen 端口是5060, 发送端口是一个随机值,contact = 发送端口
这些开源软件做的如此之好
未完待续