GOOD NEWS Wazo WebRTC phone/client

Sylvain Boily

Active Member
Joined
Apr 30, 2016
Messages
259
Reaction score
144
Hello people,

I'm working on a proof of concept to have a xivo client web with webrtc phone.

Information here:

Have fun.
Sylvain
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,170
Reaction score
5,199
Works like a champ in both directions...

Cs4XFbhXgAQ4AGe.jpg

Cs4W3DuWcAAlZls.jpg


Photo: $29 UTP-E62 High Availability IP Phone
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,170
Reaction score
5,199
Setting Up WebRTC with XiVO

Special thanks to @Sylvain Boily for a terrific implementation of WebRTC with XiVO

Cs8xSckXYAQhX47.jpg


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.

Cs9pabsWcAA5FF0.jpg


2. Click Lines tab and assign an Extension number. Then click Save button.

Cs4YdheWAAAmIM7.jpg


3. This will create a new Line. Edit the Line associated with WebRTC user account. Make the General settings look like this:

Cs4ZO2NXYAAtDqB.jpg


4. Click on the Advanced tab and make it look like what's shown below. Then click Save button.

Cs5mtbsWgAAh9vo.jpg


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).

Cs4a6ggWcAQ5Lud.jpg


Then start calling...

Cs9msquWAAAc8bg.jpg
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,170
Reaction score
5,199
Don't miss the wizard, it's important to check the custom https certificate.

Much of this is now automatic after accepting the certificates once with Chrome. But you need to go through each individual component with Firefox.
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67
Yes you right! I added new features today and fixed some bugs.
auth%20xivo%20io%20tls%20cert%20expired.png

@Sylvain Boily
You should renew the TLS certificate for auth.xivo.io, because it's expired for the last 6 months!
If you need help how to do this, just ask, but I think you probably know how to do it.
 

Sylvain Boily

Active Member
Joined
Apr 30, 2016
Messages
259
Reaction score
144
@chris_c_ well, yes i know... It's not really a priority for me. But, ok i will renew it soon, it's a let's encrypt certs.
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67

Sylvain Boily

Active Member
Joined
Apr 30, 2016
Messages
259
Reaction score
144
Allo :)

Good news, you can also use the website without webrtc now. If you don't have a webrtc sip configuration (like hardphone or softphone) or a sccp phone, the app control directly your phone instead to use a webrtc session. It's featureless comparing to webrtc but you could use click to call, reject incoming call, cancel a call, hangup a call. But you have the same features like presence, favorite, creating contacts etc ...
I'm adding transfer call soon.

Have fun
Sylvain
 

chris_c_

Active Member
Joined
Aug 19, 2010
Messages
509
Reaction score
67
The owner of phone.wazo.community has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.

phone.wazo.community uses an invalid security certificate.

The certificate is only valid for the following names:
auth.xivo.io, phone.xivo.io

Error code: SSL_ERROR_BAD_CERT_DOMAIN
:eek:
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,170
Reaction score
5,199
17.02 will be a major improvement for WebRTC. However, one WebRTC account already is preconfigured in all Incredible PBX for Wazo installs. It's a one-minute setup that's fully documented here.
 

Sylvain Boily

Active Member
Joined
Apr 30, 2016
Messages
259
Reaction score
144
Hello, i updated unicom to get the new features from wazo 17.02 :) The major difference is now unicom works with only one https port. And you can choose the port, like forwarding on your router the port 8443 to 443 and you could change this configuration at the unicom login. Check at the right bottom of the login page! Have fun.
 

Members online

Forum statistics

Threads
25,782
Messages
167,512
Members
19,203
Latest member
frapu
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top