Displaying 20 results from an estimated 1000 matches similar to: "error compiling cdr_mysql support"
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
2006 Jun 09
2
shutting down a mysql server renders cdr_mysql dead and asterisk nolonger makes or receives calls
At approximately 3:15pm I shut down the office MySQL server to change
out some hardware. Shortly after I received a call from one of two
customers whose asterisk servers output CDR data to that server. They
could not place or receive calls. Shortly after that I received a call
from the other customer. I'm below providing output from the message
log (At debug level). I don't see much
2009 Oct 30
2
asterisk 1.6 enable cdr_mysql
How to enable cdr_mysql.conf in Asterisk 1.6?
I have installed asterisk-addons which compiled mysql support,
"module show" is showing "cdr_addon_mysql.so"
but cdr_mysql.conf was not created in /asterisk directory
Is there any configuration file to enable mysql support?
Comping cdr_mysql.conf from previous installation does not do anything, calls aren't recorded.
--
2008 Feb 14
2
OFF Topic: mysql installation problem
Hi All:
I'm trying to get mysql 5 installed on my CentOS 4.6 installation. I've
installed mysql using yum:
yum -y install perl-DBD-MySQL mysql-server mysql php-mysql
mod_auth_mysql phpmyadmin mysqlclient
Yum says it installed fine:
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package phpmyadmin.noarch 0:2.11.4-1.el4.rf set to
2004 Apr 29
2
spandsp compile error: PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here
Hey All,
I'm having a bit of a problem trying to get spandsp working on my
asterisk machine. The machine is a Redhat 9.0 install with the latest
version of libtiff and libtiff-devel (according to freshrpms.net).
I manaaged to download, compile and successfully install the actual
spandsp package with no errors. The problem comes when I try to compile
the rxfax and txfax asterisk
2007 Jun 07
1
custom cdr fields and cdr_mysql, howto?
Hi All,
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+cdr
Under example:
exten => s,2,Set(CDR(MyFavoriteBand)=Foo Fighters)
exten => s,3,Set(CDR(MyFavoriteSong)=Hero)
and under description:
-userfield: The channel's user specified field.
""-any custom value that you wish to store.""
My question is how do you setup more custom fields in the cdr and be
2004 Jun 11
2
cdr_addon_mysql.c
Following the latest * CVS update, my MySQL was broken.
Following the update, Asterisk-addons would compile fine, but when I ran
asterisk I got the following error:
ERROR[1202489024]: cdr_addon_mysql.c:203 mysql_log: Failed to insert
into databas
I then tried using the patch (bug id 0001823) from bugs.digium.com, and
found that Asterisk-addons would no longer compile, giving me the
following
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
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 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
2009 Dec 30
1
CDR_MYSQL 1.4 Database Structure
So I'm noticing from the docs/ on Asterisk Addons 1.4.10 that the
database structure for cdr_mysql is:
CREATE TABLE cdr (
calldate datetime NOT NULL default '0000-00-00 00:00:00',
clid varchar(80) NOT NULL default '',
src varchar(80) NOT NULL default '',
dst varchar(80) NOT NULL default '',
dcontext varchar(80) NOT NULL default '',
channel
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 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
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 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 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 May 28
2
spandsp wont compile.
I can't get spandsp to compile. when I go to the */apps directory i
continually fails.
Makefile:80: warning: overriding commands for target `app_rxfax.so'
Makefile:77: warning: ignoring old commands for target `app_rxfax.so'
cc -fPIC -c -o app_rxfax.o app_rxfax.c
app_rxfax.c:45: error: `PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP'
undeclared here (not in a function)
make: ***
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
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