Commit 060702e3 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(app): repare build

parent 091227e8
...@@ -52,7 +52,7 @@ static void cliInitiateConference (QHash<QString, QString> &args) { ...@@ -52,7 +52,7 @@ static void cliInitiateConference (QHash<QString, QString> &args) {
// Check identity. // Check identity.
{ {
shared_ptr<linphone::Address> address = core->interpretSipAddress(::Utils::appStringToCoreString(args["sip-address"])); shared_ptr<linphone::Address> address = core->interpretUrl(::Utils::appStringToCoreString(args["sip-address"]));
address->clean(); address->clean();
const string sipAddress = address->asString(); const string sipAddress = address->asString();
......
...@@ -94,7 +94,7 @@ void CallsListModel::askForTransfer (CallModel *callModel) { ...@@ -94,7 +94,7 @@ void CallsListModel::askForTransfer (CallModel *callModel) {
void CallsListModel::launchAudioCall (const QString &sipAddress, const QHash<QString, QString> &headers) const { void CallsListModel::launchAudioCall (const QString &sipAddress, const QHash<QString, QString> &headers) const {
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore(); shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
shared_ptr<linphone::Address> address = core->interpretSipAddress(::Utils::appStringToCoreString(sipAddress)); shared_ptr<linphone::Address> address = core->interpretUrl(::Utils::appStringToCoreString(sipAddress));
if (!address) if (!address)
return; return;
...@@ -119,7 +119,7 @@ void CallsListModel::launchVideoCall (const QString &sipAddress) const { ...@@ -119,7 +119,7 @@ void CallsListModel::launchVideoCall (const QString &sipAddress) const {
return; return;
} }
shared_ptr<linphone::Address> address = core->interpretSipAddress(::Utils::appStringToCoreString(sipAddress)); shared_ptr<linphone::Address> address = core->interpretUrl(::Utils::appStringToCoreString(sipAddress));
if (!address) if (!address)
return; return;
......
...@@ -95,7 +95,7 @@ bool ConferenceHelperModel::ConferenceAddModel::addToConference (const QString & ...@@ -95,7 +95,7 @@ bool ConferenceHelperModel::ConferenceAddModel::addToConference (const QString &
beginInsertRows(QModelIndex(), row, row); beginInsertRows(QModelIndex(), row, row);
qInfo() << QStringLiteral("Add sip address to conference: `%1`.").arg(sipAddress); qInfo() << QStringLiteral("Add sip address to conference: `%1`.").arg(sipAddress);
shared_ptr<linphone::Address> linphoneAddress = CoreManager::getInstance()->getCore()->interpretSipAddress( shared_ptr<linphone::Address> linphoneAddress = CoreManager::getInstance()->getCore()->interpretUrl(
::Utils::appStringToCoreString(sipAddress) ::Utils::appStringToCoreString(sipAddress)
); );
addToConferencePrivate(linphoneAddress); addToConferencePrivate(linphoneAddress);
......
...@@ -96,7 +96,7 @@ static void removeBelcardPhoto (const shared_ptr<belcard::BelCard> &belcard, boo ...@@ -96,7 +96,7 @@ static void removeBelcardPhoto (const shared_ptr<belcard::BelCard> &belcard, boo
static string interpretSipAddress (const QString &sipAddress) { static string interpretSipAddress (const QString &sipAddress) {
string out; string out;
shared_ptr<linphone::Address> linphoneAddress = CoreManager::getInstance()->getCore()->interpretSipAddress( shared_ptr<linphone::Address> linphoneAddress = CoreManager::getInstance()->getCore()->interpretUrl(
::Utils::appStringToCoreString(sipAddress) ::Utils::appStringToCoreString(sipAddress)
); );
......
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