Hello,
When I have the following code:
xlog("Dropped INVITE from unregistered location: $si:$sp.\n");
-- I'm getting a parse error:
0(3735) ERROR: <core> [pvapi.c:708]: error searching pvar "sp."
0(3735) ERROR: <core> [pvapi.c:912]: wrong char [./46] in [$sp.
] at [3 (0)]
0(3735) ERROR: xlog [xlog.c:314]: wrong format[Dropped INVITE from unregistered location: $si:$sp.
]
When I changed to (removed a point after $sp):
xlog("Dropped INVITE from unregistered location: $si:$sp\n");
-- No errors.
What I'm doing wrong ? Or it's a parser bug ?
Thanks!