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
fd87e1d6
Commit
fd87e1d6
authored
Oct 02, 2007
by
Alexandre Bourget
Browse files
IAX: Fix new registration when account updated.
parent
669cebe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/iaxvoiplink.cpp
View file @
fd87e1d6
...
...
@@ -397,12 +397,15 @@ IAXVoIPLink::sendRegister()
// lock
_mutexIAX
.
enterMutex
();
if
(
_regSession
==
NULL
)
{
_regSession
=
iax_session_new
();
// Always use a brand new session
if
(
_regSession
)
{
iax_destroy
(
_regSession
);
}
_regSession
=
iax_session_new
();
if
(
!
_regSession
)
{
_debug
(
"Error when generating new session for register"
);
}
else
{
// refresh
// last reg
...
...
Write
Preview
Supports
Markdown
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