as-dd break to switch when no SDP

This commit is contained in:
Benjamin Reis 2016-12-21 09:34:54 +01:00
parent 27dfa34e82
commit 2fa3c22831

View file

@ -606,8 +606,11 @@ static void process_call_accepted(LinphoneCore *lc, LinphoneCall *call, SalOp *o
ms_error("Incompatible SDP answer received");
switch(call->state) {
case LinphoneCallPausedByRemote:
break;
case LinphoneCallPaused:
break;
case LinphoneCallStreamsRunning:
break;
default:
ms_message("Incompatible SDP answer received, restoring previous state [%s]",linphone_call_state_to_string(call->prevstate));
linphone_call_set_state(call,call->prevstate,_("Incompatible media parameters."));