Commit 8a5777b5 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Use UDP for dialog test if TLS is not available.

parent 323dc894
......@@ -286,7 +286,11 @@ static void do_simple_call(void) {
pauline_register_req=register_user(stack, prov, "TCP" ,1 ,CALLER,NULL);
marie_register_req=register_user(stack, prov, "TLS" ,1 ,CALLEE,NULL);
if (belle_sip_provider_get_listening_point(prov, "tls")) {
marie_register_req=register_user(stack, prov, "TLS" ,1 ,CALLEE,NULL);
} else {
marie_register_req=register_user(stack, prov, "UDP" ,1 ,CALLEE,NULL);
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