0

我有这个使用 SIP 进行语音传输的聊天系统(没有电话,只有浏览器到同一服务器中的浏览器)。声音在两端都很好,但星号两次发出警告(可能每个客户端一个):

[Mar 11 09:01:27] WARNING[614][C-00000002]: res_srtp.c:407 ast_srtp_unprotect: SRTP unprotect failed with: authentication failure 10
[Mar 11 09:01:33] WARNING[614][C-00000002]: res_srtp.c:407 ast_srtp_unprotect: SRTP unprotect failed with: authentication failure 10

生成的密钥:

./usr/src/asterisk-*/contrib/scripts/ast_tls_cert -C IpAddress -O "Company" -d /etc/asterisk/keys

sip.conf文件:

[general]
udpbindaddr=0.0.0.0:5060
realm=IpAddress
transport=udp,ws,wss
videosupport=no
icesupport=yes
allowguest=no
allwaysreject=yes
rtptimeout=30

我的同龄人设置sip.conf为:

[000001]
host=dynamic
secret=000001
context=from-internal
type=friend
encryption=yes
avpf=yes
force_avp=yes
icesupport=yes
directmedia=no
disallow=all
allow=ulaw,alaw,gsm,all
dtlsenable=yes
dtlsverify=no
dtlscertfile=/etc/asterisk/keys/asterisk.pem
dtlscafile=/etc/asterisk/keys/ca.crt
dtlssetup=actpass

我正在为客户端使用sipML5。有什么见解可以清除警告吗?

4

0 回答 0