[asterisk-commits] file: trunk r178801 - /trunk/main/file.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 26 10:43:19 CST 2009


Author: file
Date: Thu Feb 26 10:42:36 2009
New Revision: 178801

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=178801
Log:
Fix an issue where the timer for file playback would not be stopped if DAHDI was not installed.

(closes issue #14541)
Reported by: grant

Modified:
    trunk/main/file.c

Modified: trunk/main/file.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/file.c?view=diff&rev=178801&r1=178800&r2=178801
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Thu Feb 26 10:42:36 2009
@@ -292,9 +292,7 @@
 		if (f->fmt->format < AST_FORMAT_AUDIO_MASK) {
 			f->owner->stream = NULL;
 			AST_SCHED_DEL(f->owner->sched, f->owner->streamid);
-#ifdef HAVE_DAHDI
 			ast_settimeout(f->owner, 0, NULL, NULL);
-#endif			
 		} else {
 			f->owner->vstream = NULL;
 			AST_SCHED_DEL(f->owner->sched, f->owner->vstreamid);




More information about the asterisk-commits mailing list