mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
Merge "chan_rtp: Set a sane default rtp engine for unicast."
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user