[Asterisk-cvs] asterisk/apps app_directory.c,1.5,1.6
markster at lists.digium.com
markster at lists.digium.com
Sat Nov 8 23:49:54 CST 2003
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv25080/apps
Modified Files:
app_directory.c
Log Message:
Answer the line if it hasn't been already
Index: app_directory.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_directory.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- app_directory.c 29 Sep 2003 20:10:49 -0000 1.5
+++ app_directory.c 9 Nov 2003 06:16:07 -0000 1.6
@@ -243,6 +243,8 @@
}
LOCAL_USER_ADD(u);
top:
+ if (chan->_state != AST_STATE_UP)
+ res = ast_answer(chan);
if (!res)
res = ast_streamfile(chan, "dir-intro", chan->language);
if (!res)
More information about the svn-commits
mailing list