[asterisk-commits] russell: branch 1.4 r114230 - /branches/1.4/main/autoservice.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 17 17:15:43 CDT 2008


Author: russell
Date: Thu Apr 17 17:15:43 2008
New Revision: 114230

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114230
Log:
Remove redundant safety net.  The check for the autoservice channel list state
accomplishes the same goal in a better way.

(issue #12470)
Reported By: atis

Modified:
    branches/1.4/main/autoservice.c

Modified: branches/1.4/main/autoservice.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/autoservice.c?view=diff&rev=114230&r1=114229&r2=114230
==============================================================================
--- branches/1.4/main/autoservice.c (original)
+++ branches/1.4/main/autoservice.c Thu Apr 17 17:15:43 2008
@@ -271,10 +271,6 @@
 	if (!orig_end_dtmf_flag)
 		ast_clear_flag(chan, AST_FLAG_END_DTMF_ONLY);
 
-	/* Wait for it to un-block */
-	while (ast_test_flag(chan, AST_FLAG_BLOCKING))
-		usleep(1000);
-
 	while ((f = AST_LIST_REMOVE_HEAD(&dtmf_frames, frame_list))) {
 		ast_queue_frame(chan, f);
 		ast_frfree(f);




More information about the asterisk-commits mailing list