I'm seeing this parse error on a machine running kamailio 5.0.1:
0(5586) CRITICAL: <core> [core/cfg.y:3396]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, from line 725, column 1 to line 726, column 0: syntax error 0(5586) CRITICAL: <core> [core/cfg.y:3396]: yyerror_at(): parse error in config file //etc/kamailio/kamailio.cfg, from line 725, column 1 to line 726, column 0: invalid route statement
I'm posting here because the file only has 725 lines, so "from line 725 to line 726" makes no sense.
Are there ony know bugs relevant to parse error reporting?
Also:
Besides lots of -d flags, how can I find which route statement is invalid?
-JimC
This sounds like either an empty route block, or, more likely, a curly brace imbalance.
-- Alex
-- Sent via mobile, please forgive typos and brevity.
"AB" == Alex Balashov abalashov@evaristesys.com writes:
AB> This sounds like either an empty route block, or, more likely, a AB> curly brace imbalance.
Thanks.
I found a way around it (I didn't write the cfg); that and the above should lead to a solution.
-JimC