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 */
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum