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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
ac8d983c
Commit
ac8d983c
authored
12 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
#9910: fix contact header in outgoing request if via parameter are present
parent
30a1b49d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
daemon/src/sip/sipaccount.cpp
+10
-0
10 additions, 0 deletions
daemon/src/sip/sipaccount.cpp
with
10 additions
and
0 deletions
daemon/src/sip/sipaccount.cpp
+
10
−
0
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
;
...
...
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