Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
af4a6c49
Commit
af4a6c49
authored
Apr 08, 2008
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sipvoiplink.cpp
View file @
af4a6c49
...
...
@@ -212,7 +212,6 @@ SIPVoIPLink::loadSIPLocalIP()
void
SIPVoIPLink
::
getEvent
()
{
osip_message_t
*
req
;
char
*
tmp2
;
eXosip_event_t
*
event
=
eXosip_event_wait
(
0
,
50
);
eXosip_lock
();
...
...
@@ -225,16 +224,15 @@ SIPVoIPLink::getEvent()
_debugMid
(
"> SIP Event: [cdt=%4d:%4d:%4d] type=#%03d %s = "
,
event
->
cid
,
event
->
did
,
event
->
tid
,
event
->
type
,
event
->
textinfo
);
switch
(
event
->
type
)
{
/* REGISTER related events */
case
EXOSIP_REGISTRATION_NEW
:
/** 00 < announce new registration. */
_debugMid
(
" !EXOSIP_REGISTRATION_NEW event is not implemented
\n
"
);
break
;
case
EXOSIP_REGISTRATION_SUCCESS
:
/** 01 < user is successfully registred. */
_debugMid
(
" !EXOSIP_REGISTRATION_SUCCESS
: %i
\n
"
,
getRegistrationState
()
);
if
(
getRegistrationState
()
==
VoIPLink
::
Registered
){
_debugMid
(
" !EXOSIP_REGISTRATION_SUCCESS
\n
"
);
if
(
_eXosipRegID
==
EXOSIP_ERROR_STD
)
setRegistrationState
(
Unregistered
);
}
else
setRegistrationState
(
Registered
);
//Manager::instance().registrationSucceed(getAccountID());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment