From ba9b0d95e62dd6698809d7510df379ee8a571420 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 6 May 2010 15:39:10 +0000 Subject: [PATCH] Permit more lines within a SIP body to be parsed. The example given within the related issue showed 120 lines, which was mostly a result of the body being XML. (closes issue #17179) Reported by: khw git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@261560 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/sip/include/sip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index ddc4bb9c1b..2ee19b6d72 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -93,7 +93,7 @@ #define MAX_AUTHTRIES 3 /*!< Try authentication three times, then fail */ #define SIP_MAX_HEADERS 64 /*!< Max amount of SIP headers to read */ -#define SIP_MAX_LINES 64 /*!< Max amount of lines in SIP attachment (like SDP) */ +#define SIP_MAX_LINES 256 /*!< Max amount of lines in SIP attachment (like SDP) */ #define SIP_MIN_PACKET 4096 /*!< Initialize size of memory to allocate for packets */ #define MAX_HISTORY_ENTRIES 50 /*!< Max entires in the history list for a sip_pvt */