projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a81758
)
Propagate language properly across chan_local (bug #1663)
author
Mark Spencer
<markster@digium.com>
Mon, 17 May 2004 15:52:33 +0000
(15:52 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 17 May 2004 15:52:33 +0000
(15:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2992
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_local.c
patch
|
blob
|
history
diff --git
a/channels/chan_local.c
b/channels/chan_local.c
index
81ee2e9
..
86ed6d1
100755
(executable)
--- a/
channels/chan_local.c
+++ b/
channels/chan_local.c
@@
-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);