[Kamailio-Users] $cl value when there is no "Content-Length" header

Iñaki Baz Castillo ibc at aliax.net
Wed May 27 11:43:16 CEST 2009


Hi, if a UDP response has no "Content-Length" header (so it's 0),
which would be the value of $cl variable?
This is, if I do:

  if ( $cl != 0 ) ...

will this "if" match when the message has no "Content-Length" header?


Another question: In case "Content-Lenght: 22" but the real message
body is 33, which value will $cl report?


Thanks.


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



More information about the Users mailing list