[Asterisk-cvs] asterisk/res res_parking.c,1.19,1.20
markster at lists.digium.com
markster at lists.digium.com
Wed Apr 7 00:10:30 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/include/asterisk channel.h,1.41,1.42 channel_pvt.h,1.13,1.14 dsp.h,1.2,1.3 pbx.h,1.23,1.24
- Next message: [Asterisk-cvs] asterisk/channels chan_zap.c,1.202,1.203
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv30679/res
Modified Files:
res_parking.c
Log Message:
Fix double parking crash (bug #1302)
Index: res_parking.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_parking.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- res_parking.c 6 Apr 2004 22:17:32 -0000 1.19
+++ res_parking.c 7 Apr 2004 04:11:00 -0000 1.20
@@ -575,11 +575,11 @@
were the person called. */
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3 "Channel %s connected to parked call %d\n", chan->name, park);
- res = ast_bridge_call(peer, chan, 1, 1, 0);
+ res = ast_bridge_call(chan, peer, 1, 1, 0);
/* Simulate the PBX hanging up */
- if (res != AST_PBX_KEEPALIVE)
+ if (res != AST_PBX_NO_HANGUP_PEER)
ast_hangup(peer);
- return -1;
+ return res;
} else {
/* XXX Play a message XXX */
dres = ast_streamfile(chan, "pbx-invalidpark", chan->language);
- Previous message: [Asterisk-cvs] asterisk/include/asterisk channel.h,1.41,1.42 channel_pvt.h,1.13,1.14 dsp.h,1.2,1.3 pbx.h,1.23,1.24
- Next message: [Asterisk-cvs] asterisk/channels chan_zap.c,1.202,1.203
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list