소스 검색

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
(cherry picked from commit 258b58e29fe9e63a75d853d1826fe9c4b9a5f0ab)
Daniel-Constantin Mierla 15 년 전
부모
커밋
c0f409a686
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      main.c

+ 2 - 2
main.c

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