Skip to content
Snippets Groups Projects
Commit 1e249e4f authored by Adrien Béraud's avatar Adrien Béraud Committed by gerrit2
Browse files

sip: set incoming call secure state


Change-Id: I802006aa7a139413da6e857e2030f817d06e9941
Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent 85d69d10
No related branches found
No related tags found
No related merge requests found
...@@ -294,6 +294,7 @@ transaction_request_cb(pjsip_rx_data *rdata) ...@@ -294,6 +294,7 @@ transaction_request_cb(pjsip_rx_data *rdata)
} }
} }
call->setTransport(transport); call->setTransport(transport);
call->setSecure(transport->isSecure());
// FIXME : for now, use the same address family as the SIP transport // FIXME : for now, use the same address family as the SIP transport
auto family = pjsip_transport_type_get_af(pjsip_transport_get_type_from_flag(transport->get()->flag)); auto family = pjsip_transport_type_get_af(pjsip_transport_get_type_from_flag(transport->get()->flag));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment