From d50ef1d333a6fd3020fca591f7c4f6a38bc8ffb0 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 12 Oct 2004 02:16:04 +0000 Subject: [PATCH] change SIP_MAX_PACKET to 4096 (bug #2623) ---------------------------------------------------------------------- git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3980 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index fcd3e99833..3f9e3d30c1 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -129,7 +129,9 @@ static char *tdesc = "Session Initiation Protocol (SIP)"; static char *config = "sip.conf"; #define DEFAULT_SIP_PORT 5060 /* From RFC 2543 */ -#define SIP_MAX_PACKET 1500 /* Also from RFC 2543, should sub headers tho */ +/* From RFC2543, this should be 1500, so it's up to the ability of + remote devices as to whether it will be accepted when more than that*/ +#define SIP_MAX_PACKET 4096 #define ALLOWED_METHODS "INVITE, ACK, CANCEL, OPTIONS, BYE, REFER"