How Set up Cluster of Viciphone or WebRTC

All installation and configuration problems and questions

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

How Set up Cluster of Viciphone or WebRTC

Postby PJ111288 » Mon Jul 13, 2020 1:44 pm

Hi All,

I am trying to Set up Cluster of Viciphone or WebRTC and i have two ready servers and i want to make a master(DB+Web) server and 2nd Asterisk server. I tried to make it by https://viciphone.com/?page_id=353 but when i try to login agent so call viciphone does not register because it is not finding asterisk which is selected in phone but its working with xlite and getting ringback and agent successfully logged in. So system is working fine and but with viciphone it is not.

both servers are tested individually with viciphone without any issue but when i am trying to do clustering so i am not able to.

Could anyone suggest something on it.

Please let me know if anything you need more information!

Centos 6.10
Vicidial version 2.14
PJ111288
 
Posts: 71
Joined: Tue Nov 13, 2018 7:41 am

Re: How Set up Cluster of Viciphone or WebRTC

Postby carpenox » Mon Jul 13, 2020 2:01 pm

do you have the templates pulling from there own SSL certs? Also for the viciphone layout are they all pointed to one server? finally, the external ip needs to be set for webphone to whichever server has the viciphone.php
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: How Set up Cluster of Viciphone or WebRTC

Postby PJ111288 » Mon Jul 13, 2020 2:26 pm

carpenox wrote:do you have the templates pulling from there own SSL certs? Also for the viciphone layout are they all pointed to one server? finally, the external ip needs to be set for webphone to whichever server has the viciphone.php


Hi Carpenox,

The Saviour...

yes i have templates, as i mentioned that individually server is running fine with viciphone.


finally, the external ip needs to be set for webphone to whichever server has the viciphone.php[/quote]

Can you show where i need to set external ip ?

Many Thanks.
PJ111288
 
Posts: 71
Joined: Tue Nov 13, 2018 7:41 am

Re: How Set up Cluster of Viciphone or WebRTC

Postby PJ111288 » Mon Jul 13, 2020 2:35 pm

Also do i need SSL or domain for each cluster server or asterisk server like Master server to define in ADMIN>>SERVER>>Web Socket URL?
PJ111288
 
Posts: 71
Joined: Tue Nov 13, 2018 7:41 am

Re: How Set up Cluster of Viciphone or WebRTC

Postby carpenox » Mon Jul 13, 2020 7:11 pm

Ssl cert and wss needs to be applied to each server itself. The viciphone url in: Admin > servers needs to be set to the same as the server is currently running on and above that setting is where u set external ip on the other servers to the ip of the server with the viciphone
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: How Set up Cluster of Viciphone or WebRTC

Postby PJ111288 » Thu Jul 16, 2020 6:31 am

Hi Carpenox,

Thank you very much. I was able to do this successfully after your advise.

Many thanks and Stay safe. :)
PJ111288
 
Posts: 71
Joined: Tue Nov 13, 2018 7:41 am

Re: How Set up Cluster of Viciphone or WebRTC

Postby carpenox » Thu Jul 16, 2020 9:33 pm

no prob, glad to help
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: How Set up Cluster of Viciphone or WebRTC

Postby rheymzkilove » Thu Aug 27, 2020 4:17 am

Hi ,
i Have configure on standalone set up with WEBRTC (pbxwebphone) and it works fine but now, im trying to work it with cluster set UP but still no luck
i have 2 servers and this set up is also working fine with using a softphone. and i need to get it work using a webphone

1 S1(DB +WEB ex. IP 192.168.1.20) with https working
1 S2 (Asterisk server ex. IP 192.168.1.25)

im confused on what to set on the settings on ADmin> Server for S1 and S2

For S1 (DB +WEB)
External Server IP: 192.168.1.20
Web Socket URL: wss://s1.testme.com:8089/ws
External Web Socket URL:

For S2 (Asterisk )
External Server IP: 192.168.1.25
Web Socket URL: wss://s1.testme.com:8089/ws
External Web Socket URL:


what is the best config to get it work
please help

Thanks
REy

Vicibox 8.1
VERSION: 2.14-763a
BUILD: 200719-1645
rheymzkilove
 
Posts: 39
Joined: Fri Oct 19, 2012 2:57 pm

Re: How Set up Cluster of Viciphone or WebRTC

Postby carpenox » Thu Aug 27, 2020 1:46 pm

you need to change it to external web socket url for server 2
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: How Set up Cluster of Viciphone or WebRTC

Postby rheymzkilove » Thu Aug 27, 2020 7:40 pm

So is this? put wss://s1.testme.com:8089/ws

External Server IP: 192.168.1.25
Web Socket URL:
External Web Socket URL: wss://s1.testme.com:8089/ws

i will try this one

Thanks
REy
rheymzkilove
 
Posts: 39
Joined: Fri Oct 19, 2012 2:57 pm

Re: How Set up Cluster of Viciphone or WebRTC

Postby rheymzkilove » Fri Aug 28, 2020 1:00 am

hi ,

now i get on CLI

PBxwephone shows READY but when logging in shows TERMINATED

[Aug 28 01:56:54] == WebSocket connection from 'XXX.XXX.XXX.XXX:18909' for protocol 'sip' accepted using version '13'
[Aug 28 01:56:55] -- Registered SIP '1599' at XXX.XXX.XXX.XXX:18909
[Aug 28 01:56:55] == WebSocket connection from 'XXX.XXX.XXX.XXX:23921' forcefully closed due to fatal write error
[Aug 28 01:56:56] == Manager 'sendcron' logged on from 127.0.0.1
[Aug 28 01:56:56] == DTLS ECDH initialized (automatic), faster PFS enabled
[Aug 28 01:56:56] == Using SIP RTP CoS mark 5
[Aug 28 01:56:56] -- Called 1599
[Aug 28 01:56:57] -- SIP/1599-00000006 is ringing
[Aug 28 01:56:57] -- SIP/1599-00000006 is busy

Thanks
REy
rheymzkilove
 
Posts: 39
Joined: Fri Oct 19, 2012 2:57 pm

Re: How Set up Cluster of Viciphone or WebRTC

Postby carpenox » Fri Aug 28, 2020 8:07 am

thats either a permissions issue with the directory its writing to or a space issue...i believe
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: How Set up Cluster of Viciphone or WebRTC

Postby rheymzkilove » Wed Sep 02, 2020 1:04 am

This is working now thanks....
rheymzkilove
 
Posts: 39
Joined: Fri Oct 19, 2012 2:57 pm

Re: How Set up Cluster of Viciphone or WebRTC

Postby carpenox » Wed Sep 02, 2020 10:12 am

no problem, glad i could help. What was the final issue?
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 Support

Who is online

Users browsing this forum: Google [Bot] and 85 guests