[Asterisk-cvs] asterisk/channels chan_sip.c,1.292.2.12,1.292.2.13

markster at lists.digium.com markster at lists.digium.com
Tue Mar 2 18:39:00 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv20428/channels

Modified Files:
      Tag: v1-0_stable
	chan_sip.c 
Log Message:
Process SDP on 183 session progress (bug #930)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.292.2.12
retrieving revision 1.292.2.13
diff -u -d -r1.292.2.12 -r1.292.2.13
--- chan_sip.c	1 Mar 2004 16:15:22 -0000	1.292.2.12
+++ chan_sip.c	2 Mar 2004 23:29:36 -0000	1.292.2.13
@@ -4922,9 +4922,13 @@
 		case 100:
 			break;
 		case 183:	
-			if (p->owner) {
-				/* Queue a progress frame */
-				ast_queue_control(p->owner, AST_CONTROL_PROGRESS, 0);
+			if (!strcasecmp(msg, "INVITE")) {
+				if (strlen(get_header(req, "Content-Type")))
+					process_sdp(p, req);
+				if (p->owner) {
+					/* Queue a progress frame */
+					ast_queue_control(p->owner, AST_CONTROL_PROGRESS, 0);
+				}
 			}
 			break;
 		case 180:




More information about the svn-commits mailing list