[SR-Users] Config include

Andrew Pogrebennyk apogrebennyk at sipwise.com
Wed May 9 19:37:50 CEST 2012


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?




More information about the sr-users mailing list