Re: [SR-Users] Config include

2012-05-09 Thread Konstantin M.
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 > Konstantin, > > You should put the include_file directive after loadmodule and modparam > directives. So it can be either

Re: [SR-Users] Config include

2012-05-09 Thread Andrew Pogrebennyk
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

Re: [SR-Users] Config include

2012-05-09 Thread Konstantin M.
After including a part of main config to included file -- I got a several errors like: 0(1582) ERROR: [cfg.y:3393]: cfg. parser: failed to find command is_method 0(1582) : [cfg.y:3532]: parse error in config file /opt/kamailio/etc/kamailio/debug.cfg, line 4, column 55: unknown command, missin

Re: [SR-Users] Config include

2012-05-09 Thread Konstantin M.
Hi Andrew, I have missed that. Thank you very much! 2012/5/9 Andrew Pogrebennyk > Hello, > It is already there, see > http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x > > On 05/09/2012 06:04 PM, Konstantin M. wrote: > > Hi, > > > > I would like (and a many people here I believe) to

Re: [SR-Users] Config include

2012-05-09 Thread Andrew Pogrebennyk
Hello, It is already there, see http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x On 05/09/2012 06:04 PM, Konstantin M. wrote: > Hi, > > I would like (and a many people here I believe) to have a functional of > including a multiple config files like (foe example asterisk's > #include