[asterisk-bugs] [Asterisk 0008556]: Large SIP messages are truncated to 4096 bytes

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jan 28 01:51:59 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=8556 
====================================================================== 
Reported By:                mikma
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   8556
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 48373 
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             12-10-2006 17:05 CST
Last Modified:              01-28-2008 01:51 CST
====================================================================== 
Summary:                    Large SIP messages are truncated to 4096 bytes
Description: 
According to RFC 3261, SIP implementations MUST be able to handle messages
up
to 65535 bytes.
Asterisk currently can't handle SIP messages larger than 4096 bytes
excluding IP and UDP headers. Larger messages are truncated.

RFC 3261, Section 18.1.1 Sending Requests

   However,
   implementations MUST be able to handle messages up to the maximum
   datagram packet size.  For UDP, this size is 65,535 bytes, including
   IP and UDP headers.

====================================================================== 

---------------------------------------------------------------------- 
 jamesgolovich - 01-28-08 01:51  
---------------------------------------------------------------------- 
I've created a branch at
http://svn.digium.com/view/asterisk/team/jamesgolovich/chan_sip-ast_str/
that handles this slightly different that oej's patch.  ast_str is used. 
Still needs further testing though 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-28-08 01:51  jamesgolovich  Note Added: 0081255                          
======================================================================




More information about the asterisk-bugs mailing list