diff --git a/src/sipsess/connect.c b/src/sipsess/connect.c index 1f56218ce..7a67d1e13 100644 --- a/src/sipsess/connect.c +++ b/src/sipsess/connect.c @@ -93,6 +93,9 @@ static void invite_resp_handler(int err, const struct sip_msg *msg, void *arg) sess->progrh(msg, sess->arg); sdp = mbuf_get_left(msg->mb) > 0; + if (msg->scode == 100) + return; + if (sdp && sess->sent_offer) { sess->awaiting_answer = false; err = sess->answerh(msg, sess->arg);