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 WebRTC Integration

For Webphone installation go to this path and for install webphone in your system
follow this step.
cd /var/www/html/agc
git clone https://github.com/chornyitaras/PBXWebPhone.git
● After installation of webphone open http.conf file and make changes as per below
details
Path: vim /etc/asterisk/http.conf
————————————————
[general]
enabled=yes
; Address to bind to, both for HTTP and HTTPS. You MUST specify
; a bindaddr in order for the HTTP server to run. There is no
; default value.
bindaddr=0.0.0.0
bindport=8088
tlsenable=yes; enable tls – default no.
tlsbindaddr=0.0.0.0:8089; address and port to bind to – default is bindaddr
and port 8089.
tlscertfile=/path/to/your/certificate.pem OR .crt ; path to the certificate file
(*.pem) only.
tlsprivatekey=/path/to/your/privkey.pem OR .key ; path to private key file
(*.pem) only.
————————————————
VICIdial WebRTC Integration 2
● After changes in http.conf now open sip.conf file and do changes as per below
details.
Path: vim /etc/asterisk/sip.conf
—————————————–
realm=domain.com
transport=udp,ws,wss
avpf=yes
srvlookup=yes
—————————————–
● After changes made in sip.conf file configure apache with https.
Configure Apache with https
● Then go to the admin page and configure Web phone URL.
In vicidial ADMINISTRATION page change Admin->System
Settings->Webphone URL:https://domain.com/agc/webPhone/viciphone.php

● After changes in admin page Specify Web Socket URL. Admin->Servers->-> Web Socket URL: to “wss://domain.com:8089/ws”

● Then after enable webphone from in phone config. In vicidial ADMINISTRATION page change Admin->Phones->”Set As Webphone” to “Y”

● After enable webphone add ssl configuration to phone config.
In vicidial ADMINISTRATION page go to Admin->Phones
Select Template ID: SIP_generic
● After add configuration in phone config add config in conf override as per below
details
Add following config to Conf Override:
—————————————–
encryption=yes
avpf=yes
force_avp=yes
icesupport=yes
nat=comedia
directmedia=no
dtlsenable=yes
dtlsverify=no
dtlscertfile=/etc/httpd/ssl/certnew.pem
dtlsprivatekey=/etc/httpd/ssl/keynew.pem
dtlssetup=actpass
rtcp_mux=yes
————————————-

● after add config in conf override file and do changes in rtp.conf file as per below
details
Uncomment below line
icesupport=true
For Behind NAT>>>> stunaddr=stun.l.google.com:19302

Johny

Johny

Enlightened

Student

Leave a comment

You must login to add a new comment.