浏览代码

core: sip warning header disabled by default

- do not append Warning header to local generated replies by default
- it can be enabled from config file via sip_warning parameter
Daniel-Constantin Mierla 15 年之前
父节点
当前提交
258b58e29f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      main.c

+ 2 - 2
main.c

@@ -344,10 +344,10 @@ int phone2tel = 1;
 int syn_branch = 1;
 /* debugging level for timer debugging */
 int timerlog = L_WARN;
-/* should replies include extensive warnings? by default yes,
+/* should replies include extensive warnings? by default no,
    good for trouble-shooting
 */
-int sip_warning = 1;
+int sip_warning = 0;
 /* should localy-generated messages include server's signature?
    be default yes, good for trouble-shooting
 */