Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
2a19c4c0
Commit
2a19c4c0
authored
Apr 16, 2008
by
Emmanuel Milou
Browse files
Options
Downloads
Patches
Plain Diff
IAX2: Registration authentification error added
parent
8b04424a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/iaxvoiplink.cpp
+1
-10
1 addition, 10 deletions
src/iaxvoiplink.cpp
with
1 addition
and
10 deletions
src/iaxvoiplink.cpp
+
1
−
10
View file @
2a19c4c0
...
@@ -432,7 +432,6 @@ IAXVoIPLink::sendUnregister()
...
@@ -432,7 +432,6 @@ IAXVoIPLink::sendUnregister()
_debug
(
"IAX2 send unregister
\n
"
);
_debug
(
"IAX2 send unregister
\n
"
);
setRegistrationState
(
Unregistered
);
setRegistrationState
(
Unregistered
);
Manager
::
instance
().
unregistrationSucceed
(
""
);
return
false
;
return
false
;
}
}
...
@@ -819,7 +818,6 @@ IAXVoIPLink::iaxHandleVoiceEvent(iax_event* event, IAXCall* call)
...
@@ -819,7 +818,6 @@ IAXVoIPLink::iaxHandleVoiceEvent(iax_event* event, IAXCall* call)
}
}
/**
/**
* Handle the registration process
* Handle the registration process
*/
*/
...
@@ -832,10 +830,7 @@ IAXVoIPLink::iaxHandleRegReply(iax_event* event)
...
@@ -832,10 +830,7 @@ IAXVoIPLink::iaxHandleRegReply(iax_event* event)
iax_destroy
(
_regSession
);
iax_destroy
(
_regSession
);
_mutexIAX
.
leaveMutex
();
_mutexIAX
.
leaveMutex
();
_regSession
=
NULL
;
_regSession
=
NULL
;
setRegistrationState
(
ErrorAuth
);
setRegistrationState
(
Error
);
//Manager::instance().registrationFailed(getAccountID());
}
}
else
if
(
event
->
etype
==
IAX_EVENT_REGACK
)
{
else
if
(
event
->
etype
==
IAX_EVENT_REGACK
)
{
/* Authentication succeeded */
/* Authentication succeeded */
...
@@ -847,14 +842,10 @@ IAXVoIPLink::iaxHandleRegReply(iax_event* event)
...
@@ -847,14 +842,10 @@ IAXVoIPLink::iaxHandleRegReply(iax_event* event)
// I mean, save the timestamp, so that we re-register again in the REFRESH time.
// I mean, save the timestamp, so that we re-register again in the REFRESH time.
// Defaults to 60, as per draft-guy-iax-03.
// Defaults to 60, as per draft-guy-iax-03.
_nextRefreshStamp
=
time
(
NULL
)
+
(
event
->
ies
.
refresh
?
event
->
ies
.
refresh
:
60
);
_nextRefreshStamp
=
time
(
NULL
)
+
(
event
->
ies
.
refresh
?
event
->
ies
.
refresh
:
60
);
setRegistrationState
(
Registered
);
setRegistrationState
(
Registered
);
//Manager::instance().registrationSucceed(getAccountID());
}
}
}
}
void
void
IAXVoIPLink
::
iaxHandlePrecallEvent
(
iax_event
*
event
)
IAXVoIPLink
::
iaxHandlePrecallEvent
(
iax_event
*
event
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment