Hi all,
I have a big problem with call from web browser with IOS (Iphone,Ipad), MacOS (Macbook …) which using WebRTC to call
Base on that link https://wiki.asterisk.org/wiki/display/AST/WebRTC+tutorial+using+SIPML5
I build a server asterisk version 14.
After finished i try with multi device
With Chrome browser (firefox browser) of android and window (linux) is work fined
With Chrome browser of ios or macos -> only login but when I try call then nothing happen
https://wiki.asterisk.org/wiki/download/attachments/27200129/Screen%20Shot%202017-06-28%20at%202.25.55%20PM.png
So please help me about that problem because I lose more than 2 week about that
Here is config of /etc/asterisk/pjsip.conf
[transport-wss]
type=transport
protocol=wss
bind=0.0.0.0
[199]
type=aor
max_contacts=1
remove_existing=yes
[199]
type=auth
auth_type=userpass
username=199
password=199
[199]
type=endpoint
aors=199
auth=199
use_avpf=yes
media_encryption=dtls
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_cert_file=/etc/asterisk/keys/default.pem
dtls_verify=fingerprint
dtls_setup=actpass
ice_support=yes
media_use_received_transport=yes
rtcp_mux=yes
context=default
disallow=all
allow=opus
allow=alaw
allow=ulaw
allow=gsm
allow=h264
Here is config of /etc/asterisk/sip_additional.conf
[199]
host=dynamic
secret=199
context=default
type=friend
encryption=yes
avpf=yes
force_avp=yes
icesupport=yes
directmedia=no
disallow=all
allow=ulaw
allow=g722
allow=gsm
allow=opus
dtlsenable=yes
dtlsverify=fingerprint
dtlscertfile=/etc/asterisk/keys/default.pem
dtlscafile=/etc/asterisk/keys/ca.crt
dtlssetup=actpass
rtcp_mux=yes
transport=wss,ws,udp,tcp,tls
Thanks