We are using a commercial load balancer in front of a pair of OpenSIPs proxies 
(V1.6.1).

The proxies add a Via header of the form:

Via: SIP/2.0/UDP 
XXX.XXX.XXX.XXX:5060;received=YYY.YYY.YYY.YYY;branch=z9hG4bK0eB35ab4ec1c3e0e2d3

... and forward() on the request.

The replies received by the proxy are then sent to YYY.YYY.YYY.YYY (the load 
balancer) but it can't figure out where to send them (so they appear to get 
dropped).  The replies need to get sent to XXX.XXX.XXX.XXX instead.

Is there some way I can remove the "received=YYY.YYY.YYY.YYY;" portion from the 
Via?

I've tried using subst("/received=YYY\.YYY\.YYY\.YYY//") in the local_route and 
adding the same subst() call just before the forward() but those didn't work.

Thanks!

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to