[Asterisk-cvs] asterisk/apps app_meetme.c,1.10,1.11
jeremy at lists.digium.com
jeremy at lists.digium.com
Sun Jan 11 00:39:56 CST 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv26448
Modified Files:
app_meetme.c
Log Message:
fix dynamic conference. Bug #743 take two
Index: app_meetme.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_meetme.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- app_meetme.c 11 Jan 2004 06:07:36 -0000 1.10
+++ app_meetme.c 11 Jan 2004 06:31:42 -0000 1.11
@@ -626,21 +626,26 @@
struct ast_conference *cnf;
int confflags = 0;
int dynamic = 0;
- char *info, *inflags = NULL, *inpin = NULL;
+ char *notdata, *info, *inflags = NULL, *inpin = NULL;
if (!data || !strlen(data)) {
allowretry = 1;
- data = "";
+ notdata = "";
+ } else {
+ notdata = data;
}
LOCAL_USER_ADD(u);
if (chan->_state != AST_STATE_UP)
ast_answer(chan);
- info = ast_strdupa((char *)data);
+ info = ast_strdupa((char *)notdata);
if (info) {
char *tmp = strsep(&info, "|");
strncpy(confno, tmp, sizeof(confno));
+ if (strlen(confno) == 0) {
+ allowretry = 1;
+ }
}
if (info)
inflags = strsep(&info, "|");
More information about the svn-commits
mailing list