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

Propagate language properly across chan_local (bug #1663)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 1a81758f
No related branches found
No related tags found
No related merge requests found
......@@ -247,6 +247,7 @@ static int local_call(struct ast_channel *ast, char *dest, int timeout)
p->chan->ani = strdup(p->owner->ani);
else
p->chan->ani = NULL;
strncpy(p->chan->language, p->owner->language, sizeof(p->chan->language) - 1);
p->launchedpbx = 1;
/* Start switch on sub channel */
res = ast_pbx_start(p->chan);
......
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