[Asterisk-cvs] asterisk/channels chan_agent.c,1.110,1.111
markster at lists.digium.com
markster at lists.digium.com
Mon Feb 7 16:23:44 CST 2005
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv14072/channels
Modified Files:
chan_agent.c
Log Message:
Inherit variables across an agent (bug #3520)
Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- chan_agent.c 1 Feb 2005 07:09:56 -0000 1.110
+++ chan_agent.c 7 Feb 2005 22:24:11 -0000 1.111
@@ -513,6 +513,7 @@
p->chan->cid.cid_name = strdup(ast->cid.cid_name);
else
p->chan->cid.cid_name = NULL;
+ ast_channel_inherit_variables(ast, p->chan);
res = ast_call(p->chan, p->loginchan, 0);
CLEANUP(ast,p);
ast_mutex_unlock(&p->lock);
More information about the svn-commits
mailing list