[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.6,1.510.2.7

russell at lists.digium.com russell at lists.digium.com
Mon Oct 11 22:15:26 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv27595/channels

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
change SIP_MAX_PACKET to 4096 (bug #2623)
----------------------------------------------------------------------


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.6
retrieving revision 1.510.2.7
diff -u -d -r1.510.2.6 -r1.510.2.7
--- chan_sip.c	9 Oct 2004 00:36:46 -0000	1.510.2.6
+++ chan_sip.c	12 Oct 2004 02:16:04 -0000	1.510.2.7
@@ -129,7 +129,9 @@
 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"
 




More information about the svn-commits mailing list