THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Juha Heinanen (jh)
Attached to Project - sip-router
Summary - wrong type mismatch error
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - High
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - statement
if (@cfg_get.local.phone_timeout > 10) {
xlog("hello\n");
};
produces during proxy startup errors
0(18059) : <core> [cfg.y:3379]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 507, column 35-38: bad expression: type mismatch: str
instead of int at (507,35)
0(18059) : <core> [cfg.y:3382]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 509, column 6: invalid route statement
0(18059) : <core> [cfg.y:3379]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 512, column 2-3:
this is a bug in parser, because parser has no way to know what the type of the value in
the cfg value will be when the statement is executed and thus should not report an error.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=59
You are receiving this message because you have requested it from the Flyspray bugtracking
system. If you did not expect this message or don't want to receive mails in future,
you can change your notification settings at the URL shown above.