Displaying 1 result from an estimated 1 matches for "myretnumber".
2005 Aug 25
2
Custom Application For Asterisk
...;
struct ast_channel *chan;
struct queue_ent *next;
};
static int abcd_exec(struct ast_channel *chan, void *data)
{
int retried = 0;
int res = 0;
int res_type;
int tdsret;
int rowtype;
int computeid;
int i;
int sucs = 0;
struct localuser *u;
char mysqlcmd[1024];
char myretnumber[6];
const void *value;
char resulttype[4];
if (!data) {
ast_log(LOG_WARNING, "abcd requires an argument (number)\n");
return -1;
}
LOCAL_USER_ADD(u);
ast_mutex_lock(&tdslock);
memset(mysqlcmd, 0, sizeof(mysqlcmd));
sprintf(mysqlcmd, "Select MyFunction(\'%s\')...