[asterisk-commits] file: trunk r67069 - in /trunk: ./ channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jun 4 12:32:09 MST 2007


Author: file
Date: Mon Jun  4 14:32:08 2007
New Revision: 67069

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67069
Log:
Merged revisions 67068 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67068 | file | 2007-06-04 15:31:09 -0400 (Mon, 04 Jun 2007) | 2 lines

Better handle SIP devices that say they have SDP content... but really don't. (issue #9398 reported by mthomasslo)

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=67069&r1=67068&r2=67069
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jun  4 14:32:08 2007
@@ -5148,7 +5148,7 @@
 	if (!strcasecmp(content_type, "application/sdp")) {
 		req->sdp_start = 0;
 		req->sdp_end = req->lines;
-		return 1;
+		return req->lines ? 1 : 0;
 	}
 
 	/* if it's not multipart/mixed, there cannot be an SDP */



More information about the asterisk-commits mailing list