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