[OpenSIPS-Users] mediaproxy media_relay_avp

Dan Pascu dan at ag-projects.com
Wed Jan 20 22:27:19 CET 2010

On 19 Jan 2010, at 20:31, Jeff Pyle wrote:

> Hello,
> The relays in my network use a different interface for relaying  
> packets than they do for other machine operations.  For example, a  
> relay's eth0 IP may be 207.x.x.x, while its eth1 is 66.x.x.x, and  
> the relay IP as defined by config.ini is the 66.x.x.x address.  This  
> works fine for the most part.
> I now have a need to start specifying media relays with the  
> media_relay_avp parameter in Opensips.  Do I specify the 207.x.x.x  
> IP address the relay uses to connect to the dispatcher, or the  
> 66.x.x.x IP the relay uses to relay RTP?

you need to specify the address the relay used to connect to the  

> The media_relay_avp documentation says, "... it will be preferred by  
> the dispatcher over the normal selection algorithm."  Is it accurate  
> to say that if the specified relay is not available, the dispatcher  
> will revert to its regular selection?  Or, will no relay be used at  
> all?

it will be preferred, but if not found/unavailable it'll fall back to  
the default selection mechanism. it will just get the highest priority  
in the search list if you will.


More information about the Users mailing list