i'm getting syntax error on last line of this kind of switch statement:
if (defined($fd.foo)) {
switch ($fd.foo) {
case "fi":
route(TEST);
return($retcode);
why is that? in k, that kind of construct used to work.
-- juha
0(26885) : <core> [cfg.y:3208]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 2971, column 19: syntax error
0(26885) : <core> [cfg.y:3208]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 2971, column 19: ==, !=, <,>, >= or <=
expected