search for: my_load_modul

Displaying 19 results from an estimated 19 matches for "my_load_modul".

Did you mean: my_load_module
2004 Jun 24
4
Asterisk with PostgreSQL
...tabase which is created in PostgreSQL. Whenever asterisk starts up, it is unable to connect to the pg database and gives the following error: [cdr_pgsql.so] => (PostgreSQL CDR Backend) == Parsing '/etc/asterisk/cdr_pgsql.conf': Found Jun 24 21:20:53 DEBUG[1074494336]: cdr_pgsql.c:284 my_load_module: cdr_pgsql: got hostname of localhost Jun 24 21:20:53 DEBUG[1074494336]: cdr_pgsql.c:285 my_load_module: cdr_pgsql: got port of 5432 Jun 24 21:20:53 DEBUG[1074494336]: cdr_pgsql.c:288 my_load_module: cdr_pgsql: got user of asteriskpg Jun 24 21:20:53 DEBUG[1074494336]: cdr_pgsql.c:289 my_load_modul...
2004 May 26
7
PostgreSQL
Hi to all!! Here's my problem: [cdr_pgsql.so] => (PostgreSQL CDR Backend) == Parsing '/etc/asterisk/cdr_pgsql.conf': Found May 26 17:21:35 ERROR[16384]: cdr_pgsql.c:298 my_load_module: cdr_pgsql: Unable to connect to database server localhost. Calls will not be logged! May 26 17:21:35 ERROR[16384]: cdr_pgsql.c:299 my_load_module: cdr_pgsql: Reason: could not connect to server: Connection refused Is the server running on localhost and accepting TCP/IP connections...
2004 Aug 23
1
Problem with asterisk and postgresql
...ve faced same type of problem with postgresql with asterisk. Did you solved your problem. Please help me. The problem is as follows: When i reload the asterisk I had got this error "== Parsing '/etc/asterisk/cdr_pgsql.conf': Found Aug 23 14:22:33 ERROR[1076245120]: cdr_pgsql.c:299 my_load_module: cdr_pgsql: Unable to connect to database server localhost. Calls will not be logged! Aug 23 14:22:33 ERROR[1076245120]: cdr_pgsql.c:300 my_load_module: cdr_pgsql: Reason: could not connect to server: Connection refused Is the server running on host localhost and accepting TCP/...
2005 Jun 07
4
I want to move the MySQL server out to another machine
...d the databases from the localhost to the database server and changed the every /etc/asterisk/*.conf from host=localhost to host=192.168.10.10 (my dababase server) When I restart asterisk, I do not get any errors, but after a phone call I see: Jun 7 18:11:56 ERROR[7877]: cdr_addon_mysql.c:400 my_load_module: Failed to connect to mysql database cdr on 192.168.10.10 Or if I try to register a phone, which is in the sipbuddies. Jun 7 18:14:43 NOTICE[7870]: chan_sip.c:8098 handle_request: Registration from '"Ronald Video (612)"<sip:612@vpbx.elmit.com>' failed for '192.168...
2006 Nov 04
2
app_prepaid won't load - undefined symbol mysql_num_fields
...istribute it under certain conditions. Type 'show license' for details. ========================================================================= [ Booting...Nov 4 14:06:41 NOTICE[2914]: cdr.c:1191 do_reload: CDR simple logging enabled. .Nov 4 14:06:41 WARNING[2914]: cdr_addon_mysql.c:361 my_load_module: MySQL database sock file not specified. Using default Nov 4 14:06:42 WARNING[2914]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/app_prepaid.so: undefined symbol: mysql_num_fields Nov 4 14:06:42 WARNING[2914]: loader.c:499 load_modules: Loading module app_prepaid.so failed! The my...
2004 Aug 20
1
CDR problems with MySQL
Hi, I have Fedora Core 2 running with a T1 card. I try to put the log on db but I get the error: Aug 20 15:17:47 ERROR[262160]: cdr_addon_mysql.c:378 my_load_module: Failed to connect to mysql database asteriskcdrdb on localhost. The database exists and I try with "mysqlaccess localhost asteriskcdrdb" and I get: Access-rights for USER 'localhost', from HOST 'localhost', to DB 'asteriskcdrdb' BEWARE: Everybody can acces...
2004 Aug 23
0
How to recover the problem with pgsql and asterisk
Hi Please help to store datas of call history into the pgsql. When I have run ./asterisk -vvvvc then I have faced "== Parsing '/etc/asterisk/cdr_pgsql.conf': Found Aug 23 16:11:38 ERROR[1076245120]: cdr_pgsql.c:299 my_load_module: cdr_pgsql: Unable to connect to database server localhost. Calls will not be logged! Aug 23 16:11:38 ERROR[1076245120]: cdr_pgsql.c:300 my_load_module: cdr_pgsql: Reason: could not connect to server: Connection refused Is the server running on host localhost and accepting TCP/...
2005 Aug 24
1
RealTime ignoringswitch=>Realtime/context@realtime_ext
I am getting this error when reload my asterisk "cdr_addon_mysql.c:264 my_load_module: Unable to load config for mysql CDR's: cdr_mysql.conf" I don't have res_mysql.conf in /etc/asterisk/. I have res_odbc.conf which is attached Res_odbc.conf ============== ;;; odbc setup file [mysql1] dsn => MySQL-asterisk username => myuser password => mypass pre-connect...
2007 Aug 06
1
CDR/MySQL basic config
...me=localhost dbname=asteriskcdrdb table=cdr password=password user=asteriskcdruser port=3306 sock=/tmp/mysql.sock userfield=1 But when I start asterisk (1.4 on my test machine), I get: == Parsing '/etc/asterisk/cdr_mysql.conf': Found [Aug 6 21:01:14] ERROR[32512]: cdr_addon_mysql.c:436 my_load_module: Failed to connect to mysql database asteriskcdrdb on localhost. cdr_addon_mysql.so => (MySQL CDR Backend) [Aug 6 21:01:14] ERROR[32512]: res_config_mysql.c:627 mysql_reconnect: MySQL RealTime: Failed to connect database server on (err 2002). Check debug for more info. [Aug 6 21:01:14] WARN...
2004 Jan 06
2
Problems compiling cdr_pgsql
...st_log' cdr_pgsql.o(.text+0x6d8): undefined reference to `ast_log' cdr_pgsql.o(.text+0x771): more undefined references to `ast_log' follow cdr_pgsql.o: In function `my_unload_module': cdr_pgsql.o(.text+0x988): undefined reference to `ast_cdr_unregister' cdr_pgsql.o: In function `my_load_module': cdr_pgsql.o(.text+0x9b7): undefined reference to `ast_load' cdr_pgsql.o(.text+0x9ed): undefined reference to `ast_log' cdr_pgsql.o(.text+0xa0e): undefined reference to `ast_variable_browse' cdr_pgsql.o(.text+0xa3f): undefined reference to `ast_variable_retrieve' cdr_pgsql.o(....
2004 Jun 11
2
cdr_addon_mysql.c
...once cdr_addon_mysql.c:110: for each function it appears in.) cdr_addon_mysql.c:121: `mysql' undeclared (first use in this function) cdr_addon_mysql.c: In function `my_unload_module': cdr_addon_mysql.c:226: `mysql' undeclared (first use in this function) cdr_addon_mysql.c: In function `my_load_module': cdr_addon_mysql.c:380: `mysql' undeclared (first use in this function) cdr_addon_mysql.c: In function `usecount': cdr_addon_mysql.c:422: `mysql_lock' undeclared (first use in this function) make: *** [cdr_addon_mysql.o] Error 1 I then tried using and older version of cdr_addon_m...
2004 Feb 02
7
cdr mysql problem
Can someone tell me what is wrong here: Feb 2 19:45:44 ERROR[1074441696]: cdr_addon_mysql.c:381 my_load_module: Failed to connect to mysql database asteriskcdrdb on localhost. The database is created, cdr table also, the username and password is right. I have tried configuring cdr_mysql.conf to connect via localhost mysql.sock or via tcp port, but in both cases I got this error. Thanks! Tomica Crnek...
2003 Nov 25
0
Warning: File chan_sip.c, Line 462
...cemail. But after Asterisk is ready, we found lot of following warning(WARNING 5126). Is there any solusion of stopping this warning. Please help me. [Warning} | | | WARNING[1024]: File cdr_pgsql.c, Line 194 (my_load_module): Unable to load config for PostgreSQL CDR's: cdr_pgsql.conf == Parsing '/etc/asterisk/enum.conf': Found Asterisk Ready. *CLI> WARNING[5126]: File chan_sip.c, Line 462 (retrans_pkt): Maximum retries exceeded on call 496d26fd7255f1b767391c16291a0a1f@192.168.0.100 for seqno 102 (Req...
2005 Jan 31
0
Error while trying to execute asterisk
asterisk -cv -------------------------------------------------------- Jan 31 18:03:20 WARNING[13145]: cdr_addon_mysql.c:264 my_load_module: Unable to load config for mysql CDR's: cdr_mysql.conf [app_addon_sql_mysql.so] => (Simple Mysql Interface) [pbx_dundi.so]Jan 31 18:03:20 WARNING[13145]: loader.c:258 ast_load_resource: /usr/lib/asterisk/modules/pbx_dundi.so: undefined symbol: pbx_substitute_variables_varshead Jan 31 18:0...
2003 Aug 04
14
Mysql CDR
hello all, I am using the msql cdr module to store cdr in db, I realised that it does't capture the start and end time af a particular call record. Therefore I dive into the source code to add the start and end time into the query (add something like cdr->start, cdr->end), but end up getting segfault. the original version of cdr_mysql.so works fine but I need the start time and end
2005 Mar 22
1
asterisk-addons / OS X woes (continued)
...till references to _i386 files that are probably incorrect as well. Thanks Rob console messages: apsvr1*CLI> reload Mar 23 11:42:44 WARNING[15003]: config.c:579 cfg_process: parse error: No category context for line 14 of cdr_mysql.conf Mar 23 11:42:44 WARNING[15003]: cdr_addon_mysql.c:264 my_load_module: Unable to load config for mysql CDR's: cdr_mysql.conf Mar 23 11:42:44 NOTICE[15003]: indications.c:397 ast_unregister_indication_country: Removed default indication country 'au' Mar 23 11:42:45 WARNING[15003]: chan_mgcp.c:4038 reload_config: Unable to get our IP address, MGCP disa...
2007 Jul 13
3
asterisk-addons compilation "error: dereferencing pointer to incomplete type"
...e type ...lots more of these cdr_addon_mysql.c:227: error: dereferencing pointer to incomplete type ...lots more of these cdr_addon_mysql.c: In function `my_load_config_string': cdr_addon_mysql.c:279: warning: assignment makes pointer from integer without a cast cdr_addon_mysql.c: In function `my_load_module': cdr_addon_mysql.c:378: error: dereferencing pointer to incomplete type cdr_addon_mysql.c:382: error: dereferencing pointer to incomplete type cdr_addon_mysql.c:383: error: dereferencing pointer to incomplete type cdr_addon_mysql.c:384: error: dereferencing pointer to incomplete type cdr_addo...
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'.
2005 Feb 02
6
problem in compiling asterisk-addons
there is a problem in compiling asterisk-addons any one have fixed this problem. i want res_config_mysql.so any one help me ----------------------------------------------------- [root@localhost asterisk-addons]# make cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o res_config_mysql.o res_config_mysql.c res_config_mysql.c: In function `realtime_mysql':