[Asterisk-cvs] asterisk/apps app_voicemail2.c,1.63,1.64
markster at lists.digium.com
markster at lists.digium.com
Mon Nov 10 17:20:52 CST 2003
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv16789/apps
Modified Files:
app_voicemail2.c
Log Message:
Minor vm fix
Index: app_voicemail2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail2.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- app_voicemail2.c 7 Nov 2003 06:41:05 -0000 1.63
+++ app_voicemail2.c 10 Nov 2003 23:47:05 -0000 1.64
@@ -2603,9 +2603,11 @@
if (res > -1) {
ast_stopstream(chan);
adsi_goodbye(chan);
- res = play_and_wait(chan, "vm-goodbye");
- if (res > 0)
- res = 0;
+ if(valid) {
+ res = play_and_wait(chan, "vm-goodbye");
+ if (res > 0)
+ res = 0;
+ }
if (useadsi)
adsi_unload_session(chan);
}
More information about the svn-commits
mailing list