diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index a1df6460..2b6d3d22 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -109,11 +109,11 @@ void AmSipDialog::updateStatus(const AmSipRequest& req) // target refresh requests if (req.from_uri.length() && - (req.method.length()==6 && - ((req.method == "INVITE") || - (req.method == "UPDATE") || - (req.method == "NOTIFY"))) || - (req.method == "SUBSCRIBE")) + ((req.method.length()==6 && + ((req.method == "INVITE") || + (req.method == "UPDATE") || + (req.method == "NOTIFY"))) || + (req.method == "SUBSCRIBE"))) { remote_uri = req.from_uri;