diff --git a/src/jamidht/jamiaccount.cpp b/src/jamidht/jamiaccount.cpp index 0b53de56afdfdbe4e6ff2a7a5af54d42cf81b7b8..004b062021994d0433456d982cf2fe29331c0307 100644 --- a/src/jamidht/jamiaccount.cpp +++ b/src/jamidht/jamiaccount.cpp @@ -487,7 +487,7 @@ JamiAccount::startOutgoingCall(const std::shared_ptr<SIPCall>& call, const std:: call->setTransport(transport); auto remote_addr = it.channel->underlyingICE()->getRemoteAddress(ICE_COMP_SIP_TRANSPORT); - onConnectedOutgoingCall(*call, deviceConnIt->first, remote_addr); + onConnectedOutgoingCall(*call, toUri, remote_addr); devices.emplace(deviceConnIt->first); }