diff --git a/roles/asterisk/templates/pjsip.conf.j2 b/roles/asterisk/templates/pjsip.conf.j2 index 247cd95..739fdfa 100644 --- a/roles/asterisk/templates/pjsip.conf.j2 +++ b/roles/asterisk/templates/pjsip.conf.j2 @@ -8,6 +8,12 @@ type=transport protocol=tcp bind=0.0.0.0 +[transport-wss] +type=transport +protocol=wss +bind=0.0.0.0 + +; Correl's main extension [100] type=endpoint context=from-internal @@ -31,11 +37,14 @@ max_contacts=1 ; this set. remove_existing=yes +; Correl's softphone extension [101] type=endpoint context=from-internal +dtls_auto_generate_cert=yes +webrtc=yes disallow=all -allow=ulaw +allow=opus,ulaw auth=101 aors=101 mailboxes=100@sailmaker @@ -48,7 +57,7 @@ username=101 [101] type=aor -max_contacts=1 +max_contacts=5 remove_existing=yes [102]