WebRTC vicibox 9.0.2

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

WebRTC vicibox 9.0.2

Postby Fares MEHENI » Tue Jun 30, 2020 7:32 am

Hi all,
I followed several guides and tutorials to set up the WebRTC but I am lost. Someone has a guide or a link that works well?
vicibox 9.0.2
ssl for web works.

but viciphone don't want to get connected. (conn.failed)
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am

Re: WebRTC vicibox 9.0.2

Postby carpenox » Tue Jun 30, 2020 7:34 am

viewtopic.php?f=3&t=39028 read it all the way thru if u still have problems let me know
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: WebRTC vicibox 9.0.2

Postby Fares MEHENI » Tue Jun 30, 2020 8:15 am

thank you very much i keep you posted.
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am

Re: WebRTC vicibox 9.0.2

Postby carpenox » Tue Jun 30, 2020 8:53 am

you can kind of go towards the end of the discussion....but viciphone.com is good for setup instructions and the ccabrerra github is the good source code to use
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: WebRTC vicibox 9.0.2

Postby Fares MEHENI » Sat Jul 04, 2020 9:30 am

HI carpenox,

I followed the tutorial from ( https://viciphone.com/?page_id=346) step by step but it does not work.

-Vicibox 9.0.2
- firewalld disabled
- A VALID SSL certificate
- A Fully Qualified Domain Name for the server work succefully with https

-Template :

type=friend
host=dynamic
encryption=yes
avpf=yes
icesupport=yes
directmedia=no
transport=wss
force_avp=yes
dtlsenable=yes
dtlsverify=no
dtlscertfile=/etc/certbot/live/www.vici.prostats.fr/cert.pem
dtlsprivatekey=/etc/certbot/live/www.vici.prostats.fr/privkey.pem
dtlssetup=actpass
rtcp_mux=yes

Web Socket URL: wss://vici.prostats.fr:8089/ws

Webphone URL: https://phone.viciphone.com/viciphone.php

And i did all this :


Steps:
Edit /etc/asterisk/http.conf
Uncomment ‘enabled=yes’
Uncomment and change ‘bindaddr=0.0.0.0’
Uncomment ‘bindport=8088’
Uncomment ‘tlsenable=yes’
Uncomment ‘tlsbindaddr=0.0.0.0:8089’
Uncomment and change ‘tlscertfile’ to read: tlscertfile=/PATH/TO/YOUR/SSL/CERT/FILE
Uncomment and change ‘tlsprivatekey’ to read: tlsprivatekey=/PATH/TO/YOUR/SSL/KEY/FILE
Save /etc/asterisk/http.conf
Make sure that TCP port 8089 is open in the servers firewall.
Edit /etc/asterisk/modules.conf
Make sure that the res_http_websocket.so module is being loaded.
Reboot the server.
On the Linux CLI run this command: asterisk -rx ‘http show status’
Check the output from the above command to make sure it says “HTTPS Server Enabled and Bound to 0.0.0.0:8089”
That should be it. Please note that “/PATH/TO/YOUR/SSL/CERT/FILE” should be replaced with the full Linux file system path to your SSL certificate file and “/PATH/TO/YOUR/SSL/KEY/FILE” should be replaced with the full Linux file system path to the SSL key file that goes with the certificate file.


In the Admin interface of VICIdial go to Admin -> Phones and edit the agent’s phone.
On that phone change the following fields to:
Set As Webphone: Y
Webphone Auto-Answer: Y
Use External Server IP: Y
Template ID: (select the template created in step #6)
Have the agent log into the HTTPS encrypted agent web interface.
Once they have selected the campaign and
clicked “submit”, VICIphone should be launched with all of the correct settings. It
runs embedded in the upper right corner of the agent’s browser, as part of their VICIdial agent interface.

and the phone does not want to register with the following error on the CLI:


[Jul 4 16:29:28] ERROR[1851]: chan_sip.c:4271 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns error for pkt data
[Jul 4 16:29:32] ERROR[13706]: tcptls.c:731 handle_tcptls_connection: Problem setting up ssl connection with peer '160.174.129.51:65137': error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Jul 4 16:29:32] WARNING[13706]: tcptls.c:823 handle_tcptls_connection: FILE * open failed from peer '160.174.129.51:65137'!
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am

Re: WebRTC vicibox 9.0.2

Postby carpenox » Sat Jul 04, 2020 9:41 am

i dont use the viciphone url, i installed the viciphone too from the github by ccabrerra in that link i sent you
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: WebRTC vicibox 9.0.2

Postby carpenox » Sat Jul 04, 2020 9:42 am

so my webphone url is https://server1.cyburity.tk/ViciPhone/viciphone.php if u wanna try mine and see if it works, but i advice using cabrerra's github link to install it on your own server: https://github.com/ccabrerar/ViciPhone git clone it
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: WebRTC vicibox 9.0.2

Postby Fares MEHENI » Sat Jul 04, 2020 12:03 pm

carpenox wrote:so my webphone url is https://server1.cyburity.tk/ViciPhone/viciphone.php if u wanna try mine and see if it works, but i advice using cabrerra's github link to install it on your own server: https://github.com/ccabrerar/ViciPhone git clone it



I have downloaded your phone to my server but it blocks on conneting when I log in and it gives the following error on the CLI:


[Jul 4 19:00:43] ERROR[21037]: tcptls.c:731 handle_tcptls_connection: Problem setting up ssl connection with peer '160.174.129.51:65482': error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Jul 4 19:00:43] WARNING[21037]: tcptls.c:823 handle_tcptls_connection: FILE * open failed from peer '160.174.129.51:65482'!
[Jul 4 19:00:43] ERROR[21038]: tcptls.c:731 handle_tcptls_connection: Problem setting up ssl connection with peer '160.174.129.51:65484': error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Jul 4 19:00:43] WARNING[21038]: tcptls.c:823 handle_tcptls_connection: FILE * open failed from peer '160.174.129.51:65484'!
[Jul 4 19:00:47] ERROR[21044]: tcptls.c:731 handle_tcptls_connection: Problem setting up ssl connection with peer '160.174.129.51:65485': error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Jul 4 19:00:47] WARNING[21044]: tcptls.c:823 handle_tcptls_connection: FILE * open failed from peer '160.174.129.51:65485'!
[Jul 4 19:00:51] ERROR[21049]: tcptls.c:731 handle_tcptls_connection: Problem setting up ssl connection with peer '160.174.129.51:65486': error:00000001:lib(0):func(0):reason(1), Internal SSL error
[Jul 4 19:00:51] WARNING[21049]: tcptls.c:823 handle_tcptls_connection: FILE * open failed from peer '160.174.129.51:65486'!
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am

Re: WebRTC vicibox 9.0.2

Postby carpenox » Sat Jul 04, 2020 7:09 pm

What ip is that? Your server?
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: WebRTC vicibox 9.0.2

Postby Fares MEHENI » Sun Jul 05, 2020 7:35 am

ahhhhhh ok
Last edited by Fares MEHENI on Mon Jul 06, 2020 6:11 am, edited 1 time in total.
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am

Re: WebRTC vicibox 9.0.2

Postby carpenox » Sun Jul 05, 2020 11:33 am

no i meant the 160.174.129.51 IP
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: WebRTC vicibox 9.0.2

Postby Fares MEHENI » Mon Jul 06, 2020 6:10 am

carpenox wrote:no i meant the 160.174.129.51 IP



This is the agent station ip
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am

Re: WebRTC vicibox 9.0.2

Postby carpenox » Mon Jul 06, 2020 9:52 am

ok and youre trying to use my webphone interface or you downloaded the github one and set it up on your own server(i suggest this)?
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: WebRTC vicibox 9.0.2

Postby Fares MEHENI » Tue Jul 07, 2020 6:38 am

carpenox wrote:ok and youre trying to use my webphone interface or you downloaded the github one and set it up on your own server(i suggest this)?




Yes it's good the phone works very well thank you :D I download your webphone but on this webphone you can not make a manual call directly on the webphone in the case for example we want to apply an exentension locally. on the Vicidial webphone it works
Fares MEHENI
 
Posts: 60
Joined: Thu Oct 17, 2019 2:43 am

Re: WebRTC vicibox 9.0.2

Postby carpenox » Tue Jul 07, 2020 11:17 am

ok cool, glad i could help. good postback
Alma Linux 9.3 | Version: 2.14-911a | SVN Version: 3815 | DB Schema Version: 1710 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 2230
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 62 guests