[svn-commits] trunk r32633 - /trunk/apps/app_followme.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Tue Jun 6 10:15:17 MST 2006


Author: bweschke
Date: Tue Jun  6 12:15:16 2006
New Revision: 32633

URL: http://svn.digium.com/view/asterisk?rev=32633&view=rev
Log:
 If the recorded file is found, don't actually start to play it.


Modified:
    trunk/apps/app_followme.c

Modified: trunk/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_followme.c?rev=32633&r1=32632&r2=32633&view=diff
==============================================================================
--- trunk/apps/app_followme.c (original)
+++ trunk/apps/app_followme.c Tue Jun  6 12:15:16 2006
@@ -1018,6 +1018,8 @@
 				/* just checking to see if we *can* play it. 						*/
 				if (ast_streamfile(chan, namerecloc, chan->language))
 					ast_copy_string(namerecloc, "", sizeof(namerecloc));					
+				else
+					ast_stopstream(chan);
 
 				if (ast_streamfile(chan, targs.plsholdprompt, chan->language))
 					goto outrun;



More information about the svn-commits mailing list