[asterisk-bugs] [Asterisk 0016268]: [patch] Last line of SDP is not being parsed

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 23 09:42:13 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16268 
====================================================================== 
Reported By:                sgimeno
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   16268
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-425 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 230420 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-11-18 03:59 CST
Last Modified:              2009-11-23 09:42 CST
====================================================================== 
Summary:                    [patch] Last line of SDP is not being parsed
Description: 
I observed this behavior when I put a call in hold and no musiconhold was
played. The last line of the SDP of the "hold" re-INVITE was a=sendonly.
By checking the logs it can be seen that the last line of the SDP is not
processed in the process_sdp function.
I made a simple modification in the chan_sip.c (see attached patch) in
order to parse the last line and the issue was solved.
====================================================================== 

---------------------------------------------------------------------- 
 (0114143) svnbot (reporter) - 2009-11-23 09:42
 https://issues.asterisk.org/view.php?id=16268#c114143 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 230878

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r230878 | kpfleming | 2009-11-23 09:42:13 -0600 (Mon, 23 Nov 2009) | 16
lines

Merged revisions 230877 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230877 | kpfleming | 2009-11-23 09:34:16 -0600 (Mon, 23 Nov 2009) | 9
lines
  
  Merged revisions 230839 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230839 | kpfleming | 2009-11-23 09:09:24 -0600 (Mon, 23 Nov 2009) | 1
line
    
    Correct fix for issue https://issues.asterisk.org/view.php?id=16268... the
reporter's original patch was very
close to correct.
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-23 09:42 svnbot         Checkin                                      
2009-11-23 09:42 svnbot         Note Added: 0114143                          
======================================================================




More information about the asterisk-bugs mailing list