From 534be90e08fb284a387c892389e2acecee181b31 Mon Sep 17 00:00:00 2001 From: Jozef Kenyeres Date: Thu, 29 Dec 2022 10:14:18 +0100 Subject: [PATCH] MT#55831 fix failed relay of 200OK without SDP fix failed relay of 200OK without SDP (real ticket number: TT#9521) Change-Id: I8932962961af364dab1df360afc4b02459d65ac0 --- core/AmOfferAnswer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/AmOfferAnswer.cpp b/core/AmOfferAnswer.cpp index 5e103706..98a80b72 100644 --- a/core/AmOfferAnswer.cpp +++ b/core/AmOfferAnswer.cpp @@ -392,6 +392,9 @@ int AmOfferAnswer::onReplyOut(AmSipReply& reply) if (reply.code == 183 && reply.cseq_method == SIP_METH_INVITE) { // just ignore if no SDP is generated (required for B2B) } + else if (reply.code == 200 && reply.cseq_method == SIP_METH_INVITE && state == OA_Completed) { + // just ignore if no SDP is generated (required for B2B) + } else return -1; } else {