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