[asterisk-commits] branch murf/bug_6264-1.2 - r8330 /team/murf/bug_6264-1.2/apps/app_dial.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 19 22:24:29 MST 2006


Author: murf
Date: Thu Jan 19 23:24:22 2006
New Revision: 8330

URL: http://svn.digium.com/view/asterisk?rev=8330&view=rev
Log:
I'll probably get shot for this, but I inserted a play of vm-dialout after the caller 
has his intro recorded. Requested via bug report 6264, it is a good thing to play there,
but it might be considered a "new feature". Easy to find and delete, tho, I'll let the
maintainers decide.


Modified:
    team/murf/bug_6264-1.2/apps/app_dial.c

Modified: team/murf/bug_6264-1.2/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug_6264-1.2/apps/app_dial.c?rev=8330&r1=8329&r2=8330&view=diff
==============================================================================
--- team/murf/bug_6264-1.2/apps/app_dial.c (original)
+++ team/murf/bug_6264-1.2/apps/app_dial.c Thu Jan 19 23:24:22 2006
@@ -961,6 +961,9 @@
 				ast_play_and_record(chan, "priv-recordintro", privintro, 4, "gsm", &duration, 128, 2000, 0);  /* NOTE: I've reduced the total time to 4 sec */
 															/* don't think we'll need a lock removed, we took care of
 															   conflicts by naming the privintro file */
+                               if(!ast_streamfile(chan, "vm-dialout", chan->language))
+                                    ast_waitstream(chan, "");
+
 			}
 		}
 	}



More information about the asterisk-commits mailing list