[asterisk-commits] branch murf/bug_6264-trunk - r8331 /team/murf/bug_6264-trunk/apps/app_dial.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 19 22:26:13 MST 2006


Author: murf
Date: Thu Jan 19 23:26:10 2006
New Revision: 8331

URL: http://svn.digium.com/view/asterisk?rev=8331&view=rev
Log:
Requested via bug 6264, I inserted a call to play vm-dialout.gsm 
just after the caller gives his intro, and starts waiting for the 
call to complete.



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

Modified: team/murf/bug_6264-trunk/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug_6264-trunk/apps/app_dial.c?rev=8331&r1=8330&r2=8331&view=diff
==============================================================================
--- team/murf/bug_6264-trunk/apps/app_dial.c (original)
+++ team/murf/bug_6264-trunk/apps/app_dial.c Thu Jan 19 23:26:10 2006
@@ -973,6 +973,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