Hello everyone,
In newer versions of rtpengine, before it starts listening on a port, it first checks the port against a queue of free ports (free_ports_q) to confirm its availability. This queue contains all ports that are within the configured port-min and port-max range and are not already in use by another session. If a requested port is not free, rtpengine will choose a different available port from this queue.
This can cause a problem with foreign sessions. If a port requested by a foreign session falls outside the port-min and port-max range, rtpengine will not listen on the original port. Instead, it chooses a random available port from its free ports queue. In systems that use floating IPs for High Availability (HA), this breaks the HA functionality, as it requires a re-INVITE to inform the peer of the new port being used for relaying media.
One potential solution is to use the same port-min and port-max range on all instances, but this could cause port conflicts between foreign and own sessions.
Is there another option in the rtpengine configuration to solve this problem? I would appreciate your thoughts on this.
--
You received this message because you are subscribed to the Google Groups "Sipwise rtpengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtpengine+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rtpengine/82f58bfd-61d7-436a-b510-f399c25982b6n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rtpengine/d489f19b-facc-4c17-95ad-35049603d8c6n%40googlegroups.com.