Setting Up WebRTC with XiVO
Special thanks to @Sylvain Boily for a terrific implementation of WebRTC with XiVO
1. Create a new User (WebRTC) account, Enable XiVO Client, and assign Profile type as well as Login username and password. These are the credentials you'll use to login to WebRTC with your browser.
2. Click Lines tab and assign an Extension number. Then click Save button.
3. This will create a new Line. Edit the Line associated with WebRTC user account. Make the General settings look like this:
4. Click on the Advanced tab and make it look like what's shown below. Then click Save button.
5. Using SSH or Putty, edit /etc/asterisk/http.conf to look like this (already configured in Sep. 21 and later Incredible PBX for XiVO builds):
Code:
[general]
enabled=yes
bindaddr=127.0.0.1
bindport=5039
prefix=
tlsenable=yes
tlsbindaddr=0.0.0.0:5040
tlscertfile=/usr/share/xivo-certs/server.crt
tlsprivatekey=/usr/share/xivo-certs/server.key
servername=XiVO PBX
6. Restart Asterisk:
systemctl restart asterisk
7. Open a very modern web browser (latest Chrome & Firefox work). Run the wizard once to get certificates squared away:
https://phone.wazo.community/wizard.html
8. Open the same web browser (latest Chrome & Firefox work) to:
https://phone.wazo.community/ or
https://phone.wazo.community/?serverIP=XiVO-ip-address-here
9. Authorize camera and microphone.
10. At the XiVO Phone login, plug in the username/password you set up for your new WebRTC user account in step #1 and enter IP address of XiVO PBX (if not provided in step #8).
Then start calling...