Webrtc-wss sound problem

Hello there,
I have a sound problem with Webrtc-wss.
My system is like this:
Centos 7, asterisk 16.3.0, freepbx 14.0.10.3.
I made a call via sipml5 using Freepbx self signed default certificate. There was no problem with the sound.
I have a wildcard SSL certificate that I use on my other servers. I uploaded it using certman. I added the key file to certificate key section and added the pem file to certificate section. I added the intermedia files to chain section. Chrome has confirmed the certificate.
I created extensions. I’m connected with Sipml5. Calling starts but no sound is going on.
The server is behind nat on wm. I tried to run it directly with public ip, but the problem continues.
The sound going with Self-signed default certificate. Why doesn’t the audio sound with trusted certificate??
Any help our guidance would be appreciated.

Thank You,
Onur

pjsip.transports.conf

[0.0.0.0-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
external_media_address=xxx.xxx.xxx.xxx
external_signaling_address=xxx.xxx.xxx.xxx
allow_reload=no
tos=cs3
cos=3
local_net=192.168.20.0/24

[0.0.0.0-tcp]
type=transport
protocol=tcp
bind=0.0.0.0:5060
external_media_address=xxx.xxx.xxx.xxx
external_signaling_address=xxx.xxx.xxx.xxx
allow_reload=no
tos=cs3
cos=3
local_net=192.168.20.0/24

[0.0.0.0-tls]
type=transport
protocol=tls
bind=0.0.0.0:5061
external_media_address=xxx.xxx.xxx.xxx
external_signaling_address=xxx.xxx.xxx.xxx
ca_list_file=/etc/pki/tls/certs/ca-bundle.crt
cert_file=/etc/asterisk/keys/xxx.pem
priv_key_file=/etc/asterisk/keys/xxx.key
method=default
allow_reload=no
tos=cs3
cos=3
local_net=192.168.20.0/24

[0.0.0.0-ws]
type=transport
protocol=ws
bind=0.0.0.0
external_media_address=xxx.xxx.xxx.xxx
external_signaling_address=xxx.xxx.xxx.xxx
allow_reload=no
tos=cs3
cos=3
local_net=192.168.20.0/24

[0.0.0.0-wss]
type=transport
protocol=wss
bind=0.0.0.0
external_media_address=xxx.xxx.xxx.xxx
external_signaling_address=xxx.xxx.xxx.xxx
allow_reload=no
tos=cs3
cos=3
local_net=192.168.20.0/24

pjsip.endpoint.conf

dtmf_mode=rfc4733
aggregate_mwi=yes
use_avpf=no
rtcp_mux=no
bundle=no
ice_support=no
media_use_received_transport=no
trust_id_inbound=yes
media_encryption=no
timers=yes
media_encryption_optimistic=no
send_pai=yes
rtp_symmetric=yes
rewrite_contact=yes
force_rport=yes
language=en
one_touch_recording=on
record_on_feature=apprecord
record_off_feature=apprecord

[546]
type=endpoint
aors=546
auth=546-auth
tos_audio=ef
tos_video=af41
cos_audio=5
cos_video=4
allow=ulaw,alaw,gsm,g726,g722
context=test
callerid=webrtc <546>

dtmf_mode=rfc4733
aggregate_mwi=yes
use_avpf=yes
rtcp_mux=yes
bundle=no
ice_support=yes
media_use_received_transport=yes
trust_id_inbound=yes
media_encryption=dtls
timers=yes
media_encryption_optimistic=no
send_pai=yes
rtp_symmetric=yes
rewrite_contact=yes
force_rport=yes
language=en
one_touch_recording=on
record_on_feature=apprecord
record_off_feature=apprecord
media_encryption=dtls
dtls_verify=fingerprint
dtls_cert_file=/etc/asterisk/keys/xxx.crt
dtls_private_key=/etc/asterisk/keys/xxx.key
dtls_setup=actpass
dtls_rekey=0

http_additional.conf

[general]
enabled=yes
enablestatic=yes
bindaddr=127.0.0.1
bindport=8088
prefix=
sessionlimit=100
session_inactivity=30000
session_keep_alive=15000
tlsenable=yes
tlsbindaddr=0.0.0.0:8089
tlscertfile=/etc/asterisk/keys/integration/certificate.pem
tlsprivatekey=/etc/asterisk/keys/integration/webserver.key

extentions_custom.conf

[test]
exten => _.,1,Verbose(1, test started ${DEN} )
same => n,Dial(PJSIP/${EXTEN})
same => n,Hangup()

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.