[sr-dev] git:kamailio_3.0: core: sip warning header disabled by default

Daniel-Constantin Mierla miconda at gmail.com
Sat Apr 17 11:50:53 CEST 2010


Module: sip-router
Branch: kamailio_3.0
Commit: c0f409a686b6b468b406185dd090813aef46f513
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c0f409a686b6b468b406185dd090813aef46f513

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Sat Apr 17 11:46:44 2010 +0200

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)

---

 main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c
index 8d0f7e5..fc5c8ad 100644
--- a/main.c
+++ b/main.c
@@ -336,10 +336,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
 */




More information about the sr-dev mailing list