Thank you, I found a logical error in order.<br>Also would be good if lex parser can understand a wildmasks, like: include_file &quot;modules/*.cfg&quot;...<br><br><br><div class="gmail_quote">2012/5/9 Andrew Pogrebennyk <span dir="ltr">&lt;<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>&gt;</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>
&gt; After including a part of main config to included file -- I got a<br>
&gt; several errors like:<br>
&gt;<br>
&gt;<br>
&gt;  0(1582) ERROR: &lt;core&gt; [cfg.y:3393]: cfg. parser: failed to find command<br>
&gt; is_method<br>
&gt;  0(1582) : &lt;core&gt; [cfg.y:3532]: parse error in config file<br>
&gt; /opt/kamailio/etc/kamailio/debug.cfg, line 4, column 55: unknown<br>
&gt; command, missing loadmodule?<br>
&gt;<br>
&gt;  0(1582) ERROR: &lt;core&gt; [cfg.y:3393]: cfg. parser: failed to find command<br>
&gt; xlog<br>
&gt;  0(1582) : &lt;core&gt; [cfg.y:3532]: parse error in config file<br>
&gt; /opt/kamailio/etc/kamailio/debug.cfg, line 9, column 101: unknown<br>
&gt; command, missing loadmodule?<br>
<br>
</div></div></blockquote></div><br>