ViciPhone - Our WebRTC Phone

Discussions about development of VICIDIAL and astGUIclient

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

ViciPhone - Our WebRTC Phone

Postby mcargile » Thu Jul 21, 2016 12:35 pm

We are developing our own WebRTC phone which we are calling ViciPhone. It will be it's own open source project, separate from Vicidial once we have fully tested it. It is based off SIP.js and loads into the agent interface just like the Zoiper Webphone. It will not be specifically tied to Vicidial and will be able to work as a regular phone on other systems with minor config changes. It will also be able to be embedded into a website and allow customers to call you directly from their browser without having to go through any carrier connection. It also works quite well with mobile devises (though I need to make a better CSS skin for them). Best of all there is nothing to install on the agent web browser. As long as they have a microphone and speakers (though a headset is highly recommended) the agents just have to log into Vicidial and the phone will automatically load for them.


We are currently looking for people to beta test ViciPhone at their centers. If you are interested there are some specific requirements to running it.

- First off it only works over a VALID HTTPS connection. This means you either need to have a legitimate SSL certificate for each of your servers from a TRUSTED certificate authority or you need to add your own certificate authority for your self signed certs to the agent web browsers. Adding your own CA to the agent browsers is something I have yet to be able to do successfully so I cannot help with that.

- Second the agents must be using a browser that properly supports WebRTC. You can find more information on supported browsers here https://webrtc.org/. Microsoft IE and Edge are not supported at present.

- Third you cannot be loading anything else into the agent's interface from a non-HTTPS source. Meaning you cannot have an embedded IFRAME in the script tab that is not HTTPS. Having this data loaded into other browser tabs though is perfectly fine.

- Fourth the dialers must be running Asterisk 11 and have all OS updates installed.

- Fifth the dialers must also have valid SSL certificates from a trusted CA.

- Sixth you must be willing to allow us access to your cluster..

- Seventh for the time being your agents must be able to connect to *.viciphone.com over HTTPS. Eventually we will publish the code so you can deploy it locally, but for now this allows us to make changes more easily.

Please keep in mind that what you will mostly be testing is how well Asterisk 11 scales with WebRTC calls. We are pretty confident in the actual ViciPhone code. What we do not know is if a single Asterisk 11 server will be able to maintain 20+ WebRTC connections for 8+ hours without doing something weird like load spikes or randomly hanging up on agents.

If you are interested in helping beta test ViciPhone please email support@vicidial.com and put it to my attention making sure to mention your desire to beta test ViciPhone. I will reply back with further details.
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 547
Joined: Tue Jan 16, 2007 9:38 am

Re: ViciPhone - Our WebRTC Phone

Postby bobbymc » Fri Jan 06, 2017 12:49 pm

I've already tried, after 30 agents and a few hours asterisk gets deadlocks because of some stun bug
bobbymc
 
Posts: 424
Joined: Fri Jan 05, 2007 12:26 am

Re: ViciPhone - Our WebRTC Phone

Postby mcargile » Fri Jan 06, 2017 2:14 pm

Good thing our WebRTC phone uses Google's public STUN server and not Asterisk's.
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 547
Joined: Tue Jan 16, 2007 9:38 am

Re: ViciPhone - Our WebRTC Phone

Postby bobbymc » Fri Jan 06, 2017 3:00 pm

Asterisk issue is with that stun protocol as a whole. I paid digiun to investigate the issue and there is Open bug, they most likely won't fix it as all efforts are into asterisk 13 and 14
bobbymc
 
Posts: 424
Joined: Fri Jan 05, 2007 12:26 am

Re: ViciPhone - Our WebRTC Phone

Postby mcargile » Fri Jan 06, 2017 3:32 pm

Would be interested in seeing the bug report.
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 547
Joined: Tue Jan 16, 2007 9:38 am

Re: ViciPhone - Our WebRTC Phone

Postby bobbymc » Sat Jan 21, 2017 2:02 am

https://issues.asterisk.org/jira/browse/ASTERISK-25852

this deadlock was caused by dundi or stun, the guys internally told me it was a issue with stun that caused it, but who knows
bobbymc
 
Posts: 424
Joined: Fri Jan 05, 2007 12:26 am

Re: ViciPhone - Our WebRTC Phone

Postby mcargile » Mon Jan 23, 2017 9:33 am

Was wondering if that was you. We am pretty confident at this point that that error is being caused by brute force attacks against the SIP port that are not showing up in the Asterisk CLI which makes Fail2Ban completely ineffective. Most likely the SIP packets are malformed which causes issues for Asterisk with parsing it. We have yet to be able to get a proper packet capture of the issue, but in our experience the issue goes away as soon as you lock the SIP port down to only speak with carriers and agent phones. Another thing that points to some sort of external cause is that it is effecting all Asterisk 11 versions. We have had clients abusing Asterisk 11 without issue for months and then suddenly this started popping up.
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 547
Joined: Tue Jan 16, 2007 9:38 am

Re: ViciPhone - Our WebRTC Phone

Postby bobbymc » Mon Jan 23, 2017 1:36 pm

Possible, there is also another issue where asterisk isn't keeping up with the chrome webrtc requirements which is making it I compatible with chrome 57, Digium is yet to fix it and unlikely to do so on 11, I'm possibly going to attempt to make vicidial compatible with 13 as 11 is reaching eol
bobbymc
 
Posts: 424
Joined: Fri Jan 05, 2007 12:26 am

Re: ViciPhone - Our WebRTC Phone

Postby thirdhatch » Fri Apr 07, 2017 3:29 pm

This thread is nearly a year old now. Had any progress been made on the viciphone?
thirdhatch
 
Posts: 96
Joined: Fri Jul 09, 2010 1:07 pm

Re: ViciPhone - Our WebRTC Phone

Postby mcargile » Fri Apr 07, 2017 3:57 pm

Very little interest was received in beta testing it until Firefox and Chrome both stopped supporting the Zoiper Web phone. As such it is still in beta. Also the only version of Asterisk that supports it at present is Asterisk 11 which in recent months has had some stability issues. We have a few clients beta testing it right now. None of them have had issues with ViciPhone, but a few have had issues with Asterisk 11 locking up.
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 547
Joined: Tue Jan 16, 2007 9:38 am

Re: ViciPhone - Our WebRTC Phone

Postby chornyi_taras » Sat Apr 08, 2017 4:52 am

AFAIK latest Firefox does not work with asterisk 11 that ships with Vicibox.
http://forums.asterisk.org/viewtopic.php?f=1&t=95417
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

Skype: tarasukcho
chornyi_taras
 
Posts: 72
Joined: Tue Jun 14, 2016 3:41 pm
Location: L'viv, Ukraine

Re: ViciPhone - Our WebRTC Phone

Postby thirdhatch » Mon May 15, 2017 1:37 pm

Michael, would it be possible for us to test the vicidial webphone? We were able to implement the PBXWEBPHONE early on with version 7.0.3, but have not been able to get it to work since the new version. I would be happy to help with documentation and bug testing if this were a possibility.
thirdhatch
 
Posts: 96
Joined: Fri Jul 09, 2010 1:07 pm

Re: ViciPhone - Our WebRTC Phone

Postby chornyi_taras » Thu May 25, 2017 5:26 pm

Hi thirdhatch. Can you please describe what issues you are facing with PbxWebPhone?
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

Skype: tarasukcho
chornyi_taras
 
Posts: 72
Joined: Tue Jun 14, 2016 3:41 pm
Location: L'viv, Ukraine

Re: ViciPhone - Our WebRTC Phone

Postby thirdhatch » Mon Jun 12, 2017 9:49 am

We figured out the issues with PBXWebPhone. But we are having trouble getting it to work with Firefox. It only works with Chrome.
thirdhatch
 
Posts: 96
Joined: Fri Jul 09, 2010 1:07 pm

Re: ViciPhone - Our WebRTC Phone

Postby chornyi_taras » Mon Jun 12, 2017 3:30 pm

ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

Skype: tarasukcho
chornyi_taras
 
Posts: 72
Joined: Tue Jun 14, 2016 3:41 pm
Location: L'viv, Ukraine

Re: ViciPhone - Our WebRTC Phone

Postby ngtechnologies » Sat Aug 05, 2017 9:49 pm

thirdhatch wrote:We figured out the issues with PBXWebPhone. But we are having trouble getting it to work with Firefox. It only works with Chrome.


We upgraded to PHP7 in our web server (actually tried to upgrade PHP5 to PHP7 and broke Vicidial, was new install with PHP7 installed before any Vicidial or prerequisites were added) and works Chrome and Firefox, but not IE or Edge. So far we have had 70 agents logged in and working with no issues.


Scratch install Vicidial on Centos6
1 database server
1 webserver PHP7
4 asterisk boxes
1 admin server/database slave
ngtechnologies
 
Posts: 5
Joined: Mon Mar 27, 2017 11:13 am

Re: ViciPhone - Our WebRTC Phone

Postby chornyi_taras » Mon Aug 07, 2017 3:11 am

ngtechnologies wrote:
thirdhatch wrote:We figured out the issues with PBXWebPhone. But we are having trouble getting it to work with Firefox. It only works with Chrome.


We upgraded to PHP7 in our web server (actually tried to upgrade PHP5 to PHP7 and broke Vicidial, was new install with PHP7 installed before any Vicidial or prerequisites were added) and works Chrome and Firefox, but not IE or Edge. So far we have had 70 agents logged in and working with no issues.


Scratch install Vicidial on Centos6
1 database server
1 webserver PHP7
4 asterisk boxes
1 admin server/database slave


so you have patched asterisk to have webphone working in Firefox?
regarding Edge support- sipJs supposed to support it in nearest future https://github.com/onsip/SIP.js/issues/432
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

Skype: tarasukcho
chornyi_taras
 
Posts: 72
Joined: Tue Jun 14, 2016 3:41 pm
Location: L'viv, Ukraine

Re: ViciPhone - Our WebRTC Phone

Postby ngtechnologies » Sat Sep 02, 2017 11:35 pm

chornyi_taras wrote:
ngtechnologies wrote:
thirdhatch wrote:We figured out the issues with PBXWebPhone. But we are having trouble getting it to work with Firefox. It only works with Chrome.


We upgraded to PHP7 in our web server (actually tried to upgrade PHP5 to PHP7 and broke Vicidial, was new install with PHP7 installed before any Vicidial or prerequisites were added) and works Chrome and Firefox, but not IE or Edge. So far we have had 70 agents logged in and working with no issues.


Scratch install Vicidial on Centos6
1 database server
1 webserver PHP7
4 asterisk boxes
1 admin server/database slave


so you have patched asterisk to have webphone working in Firefox?
regarding Edge support- sipJs supposed to support it in nearest future https://github.com/onsip/SIP.js/issues/432


No patching, actually we told agents to use Chrome and a few didn't listen and were using Firefox without issues.
ngtechnologies
 
Posts: 5
Joined: Mon Mar 27, 2017 11:13 am

Re: ViciPhone - Our WebRTC Phone

Postby ngtechnologies » Sat Sep 02, 2017 11:39 pm

Any update when the actual ViciPhone will be available for production use?
ngtechnologies
 
Posts: 5
Joined: Mon Mar 27, 2017 11:13 am

Re: ViciPhone - Our WebRTC Phone

Postby mcargile » Wed Oct 11, 2017 1:14 pm

We are getting ready to fully release ViciPhone. Currently doing some code clean up and finishing up the documentation.

If you have been beta testing ViciPhone, please read this topic:

viewtopic.php?f=3&t=37729
Michael Cargile | Director of Consulting | ViciDialGroup | www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 547
Joined: Tue Jan 16, 2007 9:38 am


Return to Development

Who is online

Users browsing this forum: No registered users and 4 guests