mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
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
This commit is contained in:
@@ -129,7 +129,9 @@ static char *tdesc = "Session Initiation Protocol (SIP)";
|
|||||||
static char *config = "sip.conf";
|
static char *config = "sip.conf";
|
||||||
|
|
||||||
#define DEFAULT_SIP_PORT 5060 /* From RFC 2543 */
|
#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"
|
#define ALLOWED_METHODS "INVITE, ACK, CANCEL, OPTIONS, BYE, REFER"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user