From 9a3f2c7052cec6dbe00212cef4d3362da03f4902 Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
Date: Mon, 5 Jul 2010 13:03:55 -0400
Subject: [PATCH] [#3649] Add default value for accounts configuration

---
 sflphone-common/src/sip/sipaccount.cpp | 30 +++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/sflphone-common/src/sip/sipaccount.cpp b/sflphone-common/src/sip/sipaccount.cpp
index 4c5fbb1ffc..c62b79107e 100644
--- a/sflphone-common/src/sip/sipaccount.cpp
+++ b/sflphone-common/src/sip/sipaccount.cpp
@@ -57,7 +57,35 @@ SIPAccount::SIPAccount (const AccountID& accountID)
         , _tlsSetting (NULL)
 	, _dtmfType(OVERRTP)
         , _displayName ("")
-        
+        , _tlsEnable(false)
+	, _tlsPortStr("")
+	, _tlsCaListFile("")
+	, _tlsCertificateFile("")
+	, _tlsPrivateKeyFile("")
+	, _tlsPassword("")
+        , _tlsMethod("")
+	, _tlsCiphers("")
+	, _tlsServerName("")
+	, _tlsVerifyServer(false)
+	, _tlsVerifyClient(false)
+	, _tlsRequireClientCertificate(false)
+	, _tlsNegotiationTimeoutSec("")
+	, _tlsNegotiationTimeoutMsec("")
+	, _stunServer("")
+	, _tlsEnabled(false)
+	, _stunEnabled(false)
+	, _routeset("")
+	  // , _realm("")
+	, _authenticationUsename("")
+	, _tlsListenerPort("5061")
+	, _dtmfType("")
+	, _srtpEnabled(false)
+	, _srtpKeyExchange("")
+	, _srtpFallback(false)
+	, _zrtpDisplaySas(false)
+	, _zrtpDisplaySasOnce(false)
+	, _zrtpHelloHash(false)
+	, _zrtpNotSuppWarning(false)
 {
     
     // IP2IP settings must be loaded before singleton instanciation, cannot call it here... 
-- 
GitLab