这是我的星号服务器控制台日志
[2 月 15 日 12:17:49] 警告 [3558][C-00000000]:res_rtp_asterisk.c:2141 dtlsetup:在 '0x7fd64400caa0 上设置 DTLS-SRTP 时无法设置策略
[2 月 15 日 12:17:49] 警告 [3558][C-00000000]:res_rtp_asterisk.c:4465 ast_d:RTP 读取错误:未指定。挂了。
Channel SIP/7005-00000000 left 'simple_bridge' basic-bridge <222810-4890-bedf-84d549cea2b0>
== Spawn 扩展(默认,7008, 1)在“SIP/7005-0000”上退出非零——通道 SIP/7008-00000001 离开“simple_bridge”基本桥 <222810-4890-bedf-84d549cea2b0>
sip.conf 中是否需要任何更改?在 sip.conf 中
[7005] ; This will be WebRTC client
type=peer ;
username=7005 ; The Auth user for SIP.js
host=dynamic ; Allows any host to register
secret=Z-jj! ; The SIP Password for SIP.js
encryption=yes ; Tell Asterisk to use encryption for this peer
avpf=yes ; Tell Asterisk to use AVPF for this peer
icesupport=yes ; Tell Asterisk to use ICE for this peer
context=default ; Tell Asterisk which context to use when this peer is dialing
directmedia=yes ; Asterisk will relay media for this peer
transport=udp,ws,wss,tcp ; Asterisk will allow this peer to register on UDP or WebSockets
dtlsenable=yes ; Tell Asterisk to enable DTLS for this peer
dtlsverify=no ; Tell Asterisk to not verify your DTLS certs
dtlscertfile=/etc/asterisk/keys/asterisk.pem ; Tell Asterisk where your DTLS cert file is
dtlsprivatekey=/etc/asterisk/keys/asterisk.pem ; Tell Asterisk where your DTLS private key is
dtlssetup=actpass ; Tell Asterisk to use actpass SDP parameter when setting up DTLS
disallow=all
disallow=all
allow=ulaw
allow=alaw
allow=speex
allow=gsm
dtlsverify=fingerprint
dtlscafile=/etc/asterisk/keys/ca.crt
dtlssetup=actpass
;nat=force_rport,comedia
force_avp=yes