[Asterisk-cvs] asterisk/channels chan_sip.c,1.302,1.303

markster at lists.digium.com markster at lists.digium.com
Tue Mar 2 18:38:25 CST 2004


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

Modified Files:
	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.302
retrieving revision 1.303
diff -u -d -r1.302 -r1.303
--- chan_sip.c	1 Mar 2004 16:14:41 -0000	1.302
+++ chan_sip.c	2 Mar 2004 23:29:00 -0000	1.303
@@ -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