WebRTC based webphone for Vicidial

Any and all non-support discussions

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

WebRTC based webphone for Vicidial

Postby chornyi_taras » Mon Jun 20, 2016 12:25 pm

Hi all,

Wanted to share with community webphone for vicidial. It is based on SIP.js library and released under MIT license.
More information you can find at project page on github https://chornyitaras.github.io/PBXWebPhone/

Webphone was tested with ViciBox: 7.0.3 | VERSION: 2.12-559a BUILD: 160611-2230.

It supports autoanswer, so no action from agent required (just login and start work )
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Wed Jun 22, 2016 11:03 am

I create my csr @ https://www.hostgator.com/generatecsr and they send to me csr code and rsa key code, then i bought my ssl certificate @ https://www.ssls.com/ssl-certificates/geotrust-rapidssl for $9.95 and they send to me intermediate.csr, hostname.ca-bundle and hostname.p7b i found that

privkey.pem = rsa private
cert.pem = certificate
fullchain.pem = ?
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Wed Jun 22, 2016 12:27 pm

if it's for Apache you can skip setting SSLCertificateChainFile or
from wiki
Code: Select all
    #   Alternatively the referenced file
    #   can be the same as SSLCertificateFile when the CA
    #   certificates are directly appended to the server
    #   certificate for convinience.
Last edited by chornyi_taras on Wed Jun 22, 2016 1:00 pm, edited 1 time in total.
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Wed Jun 22, 2016 12:35 pm

iboam wrote:then i bought my ssl certificate


why not to use https://letsencrypt.org/
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Wed Jun 22, 2016 4:12 pm

I did it before read your post, my server it's running under this ssl and works fine without the pems file ... so may i skip this step under apache or it's required ????? because i have tried several times and can't get it
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Wed Jun 22, 2016 4:33 pm

If you can connect to Vicidial agent screen using secure connection (https://domain/agc...) you can skip Apache configuration section.
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby williamconley » Wed Jun 22, 2016 4:33 pm

Once SSL's running, ignore everyone and stop modifying your system.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 19730
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WebRTC based webphone for Vicidial

Postby iboam » Wed Jun 22, 2016 4:49 pm

i dismiss all pem settings. i'm getting an error: "An Error occurred while connecting to the websocket."

asterisk:
Code: Select all
[Jun 22 17:49:46] ERROR[26496][C-00000359]: res_rtp_asterisk.c:1344 ast_rtp_dtls_set_configuration: Specified certificate file '/patch/to/your/cert.pem' for RTP instance '0x7f9604001388' could not be used
[Jun 22 17:49:46] ERROR[26496][C-00000359]: chan_sip.c:5731 dialog_initialize_dtls_srtp: Attempted to set an invalid DTLS-SRTP configuration on RTP instance '0x7f9604001388'
[Jun 22 17:49:46] NOTICE[26496][C-00000359]: channel.c:5690 __ast_request_and_dial: Unable to request channel SIP/5000
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Wed Jun 22, 2016 5:01 pm

You need to configure asterisk. Asterisk works only with pem format. You can convert your SSL certificate and private key using openssl.
http://stackoverflow.com/questions/9917 ... -crt-files
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby williamconley » Wed Jun 22, 2016 5:24 pm

OK: So you got SSL working but NOT the webrtc wss. Note that "/patch/to/your/cert.pem" should be replaced with the Actual "PATH" (not patch) and filename of the pem file after you've created it. Assuming you were not supplied with one when you purchased your cert.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 19730
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Wed Jun 22, 2016 5:50 pm

It can help
Code: Select all
openssl pkcs7 -in certificate_file.p7b -print_certs -out cert.pem
openssl rsa -in /path_to_your_rsa_private -outform pem > privkey.pem
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Wed Jun 22, 2016 6:08 pm

williamconley wrote:"PATH" (not patch)

Updated wiki. Thanks
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Thu Jun 23, 2016 5:15 pm

It's weird ... i did everything from https://github.com/chornyitaras/PBXWebPhone/wiki and can't get it to work then tried SIPML5 and it is up and running, very stable.
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Thu Jun 23, 2016 5:21 pm

Do you see any errors?
Are you using latest source of PBXWebPhone?
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Thu Jun 23, 2016 5:44 pm

Yes i downloaded yesterday after the mute update. now i have running SIPML5 i just have to auto-register and auto answer when vicidial call to the webphone, but it's very stable
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Thu Jun 23, 2016 5:46 pm

What about errors? Do you see any of them when using PBXWebPhone?
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Wed Jul 20, 2016 1:26 pm

have you installed a server from scratch with this webphone ?? there are not any missing steps on the description ?? i bought a real ssl certificate i have this files *.crt, *.key, *.ca-bundle, *.csr, *.p7b
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Thu Jul 21, 2016 11:25 am

iboam wrote:have you installed a server from scratch with this webphone ?? there are not any missing steps on the description ?? i bought a real ssl certificate i have this files *.crt, *.key, *.ca-bundle, *.csr, *.p7b

Yes I have. I've installedinstalled a server from scratch with this webphone.
You need to conver your SSL serteficate/key to pem format, so asterisk can work with them.
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Thu Jul 21, 2016 12:09 pm

ok i have some questions ....
1- would be posible if i install the ssl to use ip phones for some users ???
2- how do i install the ssl certificate that i already bought
3- how do i convert my ssl certificate to pem
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby williamconley » Thu Jul 21, 2016 12:17 pm

I think you should start here: http://bfy.tw/6qn7
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 19730
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Thu Jul 21, 2016 12:18 pm

iboam wrote:ok i have some questions ....
1- would be posible if i install the ssl to use ip phones for some users ???

yes
iboam wrote:2- how do i install the ssl certificate that i already bought

for apache and asterisk - follow corresponding section in Wiki https://github.com/chornyitaras/PBXWebPhone/wiki
iboam wrote:3- how do i convert my ssl certificate to pem

openssl pkcs7 -in certificate_file.p7b -print_certs -out cert.pem
openssl rsa -in /path_to_your_rsa_private -outform pem > privkey.pem
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Thu Jul 21, 2016 12:25 pm

chornyi_taras wrote:
iboam wrote:ok i have some questions ....
1- would be posible if i install the ssl to use ip phones for some users ???

yes
iboam wrote:2- how do i install the ssl certificate that i already bought

for apache and asterisk - follow corresponding section in Wiki https://github.com/chornyitaras/PBXWebPhone/wiki
iboam wrote:3- how do i convert my ssl certificate to pem

openssl pkcs7 -in certificate_file.p7b -print_certs -out cert.pem
openssl rsa -in /path_to_your_rsa_private -outform pem > privkey.pem

SSLCertificateChainFile /path/to/your/fullchain.pem ???
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Thu Jul 21, 2016 12:27 pm

You can skip this setting
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Thu Jul 21, 2016 12:28 pm

ok letme try and i let you know .... could we do an screen share in 2 hours ???
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Thu Jul 21, 2016 12:29 pm

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

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

Re: WebRTC based webphone for Vicidial

Postby iboam » Thu Jul 21, 2016 12:33 pm

ok thanks !!!! i letyou know
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby iboam » Thu Jul 21, 2016 1:22 pm

williamconley wrote:I think you should start here: http://bfy.tw/6qn7

That was funny LOL
ViciBox: 9.0.3 | VERSION: 2.14-787a BUILD: 210211-1145 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 246
Joined: Mon Feb 08, 2016 2:35 pm

Re: WebRTC based webphone for Vicidial

Postby williamconley » Thu Jul 21, 2016 1:31 pm

iboam wrote:
williamconley wrote:I think you should start here: http://bfy.tw/6qn7

That was funny LOL

I thought you might.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 19730
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WebRTC based webphone for Vicidial

Postby rustynail » Wed Nov 29, 2017 5:14 am

Hey guys,

I am having a strange problem. I have successfully configured PBXWebphone and its working fine but there are couple of pcs from where it wouldn't work and throws error: I have compared the logs from successful pc and from unsuccessful and both are same except from the line where error is show. Chrome version is also same on both locations.

Error log is attached.

https://pastebin.com/qvegcwxK

Cheers!
rustynail
 
Posts: 58
Joined: Mon Nov 21, 2016 6:21 pm

Re: WebRTC based webphone for Vicidial

Postby williamconley » Wed Nov 29, 2017 9:19 am

rustynail wrote:Hey guys,

I am having a strange problem. I have successfully configured PBXWebphone and its working fine but there are couple of pcs from where it wouldn't work and throws error: I have compared the logs from successful pc and from unsuccessful and both are same except from the line where error is show. Chrome version is also same on both locations.

Error log is attached.

https://pastebin.com/qvegcwxK

Cheers!

Have you tried moving the agents between working and non-working? See if the problem follows the user/phone to the new workstation.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 19730
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WebRTC based webphone for Vicidial

Postby chornyi_taras » Wed Nov 29, 2017 6:13 pm

Can you please open https://203.37.28.55:8089/ws on PC that have issue with webphone?
ViciBox: 7.0.3 | VERSION: 2.12-560aBUILD: 160617-1427 | Webphone: PBXWebPhone

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

Re: WebRTC based webphone for Vicidial

Postby rustynail » Thu Jan 18, 2018 4:46 am

Sorry for delay is response... its working fine now. Thanks for a wonderful product.
Thread can be closed now as its solved.
Cheers
rustynail
 
Posts: 58
Joined: Mon Nov 21, 2016 6:21 pm

Re: WebRTC based webphone for Vicidial

Postby virtualsky » Fri May 29, 2020 4:56 am

chornyi_taras wrote:Hi all,

Wanted to share with community webphone for vicidial. It is based on SIP.js library and released under MIT license.
More information you can find at project page on github https://chornyitaras.github.io/PBXWebPhone/

Webphone was tested with ViciBox: 7.0.3 | VERSION: 2.12-559a BUILD: 160611-2230.

It supports autoanswer, so no action from agent required (just login and start work )


I have installed it successfully so it is showing on agc only Ready and Mute..no web phone is showing..Am I missing something?
virtualsky
 
Posts: 23
Joined: Mon Jul 18, 2016 3:53 am

Re: WebRTC based webphone for Vicidial

Postby williamconley » Fri May 29, 2020 3:33 pm

Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 19730
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WebRTC based webphone for Vicidial

Postby virtualsky » Sat May 30, 2020 2:32 am

williamconley wrote:https://viciphone.com/


It worked, thanks William but I just want to know does PBXWebPhone deprecated or is it for some other version?
virtualsky
 
Posts: 23
Joined: Mon Jul 18, 2016 3:53 am

Re: WebRTC based webphone for Vicidial

Postby regiospartanmty » Tue Aug 11, 2020 11:50 am

williamconley wrote:https://viciphone.com/



gracias!
regiospartanmty
 
Posts: 1
Joined: Fri Aug 07, 2020 9:03 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 36 guests