RTP Settings - Cluster Setup

All installation and configuration problems and questions

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

RTP Settings - Cluster Setup

Postby antuan » Sun Apr 21, 2024 4:05 pm

Hello, I would like to ask when setting up a cluster and having 2 Asterisk servers in the /etc/asterisk/rtp.conf settings, the default port range is set to 10,000-20,000.

The question is, should I have 10,000 to 15,000 on the first Asterisk and 15,001 to 20,000 on the second one, or should I leave it the same (default 10,000-20,000) on both and will the Vicidialer cluster automatically distinguish this?

In other words, I never want to have the same RTP port output simultaneously from the 2 different Asterisk servers.

Which setting is correct for you?

In other words, does Asterisk understand which port the first Asterisk has opened since it is the Vicidialer in a cluster so that it does not give the same port to the second Asterisk?
Vicibox 11.0.1 from ViciBox_v11.x86_64-11.0.1.iso | VERSION: 2.14-906a - BUILD: 240214-2120 | Asterisk 16.30.0-vici | Cluster Servers | SVN: 3804| DB Schema: 1707 | No Digium/Sangoma Hardware | No Extra Software After Installation
antuan
 
Posts: 53
Joined: Mon Mar 21, 2016 6:10 pm

Re: RTP Settings - Cluster Setup

Postby carpenox » Tue Apr 23, 2024 6:48 am

you can leave it the same on all
Alma Linux 9.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2256
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: RTP Settings - Cluster Setup

Postby antuan » Tue Apr 23, 2024 8:01 am

carpenox wrote:you can leave it the same on all


Is it correct to leave the standard configuration the same for everyone?
The Provider told me that they noticed I was sending the same username and external IP to a different phone number, the same RTP port.
I don't know if it's actually possible and they didn't make a mistake.
So is it 100% correct to leave everything the same?
Does vicidialer differentiate 100%?
Vicibox 11.0.1 from ViciBox_v11.x86_64-11.0.1.iso | VERSION: 2.14-906a - BUILD: 240214-2120 | Asterisk 16.30.0-vici | Cluster Servers | SVN: 3804| DB Schema: 1707 | No Digium/Sangoma Hardware | No Extra Software After Installation
antuan
 
Posts: 53
Joined: Mon Mar 21, 2016 6:10 pm

Re: RTP Settings - Cluster Setup

Postby jamiemurray » Tue Apr 30, 2024 1:07 pm

If your servers are on the same NAT'd network and sharing one external IP, then you will have to specify different RTP port ranges for each server and forward the corresponding ports to the appropriate servers.
If each server uses a different external IP, this is not required and the servers can use the same port ranges.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 176
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands


Return to Support

Who is online

Users browsing this forum: No registered users and 80 guests

cron