Page 1 of 1

RTP Settings - Cluster Setup

PostPosted: Sun Apr 21, 2024 4:05 pm
by antuan
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?

Re: RTP Settings - Cluster Setup

PostPosted: Tue Apr 23, 2024 6:48 am
by carpenox
you can leave it the same on all

Re: RTP Settings - Cluster Setup

PostPosted: Tue Apr 23, 2024 8:01 am
by antuan
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%?

Re: RTP Settings - Cluster Setup

PostPosted: Tue Apr 30, 2024 1:07 pm
by jamiemurray
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.

Re: RTP Settings - Cluster Setup

PostPosted: Thu Jul 18, 2024 11:41 am
by williamconley
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.