Hi, I just installed asterisk 18.4. I’m trying to do a call between a sip phone and webRTC client but it seems that nothing happens. There are together registered on the server. I heard that I have to install a “gateway” to transform sip to webrtc during call, that’s true ? I’m using res_pjsip, I don’t really understand my log file …
Here the call log :
pjsip.conf :
[transport-wss]
type=transport
protocol=wss
bind=0.0.0.0
[transport-ws]
type=transport
protocol=wss
bind=0.0.0.0
[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/asterisk.pem
dtls_verify=fingerprint
dtls_setup=actpass
ice_support=yes
webrtc=yes
media_use_received_transport=yes
rtcp_mux=yes
context=helloworld2
disallow=all
allow=ulaw
allow=opus
allow = all
[199]
type=auth
auth_type=userpass
username=********
password=********
[199]
type=aor
max_contacts=1
remove_existing=yes
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
[portierdiese]
type = endpoint
context = diese
allow = all
fullname= 192.168.1.2&Bosphore TM
auth = portierdiese
aors = portierdiese
[portierdiese]
type = auth
auth_type = userpass
password = *************
username = *************
[portierdiese]
type = aor
max_contacts = 1
remove_existing = yes
extension.conf :
[diese]
exten => _.,1,Dial(PJSIP/${EXTEN},20)
[helloworld]
exten => _X.,1,NoOp(${EXTEN})
same => n,Playback(hello-world)
same => n,Hangup()
[helloworld2]
exten => _X.,1,NoOp(${EXTEN})
same => n,Playback(hello-world)
same => n,Dial(PJSIP/${EXTEN},20)
same => n,Read(Digits,)
same => n,Playback(you-entered)
same => n,SayNumber(${Digits})