[sr-dev] git:master:393a86f3: core/config: Increase MAX_REDIRECTION_LEN from 512 to 4096

Henning Westerholt henningw at users.noreply.github.com
Mon Feb 11 21:42:35 CET 2019


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

Author: Alex Hermann <alex at hexla.nl>
Committer: Henning Westerholt <henningw at users.noreply.github.com>
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




More information about the sr-dev mailing list