Skip to content
Snippets Groups Projects
Commit 26411c10 authored by Mark Spencer's avatar Mark Spencer
Browse files

Forward language choice

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent da34cf8f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment