[SR-Users] Config include

Konstantin M. evilzluk at gmail.com
Wed May 9 19:51:40 CEST 2012


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 at 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?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120509/fd657239/attachment-0001.htm>


More information about the sr-users mailing list