chan_rtp: Set a sane default rtp engine for unicast.

ASTERISK-26439

Change-Id: I7f5ee2eeba8906e9ecb3293dbe3a747770bb5011
changes/24/4124/1
Moises Silva 9 years ago committed by Joshua Colp
parent 1cfc5119f7
commit 3135b15a54

@ -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);

Loading…
Cancel
Save