Thank you, I found a logical error in order. Also would be good if lex parser can understand a wildmasks, like: include_file "modules/*.cfg"...
2012/5/9 Andrew Pogrebennyk apogrebennyk@sipwise.com
Konstantin,
You should put the include_file directive after loadmodule and modparam directives. So it can be either before main route block or at the bottom of your main kamailio.cfg.
On 05/09/2012 06:48 PM, Konstantin M. wrote:
After including a part of main config to included file -- I got a several errors like:
0(1582) ERROR: <core> [cfg.y:3393]: cfg. parser: failed to find command is_method 0(1582) : <core> [cfg.y:3532]: parse error in config file /opt/kamailio/etc/kamailio/debug.cfg, line 4, column 55: unknown command, missing loadmodule?
0(1582) ERROR: <core> [cfg.y:3393]: cfg. parser: failed to find command xlog 0(1582) : <core> [cfg.y:3532]: parse error in config file /opt/kamailio/etc/kamailio/debug.cfg, line 9, column 101: unknown command, missing loadmodule?