[sr-dev] Path support and UDP "ping" like \x00\x00\x00\x00 to Contact/received URI?

Iñaki Baz Castillo ibc at aliax.net
Wed Aug 31 18:27:56 CEST 2011


2011/8/31 Henning Westerholt <henning.westerholt at 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



-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list