[asterisk-commits] qwell: trunk r81456 - in /trunk: ./ apps/app_followme.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 4 15:59:04 CDT 2007
Author: qwell
Date: Tue Sep 4 15:59:04 2007
New Revision: 81456
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81456
Log:
Merged revisions 81455 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10634)
........
r81455 | qwell | 2007-09-04 15:54:51 -0500 (Tue, 04 Sep 2007) | 4 lines
Rather than attempt to play a file, we can just check whether it exists.
Issue 10634, patch by me, testing by pabelanger, sanity checked by bweschke
........
Modified:
trunk/ (props changed)
trunk/apps/app_followme.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_followme.c?view=diff&rev=81456&r1=81455&r2=81456
==============================================================================
--- trunk/apps/app_followme.c (original)
+++ trunk/apps/app_followme.c Tue Sep 4 15:59:04 2007
@@ -963,12 +963,8 @@
if (ast_play_and_record(chan, "vm-rec-name", namerecloc, 5, "sln", &duration, 128, 0, NULL) < 0)
goto outrun;
- /* The following call looks like we're going to playback the file, but we're actually */
- /* just checking to see if we *can* play it. */
- if (ast_streamfile(chan, namerecloc, chan->language))
+ if (!ast_fileexists(namerecloc, NULL, 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 asterisk-commits
mailing list