[Asterisk-cvs] asterisk/channels chan_sip.c,1.859,1.860

kpfleming kpfleming
Wed Sep 14 20:06:59 CDT 2005


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

Modified Files:
	chan_sip.c 
Log Message:
error message generated using backwards logic (issue #5224)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.859
retrieving revision 1.860
diff -u -d -r1.859 -r1.860
--- chan_sip.c	14 Sep 2005 22:45:31 -0000	1.859
+++ chan_sip.c	15 Sep 2005 00:05:27 -0000	1.860
@@ -4354,6 +4354,7 @@
 	if (p->rtp) {
 		ast_rtp_offered_from_local(p->rtp, 0);
 		add_sdp(&resp, p);
+	} else {
 		ast_log(LOG_ERROR, "Can't add SDP to response, since we have no RTP session allocated. Call-ID %s\n", p->callid);
 	}
 	return send_response(p, &resp, retrans, seqno);




More information about the svn-commits mailing list