Commit e319dc86 authored by Simon Morlat's avatar Simon Morlat

don't put transport=tls if uri scheme is sips

parent 7fa044d8
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment