Revision 1aee055e plugins/janus_sip.c

View differences:

plugins/janus_sip.c
1616 1616
				g_snprintf(error_cause, 512, "Missing SDP");
1617 1617
				goto error;
1618 1618
			}
1619
			if(strstr(msg->sdp, "m=application")) {
1620
				JANUS_LOG(LOG_ERR, "The SIP plugin does not support DataChannels\n");
1621
				error_code = JANUS_SIP_ERROR_MISSING_SDP;
1622
				g_snprintf(error_cause, 512, "The SIP plugin does not support DataChannels");
1623
				goto error;
1624
			}
1619 1625
			JANUS_LOG(LOG_VERB, "%s is calling %s\n", session->account.username, uri_text);
1620 1626
			JANUS_LOG(LOG_VERB, "This is involving a negotiation (%s) as well:\n%s\n", msg->sdp_type, msg->sdp);
1621 1627
			/* Clean up SRTP stuff from before first, in case it's still needed */

Also available in: Unified diff