From b4ef5e25c317d6b40af6cb77176bd88a9eb8d863 Mon Sep 17 00:00:00 2001 From: tilghman Date: Thu, 6 May 2010 15:42:47 +0000 Subject: Merged revisions 261560 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r261560 | tilghman | 2010-05-06 10:39:10 -0500 (Thu, 06 May 2010) | 8 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.0@261561 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels') diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 07b0673ff..67e956b6d 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -236,7 +236,7 @@ static int default_expiry = DEFAULT_DEFAULT_EXPIRY; #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_MAX_PACKET 4096 /*!< Also from RFC 3261 (2543), should sub headers tho */ #define INITIAL_CSEQ 101 /*!< our initial sip sequence number */ -- cgit v1.2.3