Displaying 9 results from an estimated 9 matches for "ast_say_numb".
Did you mean:
ast_say_number
2004 Aug 22
4
Error compiling meetme2
...USYDETECT_MARTIN -fPIC
-c -o app_meetme2.o app_meetme2.c
app_meetme2.c:646: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__'
undeclared here (not in a function)
app_meetme2.c: In function `count_exec':
app_meetme2.c:1548: error: too few arguments to function `ast_say_number'
make[1]: *** [app_meetme2.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-cvs/asterisk/apps'
make: *** [subdirs] Error 1
Thanks,
Geoff
2005 Mar 05
2
cant compile app_meetme2
...gument is not a pointer (arg 3)
app_meetme2.c: At top level:
app_meetme2.c:645: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_I
NITIALIZER__' undeclared here (not in a function)
app_meetme2.c: In function `count_exec':
app_meetme2.c:1547: error: too few arguments to function `ast_say_number'
gmake[1]: *** [app_meetme2.o] Error 1
2007 Jul 26
1
vm-duration announcement missing?
...idn't use this file, but app_voicemail contains reference to it in
1.4.x - as far back as 1.4.0:
if ((!res) && (durationm >= minduration)) {
res = wait_file2(chan, vms, "vm-duration");
[snip stuff about polish syntax]
res = ast_say_number(chan, durationm, AST_DIGIT_ANY,
chan->language, NULL);
res = wait_file2(chan, vms, "vm-minutes");
}
Does anyone know where this file can be fetched from, or at least what it's
supposed to say?
Looking back at my logs, there are semi-regul...
2005 Aug 25
2
Custom Application For Asterisk
...FMT_RESULT %d\n",tdsret);
}
}else {
ast_verbose(VERBOSE_PREFIX_3 "Failed to query database.\n");
}
ast_mutex_unlock(&tdslock);
sucs = 1;
res = play_file(chan, "abcd_yournumbernois");
res = ast_say_number(chan, atoi(myretnumber), AST_DIGIT_ANY, chan->language, (char *) NULL);
} else if(!strcmp(resulttype,"ALD")){
ast_mutex_unlock(&tdslock);
sucs = 1;
res = play_file(chan, "abcd_alreadynumber");
res = ast_say_number(chan, atoi(myretnumber), AS...
2004 Oct 05
1
Cannot compile Meetme2
...r from
integer without a cast
app_meetme2.c: At top level:
app_meetme2.c:646: error:
`__use_AST_MUTEX_DEFINE_STATIC_rather_than_AST_MUTEX_INITIALIZER__'
undeclared here (not in a function)
app_meetme2.c: In function `count_exec':
app_meetme2.c:1548: error: too few arguments to function `ast_say_number'
make: *** [app_meetme2.o] Error 1
2014 Mar 12
0
module load Crash Asterisk 11.5.1 app_confbridge.c
...f);
count = conf->markedusers;
ao2_unlock(conf);
}else{
count = 0;
}
if (!ast_strlen_zero(args.varname)) {
snprintf(val, sizeof(val), "%d", count);
pbx_builtin_setvar_helper(chan, args.varname, val);
} else {
if ( ast_channel_state(chan)!= AST_STATE_UP) {
ast_answer(chan);
}
res = ast_say_number(chan, count, "",ast_channel_language(chan),(char *)
NULL);
}
return res;
}
static int load_module(void)
{
ast_verb(3 ,"==Inside load_module==");
res |= ast_register_application_xml(app2,count_exec);
return res;
}
static int unload_module(void)
{
res |= ast_unregister_app...
2003 Jun 11
3
How do i make best use of Macro?
Hi,
im trying to setup a chat system. And i belive the best way is using an
macro. But a couple of questions regarding using macros pops up.
a) Is there state building up if my macro calls itself recusivly?
Pseudo example:
[macro-chat]
to_many? Macro(chat, next_room)
increase # of users in chat
meeteme(room)
exit from meetme: decrease # of users in chat then Macro(chat, next_room)
exten
2014 Mar 13
0
Any Help ? user defined application .module load Crash Asterisk 11.5.1 app_confbridge.c
...f);
count = conf->markedusers;
ao2_unlock(conf);
}else{
count = 0;
}
if (!ast_strlen_zero(args.varname)) {
snprintf(val, sizeof(val), "%d", count);
pbx_builtin_setvar_helper(chan, args.varname, val);
} else {
if ( ast_channel_state(chan)!= AST_STATE_UP) {
ast_answer(chan);
}
res = ast_say_number(chan, count, "",ast_channel_language(chan),(char *)
NULL);
}
return res;
}
static int load_module(void)
{
ast_verb(3 ,"==Inside load_module==");
res |= ast_register_application_xml(app2,count_exec);
return res;
}
static int unload_module(void)
{
res |= ast_unregister_app...
2009 Sep 02
1
AMI Originate Commands executed in sequential Order problem
...for `all'.
[CC] app_cbmysql.c -> app_cbmysql.o
app_cbmysql.c:37:1: warning: "AST_MODULE" redefined
<command-line>: warning: this is the location of the previous definition
app_cbmysql.c: In function ?checkMax?:
app_cbmysql.c:116: warning: implicit declaration of function
?ast_say_number?
app_cbmysql.c: In function ?roomQuery?:
app_cbmysql.c:181: warning: unused variable ?eatime?
app_cbmysql.c:337: warning: control reaches end of non-void function
[LD] app_cbmysql.o -> app_cbmysql.so
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[...