Hi,
I am trying to log MESSAGE packets differentiated the content-type of the packet. I can see in the packet dump that they have types such as "text/html" and so on. I'm using the following statement in the code: if(method=="MESSAGE") { xlog("L_ALERT","$ct $rb\n"); } The message body specified by $rb is printing out fine, but $ct is printing out "<null>". I get the exact same result if I say: xlog("L_ALERT","$hdr(Content-Type) $rb\n");
Is this a bug in openser?
Thanks, Mark Price