Commit a59030ed authored by Tristan Matthews's avatar Tristan Matthews
Browse files

daemon: fix attendedTransfer method

Fix a regression on transfer functionality from

    commit 8df0b8a0

    "daemon: manage SIP and IAX Calls with shared pointers"

(cherry-picked from 73fd983c)

Refs #52429

Change-Id: If4e6d9985110ddc3974b5e83d62182012c15211f
parent 1f4815f3
......@@ -1371,9 +1371,9 @@ SIPVoIPLink::transfer(const std::string& id, const std::string& to)
throw VoipLinkException("Couldn't transfer");
}
bool SIPVoIPLink::attendedTransfer(const std::string& id, const std::string& /*to*/)
bool SIPVoIPLink::attendedTransfer(const std::string& id, const std::string& to)
{
auto toCall = getSipCall(id);
const auto toCall = getSipCall(to);
if (!toCall)
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment