Hi Daniel, That was it. Painfully obvious now that pv stands for pseudo-variable.
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. Thanks for the tip. Dave. On 15/04/2013, at 6:24 PM, Daniel-Constantin Mierla <mico...@gmail.com> wrote: > Hello, > > Have you loaded pv module? > > Cheers, > Daniel > > > Daniel-Constantin Mierla > http://www.asipto.com > > On 15 Apr 2013, at 06:31, David Wilson <d...@zaq.com.au> wrote: > >> Hi All, >> >> 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. >> >> When I use this route (xdbg example from the tutorial): >> >> route { >> xdbg("SIP Request: method [$rm] from [$fu] to [$tu]\n"); >> } >> >> the log file shows these messages: >> >> DEBUG: <core> [sr_module.c:935]: DEBUG: init_mod: xlog >> DEBUG: <core> [main.c:2539]: Expect (at least) 13 SER processes in your >> process list >> DEBUG: <core> [route.c:927]: fixing xdbg() >> DEBUG: <core> [pvapi.c:390]: PV <$rm> is not in cache >> DEBUG: <core> [pvapi.c:269]: PV cache not initialized, doing it now >> ERROR: <core> [pvapi.c:761]: error searching pvar "rm" >> ERROR: <core> [pvapi.c:965]: wrong char [m/109] in [$rm] at [2 (0)] >> ERROR: xlog [xlog.c:363]: wrong format[SIP Request: method [$rm] from [$fu] >> to [$tu]#012] >> >> and Kamailio shuts down. >> >> Have I missed something obvious? >> >> Cheers, >> Dave.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users