Displaying 20 results from an estimated 1000 matches similar to: "cdr_addon_mysql.c"
2004 Jun 30
1
asterisk-addons unable to compile
Hello,
I know that there was a previous posting regarding this in which the
addition of:
CFLAGS+=-I../asterisk/include
fixed the problem, but I have tried that and am still getting the following
when trying to run make:
./mkdep -fPIC -I../asterisk/include/asterisk -I../asterisk -D_GNU_SOURCE
-I/usr/include/mysql `ls *.c`
cc -fPIC -I../asterisk/include/asterisk -I../asterisk -D_GNU_SOURCE
2004 Jun 18
2
cdr_addon_mysql compiling error
I'm trying to compile cdr_addon_mysql but keep getting this error. Again, searching the Wiki and the mailing list archive didn't bring up anything useful. Any help? Yes, I'm using MySQL 4.0. Maybe I have to switch back to 3.23?
# make
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:50: warning: parameter names
2004 Jun 17
3
asterisk-addons compilation error
Folks
I am getting the following error as of today after updating both
asterisk and asterisk-addons. These are both under /usr/src.
Any ideas?
dora-debian:/usr/local/src/asterisk-addons# make
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls *.c`
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o
cdr_addon_mysql.o cdr_addon_mysql.c
2004 Jul 06
1
compiling mysql addon
running make gives:
cdr_addon_mysql.c:50: warning: parameter names (without types) in
function declaration
cdr_addon_mysql.c:50: warning: data definition has no type or storage
class
cdr_addon_mysql.c: In function `mysql_log':
cdr_addon_mysql.c:108: error: `mysql_lock' undeclared (first use in
this function)
cdr_addon_mysql.c:108: error: (Each undeclared identifier is reported
only
2004 Jul 31
2
Which version of MySQL works with cdr_addon_mysql?
I'm having problems compiling cdr_addon_mysql with MySQL 3.23.58
I get the following errors:
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o
cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:50: warning: parameter names (without types) in
function declaration
cdr_addon_mysql.c:50: warning: data definition has no type or storage class
cdr_addon_mysql.c: In function
2004 Jun 27
1
asterisk addon mysql
hi,
ive read through the last few posts with people having problems compiling the
asterisk-addons for mysql support, and none of them have helped me resolve my
compile problem. I currently have -- CVS-06/24/04-22:20:31 and downloaded
asterisk-addons.
I compiled * first then asterisk-addons, have added
CFLAGS+=-I../asterisk/include
When I try to make install for asterisk-addons i get
2004 Jun 21
1
R: Re: cdr_addon_mysql compiling error
>> I'm trying to compile cdr_addon_mysql but keep getting this error.
>> Again, searching the Wiki and the mailing list archive didn't bring up
>> anything useful. Any help? Yes, I'm using MySQL 4.0. Maybe I have to
>> switch back to 3.23?
>>
>>
>> # make
>> cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o
2004 Jun 15
2
Cdr_addon_mysql.c compile problem.
Good Afternoon Everyone,
I am having a problem with compiling the CVS version of *-addons downloaded
today. I am also having problems compiling an older version as well but im
ignoring that one for now.
I believe I have all the correct libraries, and I have done extensive searches
everywhere I just wondered if I was missing something really silly, or if this
is a problem other people have
2004 Jan 28
1
cdr_addon_mysql compile error
Having some trouble building cdr_addon_mysql. I've installed mysql and
mysql-dev and all related rpms on a RH9 box. The box is up and running
*.
I've checked out the asterisk-addons but at "make install", I receive the
following error:
./mkdep -fPIC -I../asterisk -I/usr/include/mysql `ls *.c`
cc -fPIC -I../asterisk -I/usr/include/mysql -c -o cdr_addon_mysql.o
2004 Jun 21
0
R: Re: cdr_addon_mysql compiling error
Thanks for the tip, but adding the CFLAGS directive doesn't work either, same error message. I'll try to have a look in -dev, but if anyone comes up with a solution, a reply would be appreciated.
-Manuel
-----Messaggio originale-----
Da: Luckcuck Nick-LCKN001 [mailto:LCKN001@motorola.com]
Inviato: lunedì, 21. giugno 2004 13:52
A: asterisk-users@lists.digium.com
Oggetto: RE:
2009 Jan 05
1
cdr_addon_mysql 'Failed to insert into database' stops * call processing
Hi All,
I have some Asterisk 1.2 servers using the cdr_mysql addon (1.2.3)
spitting cdr's over to a MySQL database on another server. All is
working well except for a strange problem I ran into this morning.
During some cdr database maintenance, the cdr table was locked for a
few minutes, during this condition all the Asterisk servers stopped
processing calls and reported this error:
Jan 5
2005 Jul 05
3
Asterisk addons install problem
Hi there:
I have successfully installed the Asterisk 1.0.9 on my Freebsd 5.4
box. When I tend to install the addon for mysql CDR billing, It always
return me the following errors:
SIP# gmake clean
rm -f *.so *.o .depend
gmake -C format_mp3 clean
gmake[1]: Entering directory
`/usr/home/wilson/asterisk/asterisk-addons-1.0.9/format_mp3'
rm -f *.o *.so *~
gmake[1]: Leaving directory
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'.
2004 Jun 14
0
compile error with asterisk-addons
I try to install asterisk-addons but I get an error.
Who can help me? Is my MySQL not complete or do I have another problem?
root@unitedsecure asterisk-addons]# make install
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o
cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:50: warning: parameter names (without types) in function
declaration
cdr_addon_mysql.c:50: warning:
2004 Jun 23
1
cdr_mysql compilation error
I am trying to compile current cvs asterisk-addons for mysql cdr but I
get the following error. Iam running mysql 4.0.20 and cvs v1 stable
version of asterisk.
cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/local/mysql/include -c
-o cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:50: warning: parameter names (without types) in
function declaration
cdr_addon_mysql.c:50: warning: data
2008 Nov 25
1
cdr mysql error
Hi,
Need help on mysql cdr, i keep on seeing this log on the console.
but my db is up and i see the calls being logged on the cdr table. is
there a timeout when there is no activity? can i remove the timeout if
there is any? thanks
[Nov 25 13:22:37] ERROR[21026]: cdr_addon_mysql.c:171 mysql_log:
cdr_mysql: Server has gone away. Attempting to reconnect.
[Nov 25 14:20:32] ERROR[21061]:
2007 Sep 22
2
error messages related to mysql in asterisk CLI
hi there :)
i get this error in the asterisk CLI:
Sep 21 20:31:49 ERROR[3774]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql:
Unknown connection error:
(2006) MySQL server has gone away
when I run 'cdr mysql status' i get:
Connected to voiceone at localhost, port 3306 using table cdr for 18 minutes, 24 seconds.
Wrote 8 records since last restart and 1 records since last reconnect.
I
2003 Aug 13
5
Can't compile cdr_mysql
I'm trying to compile the cdr_mysql module, but I am receiving error
messages.
I have installed mysql-devel.
Here is the output of make cdr_mysql:
cc -fPIC -I/usr/local/mysql/include -I/usr/include/mysql -c -o
cdr_mysql.o cdr_mysql.c
cdr_mysql.c:30:26: mysql/errmsg.h: No such file or directory
cdr_mysql.c: In function `mysql_log':
cdr_mysql.c:74: `CR_SERVER_GONE_ERROR'
2007 Jul 13
3
asterisk-addons compilation "error: dereferencing pointer to incomplete type"
I am having trouble getting asterisk-addons 1.4.2 to compile (after a
successful configure). Asterisk itself (and AsteriskGUI) compile fine.
I get:
cdr_addon_mysql.c: In function `handle_cdr_mysql_status':
cdr_addon_mysql.c:91: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:93: error: dereferencing pointer to incomplete type
cdr_addon_mysql.c:95: error: dereferencing
2004 Dec 05
1
Mysql-cdr
Hi;
I have problem inserting cdr to mysql,Asterisk has logged to asteriskcdrdb successfully.It says:
Dec 6 13:36:26 DEBUG[1221985728]: cdr_addon_mysql.c:178 mysql_log: cdr_mysql: inserting a CDR record.
Dec 6 13:36:26 DEBUG[1221985728]: cdr_addon_mysql.c:197 mysql_log: cdr_mysql: SQL command as follows: INSERT INTO cdr