WebRTC manual configurationΒΆ
Note
This is the manual way to configure a WebRTC line. It is here for the record. You should follow the Configuration of user with WebRTC line instead.
- Create user
- Optional: set codec to ulaw
- Add line to user without any device
- Configure Advanced Line options, so that it is usable with the softphone WebRTC
avpf = yes
call-limit = 1
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
encryption = yes
force_avp = yes
icesupport = yes
transport = ws