[OpenSIPS-Users] Mediaproxy: number port assignment

Ruud Klaver ruud at ag-projects.com
Tue Jan 13 10:18:05 CET 2009


Hi,

On 07 Jan 2009, at 13:06, mmarzuola at interfree.it wrote:

>
> Hi all.
> I have a question about assignment of the rtp ports by mediaproxy.
> When a call finishes the media-relay closes the ports previously  
> allocated.
> To the next call will be assigned random port numbers in the range  
> provided or is there an algorithm dedicated to the assignment?
>
> Thanks in advance.
>
> Marzuola Matteo

The media-relay simply assigns ports out of the configured port range  
sequentially. Whenever a set of ports is released, they are put at the  
end of the queue in order to maximize the time between port re-use.

Ruud Klaver
AG Projects



More information about the Users mailing list