Merge "chan_rtp: Set a sane default rtp engine for unicast."

This commit is contained in:
Joshua Colp
2016-10-18 11:38:13 -05:00
committed by Gerrit Code Review

View File

@@ -314,7 +314,7 @@ static struct ast_channel *unicast_rtp_request(const char *type, struct ast_form
}
engine_name = S_COR(ast_test_flag(&opts, OPT_RTP_ENGINE),
opt_args[OPT_ARG_RTP_ENGINE], NULL);
opt_args[OPT_ARG_RTP_ENGINE], "asterisk");
ast_ouraddrfor(&address, &local_address);
instance = ast_rtp_instance_new(engine_name, NULL, &local_address, NULL);