[asterisk-commits] mmichelson: trunk r134476 - in /trunk: ./ main/app.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 30 13:33:12 CDT 2008
Author: mmichelson
Date: Wed Jul 30 13:33:12 2008
New Revision: 134476
URL: http://svn.digium.com/view/asterisk?view=rev&rev=134476
Log:
Merged revisions 134475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r134475 | mmichelson | 2008-07-30 13:31:47 -0500 (Wed, 30 Jul 2008) | 4 lines
Fix a spot where a function could return without bringing
a channel out of autoservice.
........
Modified:
trunk/ (props changed)
trunk/main/app.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/app.c
URL: http://svn.digium.com/view/asterisk/trunk/main/app.c?view=diff&rev=134476&r1=134475&r2=134476
==============================================================================
--- trunk/main/app.c (original)
+++ trunk/main/app.c Wed Jul 30 13:33:12 2008
@@ -299,8 +299,12 @@
res = ast_waitfor(chan, 100);
/* ast_waitfor will return the number of remaining ms on success */
- if (res < 0)
+ if (res < 0) {
+ if (peer) {
+ ast_autoservice_stop(peer);
+ }
return res;
+ }
if (ast_opt_transmit_silence) {
silgen = ast_channel_start_silence_generator(chan);
More information about the asterisk-commits
mailing list