[svn-commits] file: branch 1.4 r58992 -
/branches/1.4/apps/app_page.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Mar 16 09:12:29 MST 2007
Author: file
Date: Fri Mar 16 11:12:28 2007
New Revision: 58992
URL: http://svn.digium.com/view/asterisk?view=rev&rev=58992
Log:
Wait for the async thread to exit when hanging up all of the paged phones under all circumstances. (issue #9181 reported by PhilSmith)
Modified:
branches/1.4/apps/app_page.c
Modified: branches/1.4/apps/app_page.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_page.c?view=diff&rev=58992&r1=58991&r2=58992
==============================================================================
--- branches/1.4/apps/app_page.c (original)
+++ branches/1.4/apps/app_page.c Fri Mar 16 11:12:28 2007
@@ -167,9 +167,8 @@
for (i = 0; i < pos; i++) {
struct ast_dial *dial = dials[i];
- /* If the dial is already answered, then they will/should get kicked out by Meetme */
- if (ast_dial_state(dial) != AST_DIAL_RESULT_ANSWERED)
- ast_dial_join(dial);
+ /* We have to wait for the async thread to exit as it's possible Meetme won't throw them out immediately */
+ ast_dial_join(dial);
/* Hangup all channels */
ast_dial_hangup(dial);
More information about the svn-commits
mailing list