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.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
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: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: RTP Settings - Cluster Setup

Postby williamconley » Thu Jul 18, 2024 11:41 am

Ordinarily the RTP ports can overlap since those are chosen from unused-at-present ports.

But the SIP port (normally 5060) can't be shared since it's a specific port and is forwarded to a specific machine. Thus 5060 for one and 5061 for the next.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 62 guests