No there is no such thing as magic.

The most obvious way to implement the RTP port handling, is to first open the next UDP port in the OS, and then report that back in the Invite/200Ok. If the port cannot be opened, then simply try the next in line.


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 01:52 PM, przeqpiciel wrote:
Maybe there is an magic device? I know that if we have an asterisk, that become to us with default configuration of rtp ports sets to 10000_20000. And each call choose the one port fron that range. So if we have several asterisks with default configuratiin of rtp, there is possibilities to have 2 concurent calls each through another asterisk instance with this same rtp port. Am i right?

So mqybe this magic device could see source IP address and route rtp to correct adterisk?

13.03.2017 7:15 AM "Alex Balashov" <abalashov@evaristesys.com> napisaƂ(a):
On Mon, Mar 13, 2017 at 07:08:09AM +0100, Kjeld Flarup wrote:

> We run multiple Asterisk instances since 1.4 and never configured RTP ports.
>
> More challenging issues are the Asterisk DB, and the Asteisk home.

You may not have enough calls for RTP port collisions to become an
issue. Otherwise, I'm not sure how you're avoiding it, since Asterisk
isn't aware of which ports from within the range are in use.

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users