Skip to content
Snippets Groups Projects
Commit cfe24c2e authored by Alexandre Savard's avatar Alexandre Savard
Browse files
parents 75b772b1 cff06646
Branches
Tags
No related merge requests found
...@@ -1673,11 +1673,10 @@ void lookForReceivedParameter(pjsip_regc_cbparam &param, SIPAccount &account) ...@@ -1673,11 +1673,10 @@ void lookForReceivedParameter(pjsip_regc_cbparam &param, SIPAccount &account)
account.setRPort(param.rdata->msg_info.via->rport_param); account.setRPort(param.rdata->msg_info.via->rport_param);
} }
void processRegistrationError(SIPAccount &account, RegistrationState /*state*/) void processRegistrationError(SIPAccount &account, RegistrationState state)
{ {
account.stopKeepAliveTimer(); account.stopKeepAliveTimer();
#warning FIXME: We should be using the state parameter here account.setRegistrationState(state);
account.setRegistrationState(ErrorAuth);
account.setRegister(false); account.setRegister(false);
SIPVoIPLink::instance()->sipTransport.shutdownSipTransport(account); SIPVoIPLink::instance()->sipTransport.shutdownSipTransport(account);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment