mirror of
https://github.com/asterisk/asterisk.git
synced 2026-04-30 10:38:23 +00:00
`ast_ari_channels_create` and `ast_ari_channels_dial` called the `ast_channel_get_by_name` function with optional arguments. Since8f1982c4d6, this function logs an error for empty channel names. This commit adds checks for empty optional arguments that are used to call `ast_channel_get_by_name` to prevent these error logs. (cherry picked from commit3f6e602392)