<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div apple-content-edited="true">Hi Daniel,
</div><div apple-content-edited="true"><br></div><div apple-content-edited="true">That was it. &nbsp;Painfully obvious now that pv stands for pseudo-variable.</div><div apple-content-edited="true"><br></div><div apple-content-edited="true">I've started by adding modules only as I need them which helps my understanding of the structure of the system, but generates the occasional issue.</div><div apple-content-edited="true"><br></div><div apple-content-edited="true">Thanks for the tip.</div><div apple-content-edited="true"><br></div><div apple-content-edited="true">Dave.</div>
<br><div><div>On 15/04/2013, at 6:24 PM, Daniel-Constantin Mierla &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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 &lt;<a href="mailto:dw@zaq.com.au">dw@zaq.com.au</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><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,&nbsp;I can get static log messages easily enough with log, but now want something more useful. &nbsp;</div><div><br></div><div>When I use this route (xdbg example from&nbsp;<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>&nbsp; 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: &lt;core&gt; [sr_module.c:935]: DEBUG: init_mod: xlog</div><div>DEBUG: &lt;core&gt; [main.c:2539]: Expect (at least) 13 SER processes in your process list</div><div>DEBUG: &lt;core&gt; [route.c:927]: fixing xdbg()</div><div>DEBUG: &lt;core&gt; [pvapi.c:390]: PV &lt;$rm&gt; is not in cache</div><div>DEBUG: &lt;core&gt; [pvapi.c:269]: PV cache not initialized, doing it now</div><div>ERROR: &lt;core&gt; [pvapi.c:761]: error searching pvar "rm"</div><div>ERROR: &lt;core&gt; [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>and Kamailio shuts down.</div><div><br></div><div>Have I missed something obvious?</div><div><br></div><div>Cheers,</div><div>Dave.</div></blockquote></div></blockquote></div><br></body></html>