We run multiple Asterisk instances since 1.4 and never configured RTP ports.
More challenging issues are the Asterisk DB, and the Asteisk home.
Med venlig hilsen / Best regards Kjeld Flarup (Christensen) M.Sc E.E, Teknisk chef Viptel ApS, Hammershusvej 16C, DK-7400 Herning Telefon: +45 46949949, Telefax: +45 46949950, http://viptel.dk
On 03/13/2017 12:02 AM, Alex Balashov wrote:
On Sun, Mar 12, 2017 at 10:48:37PM +0100, przeqpiciel wrote:
Thank you for your respond. Obviously, I could set a port range per instance of Asterisk but I though about something more dynamic. But when I think on it more deep there is no any other solution.
Trying to run concurrent instances of something like Asterisk on a single host is very challenging for this, among other reasons.
I recommend containerisation of some sort, e.g. OpenVZ. Give it a very lightweight "host" environment of its own, with distinct networking. Then the full range of ports will be available to every instance.