From: Russell Bryant Date: Tue, 12 Oct 2004 02:16:04 +0000 (+0000) Subject: change SIP_MAX_PACKET to 4096 (bug #2623) X-Git-Tag: 1.0.11.1~440 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50ef1d333a6fd3020fca591f7c4f6a38bc8ffb0;p=thirdparty%2Fasterisk.git 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 --- 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"