<html><head></head><body bgcolor="#FFFFFF"><div>Hello,</div><div><br></div><div>Have you loaded pv module?</div><div><br></div><div>Cheers,</div><div>Daniel</div><div><br><br>Daniel-Constantin Mierla<div><a href="http://www.asipto.com">http://www.asipto.com</a></div></div><div><br>On 15 Apr 2013, at 06:31, David Wilson <<a href="mailto:dw@zaq.com.au">dw@zaq.com.au</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1">Hi All,<div><br></div><div>Using Kamailio 4.0.0 with a minimal configuration, trying to get some logging to help me understand the system, I can get static log messages easily enough with log, but now want something more useful. </div><div><br></div><div>When I use this route (xdbg example from <a href="http://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages#formatted_log_messages">the tutorial</a>):</div><div><br></div><div><div>route {</div><div> xdbg("SIP Request: method [$rm] from [$fu] to [$tu]\n");</div><div>}</div></div><div><br></div><div>the log file shows these messages:</div><div><br></div><div><div>DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: xlog</div><div>DEBUG: <core> [main.c:2539]: Expect (at least) 13 SER processes in your process list</div><div>DEBUG: <core> [route.c:927]: fixing xdbg()</div><div>DEBUG: <core> [pvapi.c:390]: PV <$rm> is not in cache</div><div>DEBUG: <core> [pvapi.c:269]: PV cache not initialized, doing it now</div><div>ERROR: <core> [pvapi.c:761]: error searching pvar "rm"</div><div>ERROR: <core> [pvapi.c:965]: wrong char [m/109] in [$rm] at [2 (0)]</div><div>ERROR: xlog [xlog.c:363]: wrong format[SIP Request: method [$rm] from [$fu] to [$tu]#012]</div></div><div><br></div><div><div>and Kamailio shuts down.</div></div><div><br></div><div>Have I missed something obvious?</div><div><br></div><div>Cheers,</div><div>Dave.</div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list</span><br><span><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a></span><br><span><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></span><br></div></blockquote></body></html>