return NULL;
}
-static void findmeexec(void *args)
+static void findmeexec(struct fm_args *tpargs)
{
- struct fm_args *tpargs;
struct number *nm;
struct ast_channel *outbound;
struct ast_channel *caller;
findme_user_list = ast_calloc(1, sizeof(*findme_user_list));
AST_LIST_HEAD_INIT_NOLOCK(findme_user_list);
- tpargs = (struct fm_args *)args;
-
- if (!tpargs->chan)
- return;
-
-
/* We're going to figure out what the longest possible string of digits to collect is */
ynlongest = 0;
if (strlen(tpargs->takecall) > ynlongest)