[Asterisk-cvs] asterisk/channels chan_local.c,1.43,1.44
markster at lists.digium.com
markster at lists.digium.com
Tue Mar 15 22:05:54 CST 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv21728/channels
Modified Files:
chan_local.c
Log Message:
Inherit variables across local channel (bug #3769)
Index: chan_local.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_local.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- chan_local.c 5 Mar 2005 04:35:23 -0000 1.43
+++ chan_local.c 16 Mar 2005 04:01:28 -0000 1.44
@@ -309,7 +309,7 @@
strncpy(p->chan->language, p->owner->language, sizeof(p->chan->language) - 1);
strncpy(p->chan->accountcode, p->owner->accountcode, sizeof(p->chan->accountcode) - 1);
p->chan->cdrflags = p->owner->cdrflags;
-
+ ast_channel_inherit_variables(p->owner, p->chan);
p->launchedpbx = 1;
/* Start switch on sub channel */
res = ast_pbx_start(p->chan);
More information about the svn-commits
mailing list