Permit more lines within a SIP body to be parsed.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 6 May 2010 15:39:10 +0000 (15:39 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 6 May 2010 15:39:10 +0000 (15:39 +0000)
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

index ddc4bb9..2ee19b6 100644 (file)
@@ -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 */