[Asterisk-cvs] asterisk/apps app_voicemail.c,1.98,1.99
anthm at lists.digium.com
anthm at lists.digium.com
Wed May 26 11:08:29 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/include/asterisk app.h,1.9,1.10
- Next message: [Asterisk-cvs] zaptel tor2-hw.h,1.3,1.4 tor2.c,1.18,1.19 wcfxo.c,1.23,1.24 wcfxs.c,1.65,1.66 wct1xxp.c,1.17,1.18 wct4xxp.c,1.45,1.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv26983/apps
Modified Files:
app_voicemail.c
Log Message:
add ast_control_streamfile api call
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- app_voicemail.c 24 May 2004 19:24:20 -0000 1.98
+++ app_voicemail.c 26 May 2004 15:22:54 -0000 1.99
@@ -2549,12 +2549,9 @@
static int wait_file(struct ast_channel *chan, struct vm_state *vms, char *file)
{
- int res;
- if ((res = ast_streamfile(chan, file, chan->language)))
- ast_log(LOG_WARNING, "Unable to play message %s\n", file);
- if (!res)
- res = ast_waitstream_fr(chan, AST_DIGIT_ANY, "#", "*",skipms);
- return res;
+
+ return ast_control_streamfile(chan,file,"#","*",skipms);
+
}
static int play_message_datetime(struct ast_channel *chan, struct ast_vm_user *vmu, char *origtime, char *filename)
- Previous message: [Asterisk-cvs] asterisk/include/asterisk app.h,1.9,1.10
- Next message: [Asterisk-cvs] zaptel tor2-hw.h,1.3,1.4 tor2.c,1.18,1.19 wcfxo.c,1.23,1.24 wcfxs.c,1.65,1.66 wct1xxp.c,1.17,1.18 wct4xxp.c,1.45,1.46
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list