[Asterisk-cvs] asterisk/channels chan_agent.c,1.98,1.99
markster at lists.digium.com
markster at lists.digium.com
Wed Dec 15 22:18:42 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv1313/channels
Modified Files:
chan_agent.c
Log Message:
Merge russell's flag macro patch (with slight mods) (bug #3046)
Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- chan_agent.c 15 Dec 2004 04:47:12 -0000 1.98
+++ chan_agent.c 16 Dec 2004 03:15:20 -0000 1.99
@@ -354,19 +354,6 @@
p->acknowledged = 0;
}
}
-#if 0
- /* I don't know what this code does and was unable to get a hold of Jim to
- find out, but it causes chan_agent to crash (see bug #3043) at
- http://bugs.digium.com */
- if ((!strncmp(p->chan->name,"Zap",3)) && (!p->ackcall) && (!p->acknowledged))
- {
-
- p->acknowledged = 1;
- f = &answer_frame;
- if (p->chan)
- p->chan->_bridge = ast;
- }
-#endif
if (f && (f->frametype == AST_FRAME_CONTROL) && (f->subclass == AST_CONTROL_ANSWER)) {
/* TC */
if (p->ackcall) {
More information about the svn-commits
mailing list