简体   繁体   English

星号:WebRTC 没有音频

[英]Asterisk: WebRTC no audio

I'm having what is probably a simple configuration issue.我遇到了可能是一个简单的配置问题。 Calls between two SIP clients (zoiper) are successful.两个 SIP 客户端(zoiper)之间的呼叫成功。

When I start a call between a WebRTC client (sipml5) and a SIP client (Zoiper) is the connection active, but there is no audio in both directions available.当我在 WebRTC 客户端 (sipml5) 和 SIP 客户端 (Zoiper) 之间开始通话时,连接处于活动状态,但两个方向都没有可用的音频。

So, I have latest Asterisk 16, latest Chrome (with Firefox & Chrome Beta the same problem), sipml5 and a local network - no nat or firewall.所以,我有最新的 Asterisk 16、最新的 Chrome(Firefox 和 Chrome Beta 也有同样的问题)、sipml5 和本地网络——没有 nat 或防火墙。

Any ideas on what we may be doing wrong?关于我们可能做错了什么的任何想法? Thank you in advance for any help!预先感谢您的任何帮助!

/etc/asterisk/sip.conf /etc/asterisk/sip.conf

[general]
realm=192.168.11.31;
udpbindaddr=192.168.11.31;
transport=udp

[1060] ; This will be WebRTC client
type=friend
username=1060
host=dynamic
secret=password
encryption=yes
avpf=yes
icesupport=yes
context=default
directmedia=no
transport=udp,ws,wss;
force_avp=yes
dtlsenable=yes
dtlsverify=fingerprint
dtlscertfile=/etc/asterisk/cert/asterisk.pem
dtlssetup=actpass
rtcp_mux=yes

[6002] ; This will be the legacy SIP client
type=friend
username=6002
host=dynamic
secret=password
context=default

[6001]
type=friend
username=6001
host=dynamic
secret=password
context=default

/etc/asterisk/extensions.conf /etc/asterisk/extensions.conf

[default]
exten => 1060,1,Dial(SIP/1060)
exten => 6002,1,Dial(SIP/6002)
exten => 6001,1,Dial(SIP/6001)

已解决:问题是 AD-Block 插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM