search for: parse_config

Displaying 20 results from an estimated 65 matches for "parse_config".

2009 May 03
2
Asterisk not starting up due to database problems
...477]: res_smdi.c:1335 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener. .[May 3 13:29:14] NOTICE[7477]: config.c:1274 ast_config_engine_register: Registered Config Engine odbc . Loading [Sub]Agent Module .[May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:683 parse_config: Postgresql RealTime: No database user found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:691 parse_config: Postgresql RealTime: No database password found, using 'asterisk' as default. [May 3 13:29:14] WARNING[7477]: res_config_pgsql.c:699 pars...
2004 Nov 30
1
realTime configuration help needed
...-------------------------------------- When I start with vvvcd I get : [res_config_mysql.so] => (MySQL RealTime Configuration Driver) Nov 30 12:44:21 DEBUG[3088]: config.c:517 __ast_load: Parsing /home/gkon/slash/etc/asterisk/res_mysql.conf Nov 30 12:44:21 WARNING[3088]: res_config_mysql.c:413 parse_config: MySQL RealTime: No database port found, using 3306 as default. Nov 30 12:44:21 DEBUG[3088]: res_config_mysql.c:429 parse_config: MySQL RealTime Host: localhost Nov 30 12:44:21 DEBUG[3088]: res_config_mysql.c:430 parse_config: MySQL RealTime Port: 3306 Nov 30 12:44:21 DEBUG[3088]: res_config_mys...
2006 Jan 17
1
Asterisk LDAP Authentication Problem
...ass=chandan123 ldapbasedn=dc=synapse,dc=com After this the asterisk is not able to connect to the ldap database. And hence asterisk is not able to start. Its giving me following errors: == Parsing '/etc/asterisk/res_ldap.conf': Found Jan 17 23:38:09 WARNING[11207]: res_config_ldap.c:615 parse_config: LDAP RealTime: No database host found, using localhost via socket. Jan 17 23:38:09 WARNING[11207]: res_config_ldap.c:630 parse_config: LDAP RealTime Host: ldap://localhost Jan 17 23:38:09 WARNING[11207]: res_config_ldap.c:631 parse_config: LDAP RealTime User: cn=chandan.mishra,dc=synapse,dc=com Ja...
2006 Jan 18
1
LDAP direct authentication Problem
...please guide. I tried to integrate authenticate asterisk users from LDAP using the open source project astirectory1.2.0. After using the astirectory1.2.0 , now when the asterisk starts then it registeres with the LDAP. Following logs shows it. Jan 18 18:36:20 WARNING[26190]: res_config_ldap.c:641 parse_config: LDAP RealTime Host: ldap://192.168.0.16 Jan 18 18:36:20 WARNING[26190]: res_config_ldap.c:642 parse_config: LDAP RealTime User: synapse\dirsearch Jan 18 18:36:20 WARNING[26190]: res_config_ldap.c:643 parse_config: LDAP RealTime Base DN: dc=synapse,dc=com Jan 18 18:36:20 WARNING[26190]: res_config_...
2014 Feb 17
2
[PATCH 1/2] fish: small refactor of config reading code
...d, 31 insertions(+), 57 deletions(-) diff --git a/fish/config.c b/fish/config.c index e9f437a..02d850b 100644 --- a/fish/config.c +++ b/fish/config.c @@ -42,87 +42,61 @@ static const char *etc_filename = "/etc/libguestfs-tools.conf"; * global handle 'g' is opened. */ -void -parse_config (void) +static void +read_config_from_file (const char *filename) { - const char *home; FILE *fp; - config_t conf; - - config_init (&conf); - - /* Try $HOME first. */ - home = getenv ("HOME"); - if (home != NULL) { - CLEANUP_FREE char *path = NULL; - if (asprintf (&a...
2007 Mar 01
5
Asterisk Realtime
Could someone provide some steps for troubleshooting Realtime? I can't see any signs that it's working. I followed and double-checked a few different guides around the net, but haven't been able to figure it out. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Jul 13
0
[PATCH] gfxboot: change handling of keywords
...by: Sebastian Herbszt <herbszt at gmx.de> Index: syslinux-3.82-440-g6483c80/modules/gfxboot.asm =================================================================== --- syslinux-3.82-440-g6483c80.orig/modules/gfxboot.asm +++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm @@ -699,33 +699,39 @@ parse_config: mov bx, msg_crlf int 22h %endif + mov bx,keywords + mov cx,[keyword_cnt] +.keywords_loop: + push cx push si push di - xor ecx,ecx + xor cx,cx mov si,configbuf - mov di,label_keyword+1 - mov cl, byte [label_keyword] + mov di,[bx] + mov cl,byte [di] + inc di call memcmp...
2009 Apr 09
0
[PATCH] gfxboot: parse DEFAULT keywork in syslinux config file
...enu: mov di,[menu_seg] mov [menu_desc+menu_ent_list+2],di - mov word [menu_desc+menu_default],0 - mov [menu_desc+menu_default+2],di + mov word [menu_desc+menu_default],dentry_buf + mov [menu_desc+menu_default+2],cs mov di,256 mov [menu_desc+menu_arg_list],di @@ -699,6 +699,17 @@ parse_config: pop si jz .do_label + push si + push di + xor ecx,ecx + mov si,configbuf + mov di,default_keyword+1 + mov cl, byte [default_keyword] + call memcmp + pop di + pop si + jz .do_default + .nextline: call skipline jmp .read @@ -723,6 +734,22 @@ parse_config: jmp .read +....
2009 May 24
0
menu: alternative config file
...ify an alternative config file and it's also possible to specify more than one file. menu.txt got "If you specify more than one file, they will all be read, in the order specified." What is the desired failure mode if one of those files doesn't exist? com32/menu/menumain.c calls parse_configs() which itself calls parse_one_config (readconfig.c). parse_one_config() returns -1 if the specified config file is not available, but the return code is not checked in parse_configs(). The current failure mode is therefore "ignore". If this is by design it might be worth mentioning it i...
2010 May 21
2
Using unix socket to connect with database
Hello, I am using asterisk realtime with a postgresql database on the same server. In res_pgsql.conf I have specified [general] dbhost=localhost dbport=5432 dbname=asteriskdb dbuser=psql dbsock=/tmp/.s.PGSQL.5432 Since both asterisk and db are on same server, I would like asterisk to connect to db using the local unix socket. However asterisk is not using the local unix socket to connect to
2005 Jan 26
2
Issue with res_config_mysql.so in latest CVS
...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 deprecated, use ast_config_destroy instead! asterisk: symbol lookup error: /usr/lib/asterisk/modules/res_config_mysql.so: undefined symb...
2016 Jun 21
3
Disabling passdb pam in local.conf
* Edgar Pettijohn <edgar at pettijohn-web.com>: > > Only /etc/dovecot/local.conf should be changed. > > > So you want the standard files to remain unchanged from default settings and override them with your settings in local.conf? Exactly (he said that in his initial mail). -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Schlei?heimer Stra?e 26/MG, 80333 M?nchen
2005 Jan 30
1
Slackware + Asterisk + asterisk-addons
...ation for `mysql_engine') res_config_mysql.c:423: error: unknown field `update_func' specified in initializer res_config_mysql.c:424: warning: excess elements in struct initializer res_config_mysql.c:424: warning: (near initialization for `mysql_engine') res_config_mysql.c: In function `parse_config': res_config_mysql.c:491: warning: assignment makes pointer from integer without a cast /usr/include/asterisk/utils.h: At top level: res_config_mysql.c:418: error: storage size of `mysql_engine' isn't known make: *** [res_config_mysql.o] Error 1 root@allman:/usr/src/asterisk-addons#...
2017 Mar 06
2
config_cwd can be killed?
...old current directory and not the new current directory. Is that a useful or necessary feature? Is Matt Fleming (author of the original code) still lurking on this list to explain? Or could IMAGE_TYPE_CONFIG set the directory before processing the config file. Both menu.c32 and ldlinux.EXT have parse_configs() functions that they send the argc/argv list they receive. Both functions handle multiple arguments as multiple config files to be processed (with either parse_one_config() or parse_main_config()). The documentation (http://www.syslinux.org/wiki/index.php?title=Menu#Alternative_configuration_fi...
2009 Aug 24
1
problem on compiling asterisk-addons-1.6.2.0-rc1
hello, I tried to compil asterisk-addons-1.6.2.0-rc1, and I have that error: [CC] res_config_mysql.c -> res_config_mysql.o res_config_mysql.c:1367: error: unknown field ?update2_func? specified in initializer res_config_mysql.c: In function ?parse_config?: res_config_mysql.c:1432: error: ?CONFIG_STATUS_FILEMISSING? undeclared (first use in this function) res_config_mysql.c:1432: error: (Each undeclared identifier is reported only once res_config_mysql.c:1432: error: for each function it appears in.) res_config_mysql.c:1436: error: ?CONFIG_STATUS_FI...
2016 Jun 01
2
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems and change root suggested by --suggest option in virt-rescue. Commands are passed on kernel command line in format guestfs_command=command;. Command ends with a semicolon and there can be multiple commands specified. These are executed just before bash starts. On successfull run user is presented directly with bash in
2009 Aug 12
1
app_voicemail.so: undefinied symbol: global_app_buf
...dundi.so' could not be loaded. [Aug 11 22:00:01] NOTICE[20173]: chan_skinny.c:7054 config_load: Configuring skinny from skinny.conf [Aug 11 22:00:01] WARNING[20173]: loader.c:657 load_resource: Module 'res_curl.so' already exists. [Aug 11 22:00:01] WARNING[20173]: res_config_ldap.c:1588 parse_config: No directory user found, anonymous binding as default. [Aug 11 22:00:01] ERROR[20173]: res_config_ldap.c:1613 parse_config: No directory URL or host found. [Aug 11 22:00:01] NOTICE[20173]: res_config_ldap.c:1507 load_module: Cannot load LDAP RealTime driver. [Aug 11 22:00:01] NOTICE[20173]: chan_s...
2005 Mar 26
4
[ISOLINUX] No boot: prompt with ISOLINUX 3.07
I found that the version of isolinux.bin (and the debug version too) doesn't work on my Via C3 system. I get the SAY text, but never the boot: prompt. C-A-Del doesn't reboot either. The debug version does not print anything after announcing it's opening the config file. Only the single SAY text follows. The cursor sits on the next blank line, useless (no responses to key presses).
2016 Jun 09
2
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...ormat for -a option\n" > @@ -87,21 +92,30 @@ usage (int status) > exit (status); > } > > -int > -main (int argc, char *argv[]) > -{ > - setlocale (LC_ALL, ""); > - bindtextdomain (PACKAGE, LOCALEBASEDIR); > - textdomain (PACKAGE); > - > - parse_config (); > +struct drv *drvs = NULL; > +struct drv *drv; > +char **cmds = NULL; > +const char *format = NULL; > +bool format_consumed = true; > +int c; > +int option_index; > +int network = 0; > +char *append = NULL; > +int memsize = 0; > +int smp = 0; > +int suggest...
2005 Feb 02
6
problem in compiling asterisk-addons
...ation for `mysql_engine') res_config_mysql.c:423: error: unknown field `update_func' specified in initializer res_config_mysql.c:424: warning: excess elements in struct initializer res_config_mysql.c:424: warning: (near initialization for `mysql_engine') res_config_mysql.c: In function `parse_config': res_config_mysql.c:491: warning: assignment makes pointer from integer without a cast /usr/include/asterisk/utils.h: At top level: res_config_mysql.c:418: error: storage size of `mysql_engine' isn't known make: *** [res_config_mysql.o] Error 1 -----------------------------------------...