-
Stepan Salenikovich authored
The name of the contact is not the same as the peerName which comes from the display name. The display name comes directly fromt the peer (transfered via SIP info) where as the contact is set by the user. If the contact is deleted or updated, we do not want their old name to remain in the call history. Change-Id: Ibae3967291047d1f53c75ef1a043379f2f293fc9 Tuleap: #307
Stepan Salenikovich authoredThe name of the contact is not the same as the peerName which comes from the display name. The display name comes directly fromt the peer (transfered via SIP info) where as the contact is set by the user. If the contact is deleted or updated, we do not want their old name to remain in the call history. Change-Id: Ibae3967291047d1f53c75ef1a043379f2f293fc9 Tuleap: #307
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
call.cpp 92.53 KiB
/****************************************************************************
* Copyright (C) 2009-2016 by Savoir-faire Linux *
* Author : Jérémy Quentin <jeremy.quentin@savoirfairelinux.com> *
* Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> *
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public *
* License as published by the Free Software Foundation; either *
* version 2.1 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
//Parent
#include "call.h"
//Std include
#include <time.h>
#include <memory>
//Qt
#include <QtCore/QFile>
#include <QtCore/QTimer>
#include <QtCore/QDateTime>
//DRing
#include <account_const.h>
#include <security_const.h>
#include <call_const.h>
//Ring library
#include "dbus/callmanager.h"
#include "collectioninterface.h"
#include "person.h"
#include "uri.h"
#include <mime.h>
#include "account.h"
#include "accountmodel.h"
#include "availableaccountmodel.h"
#include "private/videorenderermanager.h"
#include "localrecordingcollection.h"
#include "categorizedhistorymodel.h"
#include "useractionmodel.h"
#include "callmodel.h"
#include "certificate.h"
#include "numbercategory.h"
#include "certificatemodel.h"
#include "phonedirectorymodel.h"
#include "contactmethod.h"
#include "video/renderer.h"
#include "video/sourcemodel.h"
#include "tlsmethodmodel.h"
#include "audio/settings.h"
#include "personmodel.h"
#include "private/contactmethod_p.h"
#include "media/audio.h"
#include "media/video.h"
#include "media/text.h"
#include "media/textrecording.h"
#include "media/file.h"
#include "securityevaluationmodel.h"