Vicidial cluster mode with webrtc phone and carrier setup

All installation and configuration problems and questions

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

Vicidial cluster mode with webrtc phone and carrier setup

Postby jayboo876 » Wed Jul 06, 2022 6:37 am

Hi, I have vicibox 10 installation using downloaded iso and using the ViciBox_v9-install.pdf guide. The only addition I made was to upgrade asterisk to as16 using the vicibox-as16. I have a 5 server setup with db1 + (web1/archive) + web2 + (asterisk1/web) + (asterisk2/web). Note, I read post in this forum that indicated to install apache2 on asterisk servers if webrtc phones will be used.

However, I looking for some suggestions on best practices on distributing traffic across multiple servers;
- webrtc phones across the two (or more) asterisk/web servers
- web traffic the two (or more) web servers
- distributing carrier registration across multiple asterisk servers

I already If this is already covered in another post please add link here, or provide reference to the section in the admin manual manual that covers it. Looking for to any insight or suggestions.

Thanks
jayboo876
 
Posts: 38
Joined: Sat Apr 02, 2022 12:51 pm

Re: Vicidial cluster mode with webrtc phone and carrier setu

Postby carpenox » Wed Jul 06, 2022 6:53 am

Use the bulk phone insert link in the admin utilities to add phones to all your asterisk servers and create phone alias'

once you have phones on other dialers, they will start being used to dial from as well, using balanced dialing which you can set in "admin" then "servers"

Load balancing web servers can be done using njinx of which there is many articles on google on how to do so.

Hope this helps a bit

Chris
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: Vicidial cluster mode with webrtc phone and carrier setu

Postby jayboo876 » Wed Jul 06, 2022 7:56 am

carpenox wrote:Use the bulk phone insert link in the admin utilities to add phones to all your asterisk servers and create phone alias'

once you have phones on other dialers, they will start being used to dial from as well, using balanced dialing which you can set in "admin" then "servers"

Load balancing web servers can be done using njinx of which there is many articles on google on how to do so.

Hope this helps a bit

Chris


Thanks Chris. This was really helpful. With regards to distributing traffic with my carrier, this is SIP only, and it seems I can only register carrier on a single asterisk. So am I correct to say inbound/outbound calls will terminate on same asterisk, or is there some other native config that will allow all asterisks to have the registration information?

Thanks
jayboo876
 
Posts: 38
Joined: Sat Apr 02, 2022 12:51 pm

Re: Vicidial cluster mode with webrtc phone and carrier setu

Postby carpenox » Wed Jul 06, 2022 6:53 pm

Yea it will go thru iax tunnels
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: Vicidial cluster mode with webrtc phone and carrier setu

Postby williamconley » Mon Jul 11, 2022 11:25 am

jayboo876 wrote:
carpenox wrote:Use the bulk phone insert link in the admin utilities to add phones to all your asterisk servers and create phone alias'

once you have phones on other dialers, they will start being used to dial from as well, using balanced dialing which you can set in "admin" then "servers"

Load balancing web servers can be done using njinx of which there is many articles on google on how to do so.

Hope this helps a bit

Chris


Thanks Chris. This was really helpful. With regards to distributing traffic with my carrier, this is SIP only, and it seems I can only register carrier on a single asterisk. So am I correct to say inbound/outbound calls will terminate on same asterisk, or is there some other native config that will allow all asterisks to have the registration information?

Thanks


Registration is for INBOUND only. By design, your carrier will send your inbound calls to either your hard-coded IP address OR your registered IP address, depending on how your carrier configures your DID. If you are using a registered SIP account for DID routing, the LAST asterisk server that successfully registered to the trunk will get the call. You may have multiple asterisk servers registering, and they will register at timed intervals (which are controlled by settings in sip.conf or sip-vicidial.conf).

None of which is related to outbound dialing. Outbound dialing is permitted by the carrier through hard-coded IP address authorization (in most cases) and may also be permitted through User/Password authentication as well (although there are a few Token-based carrier accounts, that merely a variation of user/pass IMHO).

So: Registration or IP for Inbound, which may rotate if you have multiple servers registering at intervals and user/pass and/or IP for outbound.

Also worthy of note: MOST carriers allow for a "hunt/failover" system of some sort, where you have multiple asterisk servers and the availability of the asterisk server(s) determine where the inbound calls route. This is so that a down server doesn't stop traffic flow, you have multiple servers so they would fail over to the next server in the hunt. If you talk to your carrier, they should have configuration options available for this (unless they are tiny or newly created). This method of failover and/or balancing is designed to allow control of the call flow and avoid the random nature of mutliple asterisk servers registering to a single sip account.
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: 20018
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Vicidial cluster mode with webrtc phone and carrier setu

Postby jayboo876 » Wed Jul 13, 2022 12:38 pm

@williamconley, Thanks for the detailed explanation. I now have a good understanding of the inbound/outbound call flows with multiple asterisks.

Thanks
jayboo876
 
Posts: 38
Joined: Sat Apr 02, 2022 12:51 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 69 guests