[OpenSIPS-Users] NATed REGISTERs are failing
    Iñaki Baz Castillo 
    ibc at aliax.net
       
    Wed Oct 29 23:04:12 CET 2008
    
    
  
El Miércoles, 29 de Octubre de 2008, Bogdan-Andrei Iancu escribió:
> By any chance, do you have a "reply_to_via=1" in your config (in the
> global parameter block) ?
But anyway... why should be Via sent-by be used to send the response?
RFC 3261 says clearly that if a proxy receives a request in which Via sent-by 
differs from real source address, then "received=PUBLIC_IP" must be added to 
top Via.
If the request is forwarded stateless, when the reply arrives it must be sent 
to the "received" address (if it exists).
AFAIK "reply_to_via=1" is needed for implementing a stateless proxy with 
OpenSIPS, isn't it? But in that case, the responses must be sent 
to "received" address when present.
Am I wrong?
-- 
Iñaki Baz Castillo
    
    
More information about the Users
mailing list