mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
3
pbx.c
3
pbx.c
@@ -5566,6 +5566,9 @@ static int pbx_builtin_background(struct ast_channel *chan, void *data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!lang)
|
||||||
|
lang = chan->language;
|
||||||
|
|
||||||
if (options) {
|
if (options) {
|
||||||
if (!strcasecmp(options, "skip"))
|
if (!strcasecmp(options, "skip"))
|
||||||
flags.flags = BACKGROUND_SKIP;
|
flags.flags = BACKGROUND_SKIP;
|
||||||
|
Reference in New Issue
Block a user