The only thing you would see in the packet dump is:
Id Src ip Dst ip Content
1 212.X.X.X.X ser.box REGISTER
sip:mydomain.com
2 ser.box 192.168.0.64 SIP:401 Unauthorized
3 212.X.X.X.X ser.box REGISTER
sip:mydomain.com
4 ser.box 192.168.0.64 SIP:401 Unauthorized
5 212.X.X.X.X ser.box REGISTER
sip:mydomain.com
6 ser.box 192.168.0.64 SIP:401 Unauthorized
It seems that the www_challenge is sending the 401 to the internal IP,
however I can see that fix_nated_contact() is called before the
www_challenge in the routing script.
Kind regards,
E. Versaevel
-----Oorspronkelijk bericht-----
Van: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de]
Verzonden: donderdag 25 november 2004 19:43
Aan: E. Versaevel
CC: serusers(a)lists.iptel.org
Onderwerp: Re: [Serusers] NAT troubles
On Nov 25, 2004 at 16:20, E. Versaevel <erik(a)infopact.nl> wrote:
It's my turn for nat troubles now ;)
I've looked at the examples for nat helper and am trying to setup a rtp
proxy (which I eventually want to be able to scale/get off the ser host).
However, I'm using the attached setup (cut the used parts) but when my
client tries to Register, the ser box sends back the reply to the internal
IP of my UA?
So ser receives a REGISTER message via 1.2.3.4 and replies to 192.168.0.x
?
Please send a packet dump.
Andrei