From 0a5449a47dbcf90253c7c9aaa1ca3331d23a57bc Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Fri, 21 Feb 2025 09:59:19 +0100 Subject: [PATCH] MT#61912 DSM: DSMCallCalleeSession::onSipReply keep last reply Save last reply gotten and processed with `DSMCallCalleeSession::onSipReply()`. E.g. 18X are getting processed for DSM sessions there. Change-Id: Ie0c44b1ddc8acd3fb07e01c6353eb2dce7a45a6e --- apps/dsm/DSMCall.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/dsm/DSMCall.cpp b/apps/dsm/DSMCall.cpp index 50c8781a..a7cd9df8 100644 --- a/apps/dsm/DSMCall.cpp +++ b/apps/dsm/DSMCall.cpp @@ -1043,6 +1043,9 @@ void DSMCallCalleeSession::onSipReply(const AmSipRequest& req, const AmSipReply& // call event handlers where it is not done TransMap::iterator t = relayed_req.find(reply.cseq); bool fwd = t != relayed_req.end(); + + last_200_reply = reply; + DBG("onSipReply: %i %s (fwd=%i)\n",reply.code,reply.reason.c_str(),fwd); DBG("onSipReply: content-type = %s\n",reply.body.getCTStr().c_str()); if(fwd) {