]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
change SIP_MAX_PACKET to 4096 (bug #2623)
authorRussell Bryant <russell@russellbryant.com>
Tue, 12 Oct 2004 02:16:04 +0000 (02:16 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 12 Oct 2004 02:16:04 +0000 (02:16 +0000)
----------------------------------------------------------------------

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3980 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index fcd3e99833280ec03fab2cd8e641294a2ebdfac6..3f9e3d30c1d7ceb1a6c153bd501a4de80fd6d2a0 100755 (executable)
@@ -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"