Module: kamailio
Branch: master
Commit: 393a86f32ab4fc61f53dd181935cca73c6335faa
URL: 
https://github.com/kamailio/kamailio/commit/393a86f32ab4fc61f53dd181935cca73c6335faa

Author: Alex Hermann <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date: 2019-02-11T21:42:26+01:00

core/config: Increase MAX_REDIRECTION_LEN from 512 to 4096

Contacts can be long and there may be many of them.

---

Modified: src/core/config.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/393a86f32ab4fc61f53dd181935cca73c6335faa.diff
Patch: 
https://github.com/kamailio/kamailio/commit/393a86f32ab4fc61f53dd181935cca73c6335faa.patch

---

diff --git a/src/core/config.h b/src/core/config.h
index bdc7657365..a891328eb3 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -166,7 +166,7 @@
 
 #define MAX_PRINT_TEXT                 256     /*!< max length of the text of 
fifo 'print' command */
 
-#define MAX_REDIRECTION_LEN    512     /*!< maximum length of Contact header 
field in redirection replies */
+#define MAX_REDIRECTION_LEN    4096    /*!< maximum length of Contact header 
field in redirection replies */
 
 /*! \brief used by FIFO statistics in module to terminate line;
    extra whitespaces are used to overwrite remainders of


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to