From 115fcb31224dc8c8b8be5d9fafb17e7ee04c7782 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 10 Jan 2023 10:41:39 +0100 Subject: [PATCH] Avoid to strip URI in sip address on URI handlers to call the exact address (eg. keep conf-id for calling a conference) --- CHANGELOG.md | 5 +++++ linphone-app/src/app/cli/Cli.cpp | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f82d3e52f..82cd86c39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 5.0.6 - 2023-01-10 + +### Fixed +- URI Handlers to a conference + ## 5.0.5 - 2023-01-09 ### Fixed diff --git a/linphone-app/src/app/cli/Cli.cpp b/linphone-app/src/app/cli/Cli.cpp index 2eb13b7d8..e420d9d08 100644 --- a/linphone-app/src/app/cli/Cli.cpp +++ b/linphone-app/src/app/cli/Cli.cpp @@ -355,8 +355,7 @@ void Cli::Command::executeUri (const shared_ptr &address) con const string header = address->getHeader(Utils::appStringToCoreString(argName)); args[argName] = QByteArray::fromBase64(QByteArray(header.c_str(), int(header.length()))); } - address->clean(); - args["sip-address"] = Utils::coreStringToAppString(address->asStringUriOnly()); + args["sip-address"] = Utils::coreStringToAppString(address->asString()); execute(args); }