[Users] $ct and $hdr(Content-Type) failing
Mark Price
markprice at gmail.com
Wed Nov 22 00:36:48 CET 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061121/09320b3e/attachment.htm>
More information about the sr-users
mailing list