2011/8/31 Henning Westerholt henning.westerholt@1und1.de:
Hi Iñaki,
well, why is this UDP ping sended at all? Do you've anything in the logfiles about a timer that is run, ping sending etc..
Basically yes (I've realized of that later). I didn't set the bflag just to ping natted clients, so UDP ping is used "always".
Second question. Wouldn't be better if the UDP "ping" contains CRLF+CRLF rather than \x00\x00\x00\x00 ? At least, CRLF+CRLF is already defined as a SIP TCP ping.
Sounds indeed better.
Just for curiosity, I've been for a while checking nathelper code and I cannot find where exactly those \x00\x00\x00\x00 bytes are set XDDD