|
|
@ -3477,6 +3477,11 @@ bailoutandtrynormal:
|
|
|
|
/* Return the number of seconds the user was in the conf */
|
|
|
|
/* Return the number of seconds the user was in the conf */
|
|
|
|
snprintf(meetmesecs, sizeof(meetmesecs), "%d", (int) (time(NULL) - user->jointime));
|
|
|
|
snprintf(meetmesecs, sizeof(meetmesecs), "%d", (int) (time(NULL) - user->jointime));
|
|
|
|
pbx_builtin_setvar_helper(chan, "MEETMESECS", meetmesecs);
|
|
|
|
pbx_builtin_setvar_helper(chan, "MEETMESECS", meetmesecs);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Return the RealTime bookid for CDR linking */
|
|
|
|
|
|
|
|
if (rt_schedule) {
|
|
|
|
|
|
|
|
pbx_builtin_setvar_helper(chan, "MEETMEBOOKID", conf->bookid);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ast_free(user);
|
|
|
|
ast_free(user);
|
|
|
|
AST_LIST_UNLOCK(&confs);
|
|
|
|
AST_LIST_UNLOCK(&confs);
|
|
|
@ -4051,6 +4056,14 @@ static int conf_exec(struct ast_channel *chan, const char *data)
|
|
|
|
/* No pin required */
|
|
|
|
/* No pin required */
|
|
|
|
allowretry = 0;
|
|
|
|
allowretry = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* For RealTime conferences without a pin
|
|
|
|
|
|
|
|
* should still support loading options
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
if (!ast_strlen_zero(cnf->useropts)) {
|
|
|
|
|
|
|
|
char *opts = ast_strdupa(cnf->useropts);
|
|
|
|
|
|
|
|
ast_app_parse_options64(meetme_opts, &confflags, optargs, opts);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Run the conference */
|
|
|
|
/* Run the conference */
|
|
|
|
res = conf_run(chan, cnf, &confflags, optargs);
|
|
|
|
res = conf_run(chan, cnf, &confflags, optargs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|