Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
e319dc86
Commit
e319dc86
authored
Nov 28, 2013
by
Simon Morlat
Browse files
don't put transport=tls if uri scheme is sips
parent
7fa044d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/provider.c
View file @
e319dc86
...
...
@@ -403,7 +403,8 @@ static void channel_on_sending(belle_sip_channel_listener_t *obj, belle_sip_chan
if
(
strcmp
(
transport
,
"udp"
)
==
0
){
belle_sip_parameters_remove_parameter
(
BELLE_SIP_PARAMETERS
(
contact_uri
),
"transport"
);
}
else
{
belle_sip_uri_set_transport_param
(
contact_uri
,
transport
);
if
(
!
belle_sip_uri_is_secure
(
contact_uri
))
belle_sip_uri_set_transport_param
(
contact_uri
,
transport
);
}
if
(
port
!=
belle_sip_listening_point_get_well_known_port
(
transport
))
{
belle_sip_uri_set_port
(
contact_uri
,
port
);
...
...
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