Commit cc456daf authored by Ronan Abhamon's avatar Ronan Abhamon

fix(Cli): check correctly sip address in `cliInitiateConference`

parent 060702e3
......@@ -53,6 +53,11 @@ static void cliInitiateConference (QHash<QString, QString> &args) {
// Check identity.
{
shared_ptr<linphone::Address> address = core->interpretUrl(::Utils::appStringToCoreString(args["sip-address"]));
if (!address) {
qWarning() << QStringLiteral("Unable to parse invalid sip address.");
return;
}
address->clean();
const string sipAddress = address->asString();
......
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