Skip to content
Snippets Groups Projects
Commit af4a6c49 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Register/unregister from account window

OK if : 1 SIP account
	1 IAX account
	1 SIP and 1 IAX account
parent f079eef7
No related branches found
No related tags found
No related merge requests found
...@@ -212,7 +212,6 @@ SIPVoIPLink::loadSIPLocalIP() ...@@ -212,7 +212,6 @@ SIPVoIPLink::loadSIPLocalIP()
void void
SIPVoIPLink::getEvent() SIPVoIPLink::getEvent()
{ {
osip_message_t *req;
char* tmp2; char* tmp2;
eXosip_event_t* event = eXosip_event_wait(0, 50); eXosip_event_t* event = eXosip_event_wait(0, 50);
eXosip_lock(); eXosip_lock();
...@@ -231,10 +230,9 @@ SIPVoIPLink::getEvent() ...@@ -231,10 +230,9 @@ SIPVoIPLink::getEvent()
_debugMid(" !EXOSIP_REGISTRATION_NEW event is not implemented\n"); _debugMid(" !EXOSIP_REGISTRATION_NEW event is not implemented\n");
break; break;
case EXOSIP_REGISTRATION_SUCCESS: /** 01 < user is successfully registred. */ case EXOSIP_REGISTRATION_SUCCESS: /** 01 < user is successfully registred. */
_debugMid(" !EXOSIP_REGISTRATION_SUCCESS : %i\n", getRegistrationState()); _debugMid(" !EXOSIP_REGISTRATION_SUCCESS \n");
if(getRegistrationState() == VoIPLink::Registered){ if(_eXosipRegID == EXOSIP_ERROR_STD)
setRegistrationState(Unregistered); setRegistrationState(Unregistered);
}
else else
setRegistrationState(Registered); setRegistrationState(Registered);
//Manager::instance().registrationSucceed(getAccountID()); //Manager::instance().registrationSucceed(getAccountID());
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment