diff options
-rw-r--r-- | pjsip/include/pjsip/sip_config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h index 23575766..608550ce 100644 --- a/pjsip/include/pjsip/sip_config.h +++ b/pjsip/include/pjsip/sip_config.h @@ -112,10 +112,11 @@ /** - * Maximum packet length. + * Maximum packet length. We set it more than MTU since a SIP PDU + * containing presence information can be quite large (>1500). */ #ifndef PJSIP_MAX_PKT_LEN -# define PJSIP_MAX_PKT_LEN 1500 +# define PJSIP_MAX_PKT_LEN 2000 #endif |