[SR-Users] error searching pvar "sp."
Konstantin M.
evilzluk at gmail.com
Wed May 9 22:19:31 CEST 2012
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120509/417c7f29/attachment.htm>
More information about the sr-users
mailing list