After including a part of main config to included file -- I got a several errors like:<br><br><br> 0(1582) ERROR: &lt;core&gt; [cfg.y:3393]: cfg. parser: failed to find command is_method<br> 0(1582) : &lt;core&gt; [cfg.y:3532]: parse error in config file /opt/kamailio/etc/kamailio/debug.cfg, line 4, column 55: unknown command, missing loadmodule?<br>

<br> 0(1582) ERROR: &lt;core&gt; [cfg.y:3393]: cfg. parser: failed to find command xlog<br> 0(1582) : &lt;core&gt; [cfg.y:3532]: parse error in config file /opt/kamailio/etc/kamailio/debug.cfg, line 9, column 101: unknown command, missing loadmodule?<br>

<br>...<br><br>A part of included file  /opt/kamailio/etc/kamailio/debug.cfg:<br>----------------------------------<br><br>route[DEBUG]<br>{<br>    if (is_method(&quot;PUBLISH|SUBSCRIBE|REGISTER|OPTIONS&quot;))<br>    {<br>

        return;<br>    }<br><br>    xlog(&quot;L_INFO&quot;, &quot;*** UNHANDLED *** SIP Request: method [$rm], status [$rs] from [$fu] to [$tu]\n&quot;);<br>}<br><br>route[DEBUG_FROM]<br>{<br>    xlog(&quot;L_NOTICE&quot;, &quot;[$mi] Received SIP Message (method [$rm]) ($ml[$cl] bytes) from $Ri:$Rp ($si:$sp):\n$mb\n&quot;);<br>

}<br><br><br>...<br><br><br>Do I have to duplicate the section of modules to that included file or I&#39;m wrong ?<br><br><br><br><div class="gmail_quote">2012/5/9 Konstantin M. <span dir="ltr">&lt;<a href="mailto:evilzluk@gmail.com" target="_blank">evilzluk@gmail.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">Hi Andrew,<br><br>I have missed that. Thank you very much!<div class="HOEnZb"><div class="h5"><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">Hello,<br>
It is already there, see<br>
<a href="http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x</a><br>
<div><div><br>
On 05/09/2012 06:04 PM, Konstantin M. wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I would like (and a many people here I believe) to have a functional of<br>
&gt; including a multiple config files like (foe example asterisk&#39;s<br>
&gt; #include &quot;path/to/some/config.conf&quot;).<br>
&gt; Is it possible to implement a such feature ?<br>
&gt;<br>
&gt; Thanks!<br>
<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>