diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b2977e65a9..bab63c4eb6 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -261,7 +261,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 SIP_MIN_PACKET 1024 /*!< Initialize size of memory to allocate for packets */