diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index 095185b41e44612acef385ff99ec4a2d00ea1c4c..d8001dc1b7a6510c4b9afe35aad46f1961ab755f 100644 --- a/sflphone-common/src/sip/sipvoiplink.cpp +++ b/sflphone-common/src/sip/sipvoiplink.cpp @@ -475,7 +475,7 @@ int SIPVoIPLink::sendRegister (AccountID id) status = createUDPServer (id); if (status != PJ_SUCCESS) { - _debug ("Failed to initialize UDP transport with a local address for account %s\n. Try to use the local UDT transport", id.c_str()); + _debug ("Failed to initialize UDP transport with a local address for account %s\n. Try to use the local UDP transport", id.c_str()); account->setAccountTransport (_localUDPTransport); } } @@ -498,13 +498,6 @@ int SIPVoIPLink::sendRegister (AccountID id) // Update the state of the voip link account->setRegistrationState (Trying); - if (!validStunServer) { - account->setRegistrationState (ErrorExistStun); - account->setRegister (false); - _mutexSIP.leaveMutex(); - return false; - } - // Create the registration according to the account ID status = pjsip_regc_create (_endpt, (void*) account, ®c_cb, ®c);