diff --git a/sflphone-common/src/managerimpl.h b/sflphone-common/src/managerimpl.h
index b4c84ae836b3a75ebf5ba462bf1256745d6d768c..11f0782e06f03fcdd25aa95636c2dfd18dd3cab3 100644
--- a/sflphone-common/src/managerimpl.h
+++ b/sflphone-common/src/managerimpl.h
@@ -1445,8 +1445,6 @@ class ManagerImpl
          */
         VoIPLink* getAccountLink (const std::string& accountID="");
 
-        VoIPLink* getSIPAccountLink (void);
-
         std::string getAccountIdFromNameAndServer (const std::string& userName, const std::string& server);
 
         int getLocalIp2IpPort();
diff --git a/sflphone-common/src/managerimpl_registration.cpp b/sflphone-common/src/managerimpl_registration.cpp
index b2b1c3385b3404daebeef7e850a21f793730712d..0bc38122a8da768b0b06bd75b52e556512332024 100644
--- a/sflphone-common/src/managerimpl_registration.cpp
+++ b/sflphone-common/src/managerimpl_registration.cpp
@@ -139,25 +139,17 @@ ManagerImpl::initRegisterAccounts()
 void ManagerImpl::restartPJSIP (void)
 {
     _debug ("ManagerImpl::restartPJSIP\n");
-    VoIPLink *link = getSIPAccountLink();
-    SIPVoIPLink *siplink = NULL;
-
-    if (link) {
-        siplink = dynamic_cast<SIPVoIPLink*> (getSIPAccountLink ());
-    }
-
+    SIPVoIPLink *siplink = SIPVoIPLink::instance ();
     _debug ("ManagerImpl::unregister sip account\n");
 
     this->unregisterCurSIPAccounts();
     /* Terminate and initialize the PJSIP library */
 
-    if (siplink) {
-        _debug ("ManagerImpl::Terminate sip\n");
-        siplink->terminate ();
-        siplink = SIPVoIPLink::instance ();
-        _debug ("ManagerImpl::Init new sip\n");
-        siplink->init ();
-    }
+	_debug ("ManagerImpl::Terminate sip\n");
+	siplink->terminate ();
+	siplink = SIPVoIPLink::instance ();
+	_debug ("ManagerImpl::Init new sip\n");
+	siplink->init ();
 
     _debug ("ManagerImpl::register sip account\n");
 
@@ -179,26 +171,6 @@ VoIPLink* ManagerImpl::getAccountLink (const std::string& accountID)
         return SIPVoIPLink::instance ();
 }
 
-VoIPLink* ManagerImpl::getSIPAccountLink()
-{
-    /* We are looking for the first SIP account we met because all the SIP accounts have the same voiplink */
-    Account *account;
-    AccountMap::iterator iter = _accountMap.begin();
-
-    while (iter != _accountMap.end()) {
-
-        account = iter->second;
-
-        if (account->getType() == "sip") {
-            return account->getVoIPLink();
-        }
-
-        ++iter;
-    }
-
-    return NULL;
-}
-
 pjsip_regc *getSipRegcFromID (const std::string& id UNUSED)
 {
     /*SIPAccount *tmp = dynamic_cast<SIPAccount *>getAccount(id);