[OpenSIPS-Users] Redirecting REGISTER requests to another proxy

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Feb 4 14:18:55 CET 2011


Hi James,

it is a know issue that most of UAC do not properly implement 3xx for 
REGISTER requests... Talk to pjsip guys, they are really good and fast 
in fixing their stack.

About other solutions....complicated ones...If P1 receives the REGISTERs 
it needs to deal with the NAT issues and act as a mid registering for 
P2, the real register server. Like UAC registers via NAT to P1 and P1 
registers to P2. You can do this by playing with the contact when 
forwarding the REGISTER from P1 to P2.

Regards,
Bogdan

James Lamanna wrote:
> Hi,
> I'm trying to redirect a REGISTER request to a different proxy, mostly
> for load balancing purposes.
> The UAC is behind NAT, so in order to properly communicate directly
> with the next proxy, the UAC must send a new REGISTER request to the
> new proxy.
> I've tried sending back a 302 Moved Temporarily or 305 Use Proxy
> response, but the UAC I'm using (SJPhone) doesn't seem to respond
> favorably to either.
>
> Is there another approach I should take?
>
> Thanks.
>
> -- James
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami,  USA
OpenSIPS solutions and "know-how"




More information about the Users mailing list