diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-20 16:11:16 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-20 16:11:16 +0000 |
commit | 4908764c59163179ad69fb85206207f0c6e2e84c (patch) | |
tree | c318a920899b44b2cd3d921780f384ce3c4c2562 /pbx.c | |
parent | 6527b0a0bd51736510c7cafa4b4730b50003da06 (diff) |
correct default language setting for Background() app (bug #4044)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5487 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-x | pbx.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |