[Asterisk-cvs] asterisk/apps app_voicemail.c,1.38,1.39
markster at lists.digium.com
markster at lists.digium.com
Thu Nov 20 23:24:01 CST 2003
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv17134/apps
Modified Files:
app_voicemail.c
Log Message:
Ask for mailbox number if omitted (bug #552)
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- app_voicemail.c 17 Nov 2003 06:20:09 -0000 1.38
+++ app_voicemail.c 21 Nov 2003 05:50:21 -0000 1.39
@@ -2641,7 +2641,7 @@
LOCAL_USER_ADD(u);
if (chan->_state != AST_STATE_UP)
ast_answer(chan);
- if (data)
+ if (data && strlen(data))
strncpy(tmp, data, sizeof(tmp) - 1);
else {
res = ast_app_getdata(chan, "vm-whichbox", tmp, sizeof(tmp) - 1, 0);
More information about the svn-commits
mailing list