[Home]

Summary:ASTERISK-03692: [patch] Reorganize source code for handle_request
Reporter:Olle Johansson (oej)Labels:
Date Opened:2005-03-17 13:07:22.000-0600Date Closed:2008-01-15 15:27:47.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sipcodes.txt
Description:This patch reorganizes the large function handle_request and splits it up in several smaller functions for each method.
It also does parsing of the SIP method once and then uses a code instead of "strcmp" so many times per packet.

This patch is not supposed to change any behaviour of the  Asterisk SIP channel.

Disclaimer on file.

****** ADDITIONAL INFORMATION ******

Please test and confirm that it works for you. I have been running this for a few days on my system without a problem.
Comments:By: Mark Spencer (markster) 2005-03-17 17:07:50.000-0600

Added to CVS, thanks!

By: Russell Bryant (russell) 2005-03-28 00:20:34.000-0600

not included in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:27:47.000-0600

Repository: asterisk
Revision: 5198

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r5198 | markster | 2008-01-15 15:27:46 -0600 (Tue, 15 Jan 2008) | 2 lines

Reorganize SIP code to make more readable (bug ASTERISK-3692)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=5198