correct default language setting for Background() app (bug #4044)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Kevin P. Fleming 22 years ago
parent e1e893d3b9
commit 6d05d785be

@ -5566,6 +5566,9 @@ static int pbx_builtin_background(struct ast_channel *chan, void *data)
}
}
if (!lang)
lang = chan->language;
if (options) {
if (!strcasecmp(options, "skip"))
flags.flags = BACKGROUND_SKIP;

Loading…
Cancel
Save