[asterisk-commits] tilghman: trunk r261560 - /trunk/channels/sip/include/sip.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 6 10:39:14 CDT 2010


Author: tilghman
Date: Thu May  6 10:39:10 2010
New Revision: 261560

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=261560
Log:
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

Modified:
    trunk/channels/sip/include/sip.h

Modified: trunk/channels/sip/include/sip.h
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sip/include/sip.h?view=diff&rev=261560&r1=261559&r2=261560
==============================================================================
--- trunk/channels/sip/include/sip.h (original)
+++ trunk/channels/sip/include/sip.h Thu May  6 10:39:10 2010
@@ -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 */
 




More information about the asterisk-commits mailing list