summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-12-04 22:26:38 +0000
committerMark Spencer <markster@digium.com>2003-12-04 22:26:38 +0000
commit26411c10218f5239c5df8dda487a98c4b4ad3c3d (patch)
treee123e8021cdec89568253ebb1c20354a4137fde1 /apps
parentda34cf8fd694a6e25348560a43032ecddbece9f0 (diff)
Forward language choice
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-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)