search for: count_exec

Displaying 7 results from an estimated 7 matches for "count_exec".

2014 Mar 13
0
Any Help ? user defined application .module load Crash Asterisk 11.5.1 app_confbridge.c
...e user count . file: app/app_confbrige.c ========================================================================== partial code of app_confbridge.c: ========================================================================= static const char *const app2 ="MyConfbridgeCount"; static int count_exec(struct ast_channel *chan, const char *data) { int res = 0; struct conference_bridge *conf=NULL; int count; char *localdata; char val[80] = "0"; struct ao2_iterator i; //struct conference_bridge *bridge = NULL; struct conference_bridge tmp; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(confno);...
2014 Mar 13
1
Any help Address 0xfffffffe out of bounds in app_confbridge.casterisk-11.5.1 using confbridge.conf
Address 0xfffffffe out of bounds why and how to solve.MyConfbridgeCount(conferencenumber,variablename )return total number of user in conference given by conferencenumber otherwise zero.At runtime using MyConfbridgeCount(4000,count ).now app2: MyConfbridgeCount will call function count_exec(struct ast_channel *chan, const char *data).But at compile time char * data cause core dumped. Asterisk-11.5.1 Centos6 app_confbrige.c confbridge.conf ===================================================== Task: Using Dailplan user want to retrive no of user in conference '6050' => 1....
2014 Mar 12
0
module load Crash Asterisk 11.5.1 app_confbridge.c
...e user count . file: app/app_confbrige.c ========================================================================== partial code of app_confbridge.c: ========================================================================= static const char *const app2 ="MyConfbridgeCount"; static int count_exec(struct ast_channel *chan, const char *data) { int res = 0; struct conference_bridge *conf=NULL; int count; char *localdata; char val[80] = "0"; struct ao2_iterator i; //struct conference_bridge *bridge = NULL; struct conference_bridge tmp; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(confno);...
2004 Aug 22
4
Error compiling meetme2
.../modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_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
2004 Oct 05
1
Cannot compile Meetme2
...cast app_meetme2.c:332: warning: passing arg 1 of `strlen' makes pointer 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 07
1
asterisk11.5.1 module not load why ? any help
...idge_channel_count, "show confbridge chanel count"), //sbt AST_CLI_DEFINE(confbridgeadmin_cmd,"Execute Arrival of Marked user on a conference"), //sbt AST_CLI_DEFINE(confbridgecm_cmd, "Show Number of User(s) in Conference." ), AST_CLI_DEFINE(count_exec, "Show Number of User(s) in Conference." ), AST_CLI_DEFINE(admincount_exec, "Show Number of adminUser(s) in Conference." ), }; ==================================== /*! \brief Called when module is being loaded */ static int load_module(void) { ast_verb(3 ,&quo...
2005 Mar 05
2
cant compile app_meetme2
...ointer from integer without a cast app_meetme2.c:336: warning: format argument 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