aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-12-04 22:26:38 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-12-04 22:26:38 +0000
commit85e718e4d92cfe665cc545dd8cc99b5da63cd00e (patch)
treee123e8021cdec89568253ebb1c20354a4137fde1 /apps/app_dial.c
parent0091bf02c556296eecd347c92adea3ff0dec1560 (diff)
Forward language choice
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1826 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rwxr-xr-xapps/app_dial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 7ff2f7673..7de175cc7 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -571,6 +571,8 @@ static int dial_exec(struct ast_channel *chan, void *data)
tmp->chan->callerid = strdup(chan->callerid);
else
tmp->chan->callerid = NULL;
+ /* Copy language from incoming to outgoing */
+ strcpy(tmp->chan->language, chan->language);
if (!strlen(tmp->chan->musicclass))
strncpy(tmp->chan->musicclass, chan->musicclass, sizeof(tmp->chan->musicclass) - 1);
if (chan->ani)