[Devel] [PATCH] mediaproxy module and src-ip AVP
Dan Pascu
dan at ag-projects.com
Wed Apr 26 20:01:25 CEST 2006
On Wednesday 26 April 2006 20:28, Klaus Darilion wrote:
> Andreas Granig wrote:
> > Hi,
> >
> > I ran into a problem with mediaproxy and a load-balanced system
> > setup. use_media_proxy() on a backend-proxy passes the src-ip of the
> > request, which is the address of the load-balancer, to the proxy
> > dispatcher, so media relaying then does not work.
>
> Why does the mediaproxy need to know the src-ip. Shouldn't it just send
> back symmetrically? And for asymmetrical operation use the IP from the
> SDP?
It doesn't. The signaling IP is just a hint from where to expect media for
that phone, so the caller/called will be correctly identified when they
sign in and not be confused with eachother. But it's not vital, it's just
a helper and things should work even if it's not set correctly.
If this doesn't work in that scenario, I think a better solution is to
improve the sign-in mechanism, than to complicate the mediaproxy setup
process with extra avps. One of the reasons behind mediaproxy's design is
to move the complex setup logic in the background (in mediaproxy itself)
instead of requiring the user to pass many arguments/avps to control the
behavior.
--
Dan
More information about the Devel
mailing list