Skip to content
Snippets Groups Projects
Commit eb802c8f authored by yanmorin's avatar yanmorin
Browse files

Add message handling when not registred
parent 78c07794
No related branches found
No related tags found
No related merge requests found
......@@ -181,6 +181,7 @@ void
GUIServer::hangup(const std::string& callId) {
try {
short id = getIdFromCallId(callId);
// There was a problem when hanging up...
if (!GuiFramework::hangupCall(id)) {
throw std::runtime_error("Error when hangup");
}
......
......@@ -747,11 +747,12 @@ SipVoIPLink::getEvent (void)
}
break;
case EXOSIP_REGISTRATION_SUCCESS:
case EXOSIP_REGISTRATION_SUCCESS: //1
Manager::instance().displayStatus(LOGGED_IN_STATUS);
break;
case EXOSIP_REGISTRATION_FAILURE:
case EXOSIP_REGISTRATION_FAILURE: // 2
Manager::instance().displayError("getEvent:Registration Failure");
break;
case EXOSIP_MESSAGE_NEW:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment