[COLOR=blue]G'day buddy, I'd bet getting onto support for your AVM FRITZ!Box Fon - it looks like it is working out it's real external IP address, but then reverting back to a non-routable 192.168 range:[/COLOR]
[COLOR=blue]Firstly, startup on an internal (192.168) IP[/COLOR]
Apr 10 17:31:14 voipd[1057]: 0: ip [URL="http://192.168.20.211/192.168.20.1"]192.168.20.211/192.168.20.1[/URL] mtu 1500 dns 192.
[URL="http://168.20.1/192.168.20.1"]168.20.1/192.168.20.1[/URL]
Apr 10 17:31:14 voipd[1057]: [EMAIL="[email protected]"][email protected][/EMAIL]: REGISTER starting
[COLOR=blue]Then showing changed to a different internal (192.168) IP. I'm guessing that 192.168.178.1 is the IP being handed out by your router, and 192.168.20.211 is the "external" IP allocated to your router by the apartment router.[/COLOR]
Apr 10Apr 10 17:31:15 voipd[1057]: ip address changed 192.168.178.1 -> 192.168.20.211
Apr 10 17:31:15 voipd[1057]: 1954981: my address 192.168.20.211
Apr 10 17:31:15 voipd[1057]: >>>udp Request: REGISTER sip:sipgate.de
[COLOR=blue]OK, the register has provided the Fritz enough info to know that it's real IP is actually 217.91.35.13 - sipgate would have put that in the reply.[/COLOR]
Apr 10 17:31:15 voipd[1057]: ip address changed 192.168.20.211:5060 -> 217.91.35
.13:5060
Apr 10 17:31:15 voipd[1057]: 195xxxx: my address 217.91.35.13:5060
[COLOR=blue]But for some reason the Fritz changes back to the 192.168 IP - perhaps it attempts to confirm the IP supplied in response to the REGISTER, but fails?[/COLOR]
Apr 10 17:31:15 voipd[1057]: 0: ip [URL="http://192.168.20.211/192.168.20.1"]192.168.20.211/192.168.20.1[/URL] mtu 1500 dns 192.
[URL="http://168.20.1/192.168.20.1"]168.20.1/192.168.20.1[/URL]
Apr 10 17:31:15 voipd[1057]: query_local_ipaddress: 192.168.20.211
Apr 10 17:31:15 voipd[1057]: ip address changed 217.91.35.13 -> 192.168.20.211
Apr 10 17:31:15 voipd[1057]: 195xxxx: my address 192.168.20.211
[COLOR=blue]The Fritz has another go at registering (or it is a Keep-Alive register, but I doubt it - because it is so soon after the first), and gets told it's real IP again.[/COLOR]
Apr 10 17:31:15 voipd[1057]: >>>udp Request: REGISTER sip:sipgate.de
Apr 10 17:31:15 voipd[1057]: <<<udp Status: 200 OK
Apr 10 17:31:15 voipd[1057]: ip address changed 192.168.20.211:5060 -> 217.91.35
.13:5060
Apr 10 17:31:15 voipd[1057]: 195xxxx: my address 217.91.35.13:5060
[COLOR=blue]But it does a query local and reverts back to the internal...[/COLOR]
Apr 10 17:31:15 voipd[1057]: query_local_ipaddress - running (voip=0)
Apr 10 17:31:15 voipd[1057]: 0: ip [URL="http://192.168.20.211/192.168.20.1"]192.168.20.211/192.168.20.1[/URL] mtu 1500 dns 192.
[URL="http://168.20.1/192.168.20.1"]168.20.1/192.168.20.1[/URL]
Apr 10 17:31:15 voipd[1057]: query_local_ipaddress: 192.168.20.211
[COLOR=blue]I think you've got enough info here to provide to Fritz to ask why it doesn't hang onto the external IP kindly provided in the response to the register (by sipgate), and what settings you can change - if any - to get it to use the external IP[/COLOR].