Gotchas

/etc/asterisk/sip.conf

register => tls://username@debian.org:password@debian.org/8000

WebRTC support

Here are the typically sip.conf settings (defined globally or on a per-peer basis) for WebRTC clients to talk to Asterisk:

savpf=yes
encryption=yes
icesupport=yes