浏览代码

Update core.md

Added a note to the define section to remedy an issue that I discover pulling configuration files from git repositories.
Sam Ware 1 年之前
父节点
当前提交
3a95bd1df5
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      docs/cookbooks/5.6.x/core.md

+ 4 - 0
docs/cookbooks/5.6.x/core.md

@@ -409,6 +409,10 @@ route {
     -   text on the same line as the directive will cause problems. Keep
         the directive lines clean and only comment on a line before or
         after.
+    -   if using git to pull the kamailio.cfg to your machine, make
+        sure that #!endif is NOT the last line of your config file.
+        this causes a "different number of preprocessor directives"
+        error.  if you need, put a comment line after the #!endif line
 
 ### defenv