[Asterisk-cvs] asterisk/channels chan_agent.c,1.56,1.57
markster at lists.digium.com
markster at lists.digium.com
Sat Sep 6 19:11:20 CDT 2003
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv22006/channels
Modified Files:
chan_agent.c
Log Message:
Copy context properly
Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** chan_agent.c 6 Sep 2003 20:13:09 -0000 1.56
--- chan_agent.c 7 Sep 2003 00:12:29 -0000 1.57
***************
*** 807,810 ****
--- 807,811 ----
ast_setstate(parent, AST_STATE_UP);
ast_setstate(chan, AST_STATE_UP);
+ strncpy(parent->context, chan->context, sizeof(parent->context) - 1);
/* Go ahead and mark the channel as a zombie so that masquerade will
destroy it for us, and we need not call ast_hangup */
More information about the svn-commits
mailing list