Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
ac8d983c
Commit
ac8d983c
authored
Apr 24, 2012
by
Alexandre Savard
Browse files
#9910: fix contact header in outgoing request if via parameter are present
parent
30a1b49d
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sipaccount.cpp
View file @
ac8d983c
...
...
@@ -807,8 +807,18 @@ std::string SIPAccount::getContactHeader() const
// Else we determine this infor based on transport information
std
::
string
address
,
port
;
std
::
ostringstream
portstr
;
link_
->
sipTransport
.
findLocalAddressFromTransport
(
transport_
,
transportType
,
address
,
port
);
if
(
!
receivedParameter_
.
empty
())
address
=
receivedParameter_
;
if
(
rPort_
!=
-
1
)
{
portstr
<<
rPort_
;
port
=
portstr
.
str
();
}
// UDP does not require the transport specification
std
::
string
scheme
;
std
::
string
transport
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment