mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Add a log when calling address is not ok.
This commit is contained in:
parent
a2c5a9e571
commit
2d6026b73b
1 changed files with 3 additions and 1 deletions
|
|
@ -96,8 +96,10 @@ void CallsListModel::launchAudioCall (const QString &sipAddress, const QString&
|
|||
shared_ptr<linphone::Core> core = CoreManager::getInstance()->getCore();
|
||||
|
||||
shared_ptr<linphone::Address> address = core->interpretUrl(Utils::appStringToCoreString(sipAddress));
|
||||
if (!address)
|
||||
if (!address){
|
||||
qCritical() << "The calling address is not a SIP address : " << sipAddress;
|
||||
return;
|
||||
}
|
||||
|
||||
shared_ptr<linphone::CallParams> params = core->createCallParams(nullptr);
|
||||
params->enableVideo(false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue