aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-26 23:35:29 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-06-26 23:35:29 +0000
commitfacd3d08c9afe7af9afc6f9232efeee569c0e94a (patch)
tree72c673707e98a7ec73f00fd089b2c3faff945e35 /apps
parentcc1ace2eed63e39ac79e08a2ad7f9ba7c7416177 (diff)
Improve consistency between app_dial and app_queue with regards
to how language is handled between two channels whose native language is different. Prior to this patch, app_dial would have the callee inherit the caller's language, and app_queue would not. After this patch, app_dial no longer has the language inheritance capability. This seems to make the most sense since it seems more natural for a person to hear files played back in his/her native language instead of the language of the person on the far end of the call. See the CHANGES file for hints on how to keep the previous behavior of app_dial if desired. (closes issue #12489) Reported by: bcnit git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125647 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_dial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 641edc5b3..b7cafd091 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1496,8 +1496,6 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
S_REPLACE(tc->cid.cid_ani, ast_strdup(chan->cid.cid_ani));
S_REPLACE(tc->cid.cid_rdnis, ast_strdup(chan->cid.cid_rdnis));
- /* Copy language from incoming to outgoing */
- ast_string_field_set(tc, language, chan->language);
ast_string_field_set(tc, accountcode, chan->accountcode);
tc->cdrflags = chan->cdrflags;
if (ast_strlen_zero(tc->musicclass))