Andrei Pelinescu-Onciul writes:
This is equivalent to @msg[%s] (so there is no error
in this case).
E.g. @msg["P-Foo"] is equivalent with @msg.P-Foo.
i tried
$var(calling_uri) = @msg.Referred-By.nameaddr.uri;
and got syntax errors:
0(22068) : <core> [cfg.y:3382]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 961, column 43: syntax error
0(22068) : <core> [cfg.y:3382]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 961, column 43: '('')' expected
(function call)
0(22068) : <core> [cfg.y:3379]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 961, column 40-43: bad expression: type mismatch: str
instead of int at (961,40)
0(22068) : <core> [cfg.y:3382]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 961, column 43: bad command
0(22068) : <core> [cfg.y:3382]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 961, column 52: '('')' expected
(function call)
0(22068) : <core> [cfg.y:3382]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 961, column 52: bad command: missing ';'?
0(22068) : <core> [cfg.y:3379]: parse error in config file
/etc/sip-proxy/sip-proxy.cfg, line 961, column 53-55: bad command
-- juha