From 7e9971f2b65279b4330896f7feaff342102126da Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Wed, 7 Jun 2023 10:22:26 +0200 Subject: [PATCH] MT#57437 Upstream: Fixed NOTIFY to URI Backport from the upstream to fix NOTIFY to URI. Upstream commit: c2908dcb50342e3c8400695b43280181a850fc34 Change-Id: Iff9c0d82ab798f4646284de61365422e48c50a59 --- apps/mwi/mwi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mwi/mwi.cpp b/apps/mwi/mwi.cpp index 4e703501..f1c47bb6 100644 --- a/apps/mwi/mwi.cpp +++ b/apps/mwi/mwi.cpp @@ -108,7 +108,7 @@ void MWI::publish(const string& user, const string& domain) AmSipDialog tmp_d(NULL); tmp_d.setLocalParty(string(""); - tmp_d.setRemoteParty(domain.c_str()); + tmp_d.setRemoteParty("sip:" + user + "@" + domain); tmp_d.setRouteSet("sip:" + presence_server); tmp_d.setRemoteUri("sip:" + user + "@" + domain); tmp_d.setCallid(AmSession::getNewId() + "@" + presence_server);