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:
0bb8d95
)
Copy account code and flags form incoming to outgoing channel for purposes of local...
author
Mark Spencer
<markster@digium.com>
Thu, 22 Jul 2004 03:51:54 +0000
(
03:51
+0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 22 Jul 2004 03:51:54 +0000
(
03:51
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3490
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_dial.c
patch
|
blob
|
history
diff --git
a/apps/app_dial.c
b/apps/app_dial.c
index
9d92281
..
ba60d27
100755
(executable)
--- a/
apps/app_dial.c
+++ b/
apps/app_dial.c
@@
-771,6
+771,8
@@
static int dial_exec(struct ast_channel *chan, void *data)
tmp->chan->callerid = NULL;
/* Copy language from incoming to outgoing */
strncpy(tmp->chan->language, chan->language, sizeof(tmp->chan->language) - 1);
+ strncpy(tmp->chan->accountcode, chan->accountcode, sizeof(tmp->chan->accountcode) - 1);
+ tmp->chan->cdrflags = chan->cdrflags;
if (ast_strlen_zero(tmp->chan->musicclass))
strncpy(tmp->chan->musicclass, chan->musicclass, sizeof(tmp->chan->musicclass) - 1);
if (chan->ani)