search for: ast_config_load

Displaying 18 results from an estimated 18 matches for "ast_config_load".

2009 Sep 03
1
probleme with web-meetme.3.1.0
...sql.o app_cbmysql.c app_cbmysql.c:584: attention : initialization from incompatible pointer type app_cbmysql.c:585: attention : initialization from incompatible pointer type app_cbmysql.c:585: attention : initialization makes integer from pointer without a cast app_cbmysql.c:594:38: erreur: macro ? ast_config_load ? requiert 2 arguments, mais seulement 1 ont ?t? pass?s app_cbmysql.c: In function ?load_config?: app_cbmysql.c:594: erreur: ?ast_config_load? undeclared (first use in this function) app_cbmysql.c:594: erreur: (Each undeclared identifier is reported only once app_cbmysql.c:594: erreur: for each fun...
2005 Jan 26
2
Issue with res_config_mysql.so in latest CVS
Hello, I just checked out the latest CVS and compiled and now get the following error: [res_config_mysql.so] => (MySQL RealTime Configuration Driver) Jan 26 13:03:51 WARNING[27081]: config_old.c:27 ast_load: ast_load is deprecated, use ast_config_load instead! == Parsing '/etc/asterisk/res_mysql.conf': Found Jan 26 13:03:51 WARNING[27081]: res_config_mysql.c:561 parse_config: MySQL RealTime: No database socket found, using '/tmp/mysql.sock' as default. Jan 26 13:03:51 WARNING[27081]: config_old.c:39 ast_destroy: ast_destroy is...
2007 Aug 22
1
Chan_mobile and Asterisk SVN-branch-1.4-r80183 compile error
Hi all, I receive this error while compiling chan_mobile: gcc -g -c -fPIC -fPIC -o chan_mobile.o chan_mobile.c chan_mobile.c: In function `mbl_load_config': chan_mobile.c:1745: erreur: trop d'arguments pour la fonction ? ast_config_load ? make[1]: *** [chan_mobile.o] Erreur 1 make[1]: Leaving directory `/usr/src/asterisk-addons' Does anyone know what's the problem? -- Daniel
2005 Mar 20
1
HELP: Failed start after install asterisk_oh323-0.7.1
...sage (asterisk -vvvvvvc). Does anyone have any idea about it? What's wrong about ir? -------------- Error Message -------------------------- [chan_oh323.so] => (InAccess Networks OpenH323 Channel Driver) Mar 21 11:13:25 WARNING[16199]: config_old.c:27 ast_load: ast_load is deprecated, use ast_config_load instead! == Parsing '/etc/asterisk/rtp.conf': Found Mar 21 11:13:25 WARNING[16199]: config_old.c:39 ast_destroy: ast_destroy is deprecated, use ast_config_destroy instead! == Parsing '/etc/asterisk/oh323.conf': Found [1]WrapH323EndPoint::WrapH323EndPoint: Compile-time libraries...
2009 Aug 26
1
app_swift issue
...= NULL; struct ast_config *cfg; struct ast_flags config_flags = { 0 }; // Set defaults cfg_buffer_size = 65535; cfg_goto_exten = 0; strncpy(cfg_voice, "David-8kHz", sizeof(cfg_voice)); res = ast_register_application(app, engine, synopsis, descrip); cfg = ast_config_load(SWIFT_CONFIG_FILE, config_flags); if (cfg) { if ((t = ast_variable_retrieve(cfg, "general", "buffer_size"))) { cfg_buffer_size = atoi(t); ast_log(LOG_DEBUG, "Config buffer_size is %d\n", cfg_buffer_size); } if ((t =...
2005 Aug 24
2
chan_capi on slackware10? cannot compile :-( why?
.../create_config.sh "/usr/include" Checking Asterisk version... * no 'struct ast_channel_tech', using old pvt * ast_dsp_process() without 'needlock' * no 'struct ast_callerid' * found 'struct timeval delivery' * no 'transfercapability' * no 'ast_config_load' config.h complete. gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/i nclude -D_REENTRANT -D_GNU_SOURCE -O6 -march=i586 -DASTERISKVERSION=\"\ " -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c chan_capi.c:49:20: capi20....
2009 Aug 26
4
Fw: app_swift issue
...int res; const char *t = NULL; struct ast_config *cfg; struct ast_flags config_flags = { 0 }; // Set defaults cfg_buffer_size = 65535; cfg_goto_exten = 0; strncpy(cfg_voice, "David-8kHz", sizeof(cfg_voice)); res = ast_register_application(app, engine, synopsis, descrip); cfg = ast_config_load(SWIFT_CONFIG_FILE, config_flags); if (cfg) { if ((t = ast_variable_retrieve(cfg, "general", "buffer_size"))) { cfg_buffer_size = atoi(t); ast_log(LOG_DEBUG, "Config buffer_size is %d\n", cfg_buffer_size); } if ((t = ast_variable_retrieve(cfg, "general&quot...
2005 Feb 17
0
started asterisk with chan_misdn
hello, i have a problem on started asterisk, when try to start asterisk a get the fowlling error: chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri)) Feb 17 11:34:01 WARNING[3104]: config_old.c:27 ast_load: ast_load is deprecated, use ast_config_load instead! == Parsing '/etc/asterisk/misdn.conf': Found Feb 17 11:34:01 WARNING[3104]: config_old.c:39 ast_destroy: ast_destroy is deprecated, use ast_config_destroy instead! == Registered channel type 'mISDN' (This driver enables the asterisk to use hardware which is supported by...
2005 Feb 18
0
Asterisk Can't Run
....conf': Found == Registered application 'MusicOnHold' == Registered application 'WaitMusicOnHold' == Registered application 'SetMusicOnHold' [res_odbc.so] => (ODBC Resource) asterisk: symbol lookup error: /usr/lib/asterisk/modules/res_odbc.so: undefined symbol: ast_config_load [root@jinan voicepet-single-x100p]# i recognize the error, but i don't know what to do with it. i appreciate any suggestion __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
2006 Dec 06
1
0002475: [patch] Allow app_directory to work with REALTIME
Hi All, I'm running 1.2.9.1 stable. I'm wondering has this patch been applied to stable release or is it still only in CVS. Will this file patch apply correctly to 1.2.9.1 stable? Which file do I patch? I'm guessing app_directory_realtime_1.6.1.patch <http://bugs.digium.com/file_download.php?file_id=4915&type=bug> and config.h.patch
2005 Jul 07
1
Asterisk Crashes after update
...aytones[0;37;40m' [1;30;40m [0;37;40m[[1;37;40mres_config_mysql.so[0;37;40m] => ([33;40mMySQL RealTime Configuration Driver[0;37;40m) Jul 6 21:32:24 [1;31;40mWARNING[0;37;40m[8492]: [1;37;40mconfig_old.c[0;37;40m:[1;37;40m32[0;37;40m [1;37;40mast_load[0;37;40m: ast_load is deprecated, use ast_config_load instead! [1;30;40m == [0;37;40mParsing '/etc/asterisk/res_mysql.conf': Not found (No such file or directory) Jul 6 21:32:24 [1;31;40mWARNING[0;37;40m[8492]: [1;37;40mconfig_old.c[0;37;40m:[1;37;40m44[0;37;40m [1;37;40mast_destroy[0;37;40m: ast_destroy is deprecated, use ast_config_destr...
2005 Jul 11
1
Compile Error chan_sccp-20050705 on asterisk 1.0.9 (tarball)
...but I receive the following errors: linux:/home/share/chan_sccp-20050705 # make install sh ./create_config.sh "/usr/include" Checking Asterisk version... * no 'struct ast_channel_tech', using old pvt * no 'struct ast_callerid' * no 'AST_CONTROL_HOLD' * no 'ast_config_load' * no 'ast_copy_string' config.h complete. Now compiling .... sccp_actions.c 853 lines sccp_actions.c: In function `sccp_handle_unregister': sccp_actions.c:124: parse error before `*' sccp_actions.c:125: `r1' undeclared (first use in this function) sccp_actions.c:...
2006 May 12
6
voicemailmain()
Hi, in the menu of voicemailmain, appear a lot of options, there is a way to leave only some of them? Also I want to know if there is a option that erase all message in a user box. Best REgards Ever Zalazar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060512/98a6f962/attachment.htm
2005 Mar 18
15
Meetme2 compilation problem
Hi All, I am trying to compile meetme2 in my asterisk box and getting the following compilaton error. Please help me to sort it out. cc -fPIC -c -o app_dial.o app_dial.c In file included from app_dial.c:14: /usr/include/asterisk/lock.h: In function `ast_mutex_init': /usr/include/asterisk/lock.h:317: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function)
2007 Oct 30
1
chan_mobile
...to incomplete type chan_mobile.c:382: error: request for member 'argv' in something not a structure or union chan_mobile.c:385: warning: return from incompatible pointer type chan_mobile.c: In function 'mbl_load_config': chan_mobile.c:1878: error: too many arguments to function 'ast_config_load' make[1]: *** [chan_mobile.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-addons' make: *** [all] Error 2
2005 Mar 18
3
ANNOUNCEMENT:Updatesforapp_cbmysqlandMeetMe2gui(out of tree modules)
I'm afraid I am at a loss. If the three files, app_cbmysql.c, app_meetme2.c and Makefile all exist in ../apps then a patch -p1 from the ../asterisk directory should work. The -p1 tells patch to ignore the first directory in the path to the file in the patch, -p2 ignores two directories. Another option is to just edit the apps-meetme-cbmysql.txt and split it into three patchs and apply
2008 Jul 07
1
cdr_addon_mysql - additional fields
Hi, I need help with modifying cdr_addon_mysql.c I want to have more fields in cdr table in asterisk. I've tried to modify cdr_addon_mysql.c and replace userfield with ex team (sed -e 's/userfield/team/g' ). When I try to recomplie menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules ... make[1]: Nothing to be done for `all'.
2007 May 23
0
Problems compiling res_config_mysql (asterisk addons)
...st_log' res_config_mysql.o(.text+0x1962):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:523: undefined reference to `ast_verbose' res_config_mysql.o(.text+0x19a3): In function `parse_config': /usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:536: undefined reference to `ast_config_load' res_config_mysql.o(.text+0x19cc):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:539: undefined reference to `ast_variable_retrieve' res_config_mysql.o(.text+0x19fc):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:540: undefined reference to `ast_log' res_config_mysql...