I’ve been having a bunch of people ask me to write up an article for installing the Viciphone which I never did before because Viciphone.com has some really great instructions already. But I will create this post with picture and alternative Viciphones for you guys to use. There is also an easier method by using my auto installer on my GitHub at this link: https://github.com/carpenox/vicidial-install-scripts. This will complete all the steps below for CentOS, Alma, Rocky or Ubuntu based systems. Leap or ViciBox users will still have to follow the commands below:
This is a pretty easy process using certbot which uses letsencrypt. the first thing you have to do is setup your FQDN(Fully qualified domain name) to point to your server. For this demonstration I will show you with namecheap.com registrar services. You want to add an A record as shown below:
This you need to run the following command for certbot:
You’re output should look as it does below:
[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
enablestatic=yes
tlsenable=yes
tlsbindaddr=0.0.0.0:8089
tlscertfile=/etc/letsencrypt/live/cyburdial.com/cert.pem
tlsprivatekey=/etc/letsencrypt/live/cyburdial.com/privkey.pem
Go into Aterisk with “asterisk -r” to verify it and type the command: http show status
I will provide two githubs of which you can choose which version you want to use. The first one is by Mike from Viciphone.com of whom I have the utmost respect for his work on the Viciphone to improve it and update to sip.js-0.20. His link is:
https://github.com/vicimikec/ViciPhone
To use this you need to go into your root web directory and then git cloning by running the following commands:
Or if you prefer to use my version which looks like this:
You can go to my github at:
https://github.com/carpenox/CyburPhone
You should already be in the web directory at this point but to use my webrtc phone clone it with this command:
Now that you’ve downloaded the webrtc phone you’ve decided to use, you need to set the proper permissions for it, for this article I will demonstrate on my version
You would do the same thing for the Viciphone by just replacing CyburPhone with ViciPhone
Thats it for the phone installation, now to set what you need in the Vicidial GUI
Go into Admin > system settings and scroll down near the bottom:
Go to admin > servers > your server
Go to admin > templates and create a new template
Enter the folllwing into the template and change the domain to yours:
type=friend
host=dynamic
encryption=yes
avpf=yes
icesupport=yes
directmedia=no
transport=wss
force_avp=yes
dtlsenable=yes
dtlsverify=no
dtlscertfile=/etc/letsencrypt/live/cyburdial.com/cert.pem
dtlsprivatekey=/etc/letsencrypt/live/cyburdial.com/privkey.pem
dtlssetup=actpass
rtcp_mux=yes
Thats all there is to it, now you are all set to use webrtc technology and do away with annoying softphone configurations and reps always complaining about their phone not registering, lol. I hope this article has helped and if you have any problems, feel free to stop by our live support channel on skype or post a comment here: https://join.skype.com/ujkQ7i5lV78O
I hope this helps
-Chris aka carpenox
How to - Fix Apache not starting on ViciBox There is a new issue with…
How to - Use the full functionality of the ViciDial installer by carpenox Vicidial administrators, take note: the Carpenox Auto Installer is about to change the game. This tool transforms the usually complex setup of Vicidial into a smooth, hassle-free experience. Let…
How to - Decrease SDP(short duration percent) in ViciDial There is a new feature in…
August 2024 VICIdial Security Update Please read this carefully as it contains important information regarding…
50% off by joining our discord! Unlock 50% Off Any Item in Our Store by…
Empower Your Business with a White Labeled Dialer Solution from CyburDial In today's rapidly evolving…
This website uses cookies.