Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Sign In

Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

You must login to add post.

Vicidial Clustering with webRTC in Centos 6

VERSION: 2.14-772a
BUILD: 201004-1045
© 2020 ViciDial Group

Asterisk 13.21.0

Centos 6.10

We have db-web Server AND Proxy Server

In db-web Server (Vici Admin Interface)
go to Admin -> Templates -> Add New -> webRTC template configuration below

type=friend
host=dynamic
transport=wss
encryption=yes
avpf=yes
force_avp=yes
icesupport=yes
nat=comedia
disallow=all
allow=ulaw
allow=alaw
directmedia=no
icesupport=yes
dtlsenable=yes
dtlsverify=no
dtlscertfile=/etc/letsencrypt/live/db-web-DOMAIN.com/cert.pem
dtlsprivatekey=/etc/letsencrypt/live/db-web-DOMAIN.com/privkey.pem
dtlssetup=actpass
rtcp_mux=yes
context=trunkinbound

go to Admin -> Server -> Server DB Web -> Web Socket URL -> wss://db-web-DOMAIN.com:8089/ws

go to Admin -> Server -> Server Proxy -> External Server IP -> db-web-IP
go to Admin -> Server -> Server Proxy -> Web Socket URL -> wss://proxy-DOMAIN.com:8089/ws

go to Admin -> Phone -> Server DB Web -> Use External IP -> N

go to Admin -> Phone -> Server Proxy -> Use External IP -> Y

In SIP.conf
realm=db-web-DOMAIN.com ; Realm for digest authentication
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
transport=udp,wss
avpf=yes
externip = proxy-IP

WebRTC Debug Y
displayName: 123
uri: 123dbtocvqksj-web-IP
authorizationUser: 123
password: xyz
wsServers: wss://proxy-DOMAIN.com:8089/ws

Dont forget to copy db-web-domain-ssl to each and every proxy with the exact path which is mentioned in template

Leave a comment

You must login to add a new comment.