[asterisk-commits] oej: branch oej/pinequeue-1.8 r363636 - /team/oej/pinequeue-1.8/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 25 08:50:16 CDT 2012


Author: oej
Date: Wed Apr 25 08:50:12 2012
New Revision: 363636

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=363636
Log:
A tiny bit of cleaning up

Modified:
    team/oej/pinequeue-1.8/apps/app_queue.c

Modified: team/oej/pinequeue-1.8/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/pinequeue-1.8/apps/app_queue.c?view=diff&rev=363636&r1=363635&r2=363636
==============================================================================
--- team/oej/pinequeue-1.8/apps/app_queue.c (original)
+++ team/oej/pinequeue-1.8/apps/app_queue.c Wed Apr 25 08:50:12 2012
@@ -2611,7 +2611,6 @@
 				if (res)
 					goto playout;
 				res = ast_say_number(qe->chan, qe->parent->announcepositionlimit, AST_DIGIT_ANY, qe->chan->language, NULL); /* Needs gender */
-/* OEJ CHECK */
 				if (res)
 					goto playout;
 			} else {
@@ -5809,12 +5808,6 @@
 	state->chan->stream = NULL;
 	state->stream = NULL;
 	state->aqsi->now_playing = 0;	/* Important flag to indicate we are no longer playing on this channel */
-	//ast_log(LOG_DEBUG, "--- Restarting MOH --\n");
-	//if (state->aqsi->ringing) {
-		//ast_indicate(state->chan, AST_CONTROL_RINGING);
-	//} else if (state->aqsi->moh) {
-		//ast_moh_start(state->chan, state->aqsi->moh, NULL);
-	//}
 }
 
 /*! \brief Release generator on channel */
@@ -6280,7 +6273,7 @@
 		}
 
 		if (background_prompts) {
-			play_file(qe.chan, NULL, ringing, qe.moh);	/* OEJ - Trigger next prompt */
+			play_file(qe.chan, NULL, ringing, qe.moh);	
 		}
 		if (makeannouncement) {
 			/* Make a position announcement, if enabled */




More information about the asterisk-commits mailing list