[Serusers] variables in log messages

Mark Price markprice at gmail.com
Thu Oct 26 20:12:36 CEST 2006


Is there a method to print variables into log messages?
For example, something like this:
instead of saying:
  if(method=="SUBSCRIBE") { log(1,"SUBSCRIBE\n"); }
do this
  log(1,method)

which obviously doesn't work.
It would be very helpful to be able to print out things like headers.
Perhaps the select or more likely AVP functions will work in 0.10?
Is there anything available now?

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20061026/b94f7e32/attachment.htm>


More information about the sr-users mailing list