diff --git a/coreapi/lpconfig.c b/coreapi/lpconfig.c
index f4eca33fecf7a8f0cf2369596061eda742ce93ec..a0859a2997e3dd878c00e518c2be63fd877e8ba5 100644
--- a/coreapi/lpconfig.c
+++ b/coreapi/lpconfig.c
@@ -22,7 +22,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#define MAX_LEN 4096
+#define MAX_LEN 16384
 
 #include "linphonecore.h"