Displaying 20 results from an estimated 900 matches similar to: "TinyTds::Client.new() gives an error "undefined symbol: dbsetluser""
2013 Dec 17
1
ActiveRecord and tiny_tds
Hi,
I''m having some issues trying to run .find_by_sql against a Win MSSQL 2008
server. When I use the tiny_tds gem the query works without any issues.
require ''rubygems''
gem ''tiny_tds'', ''= 0.6.2''
require ''tiny_tds''
gem ''activerecord'', ''= 3.2.12''
require
2003 Jul 11
4
module : cdr_sybase.so
If anyone is interested ... just in case! :-)... I have tried to write ,
based on the cdr_mysql.so module, an Sybase module.
To compile you can use something like that:
export SYBPLATFORM=linux
export SYBASE=/opt/sybase
cc -I$SYBASE/include -c -o cdr_sybase.o cdr_sybase.c
cc -shared -Xlinker -x -o cdr_sybase.so cdr_sybase.o -lsybdb -lm
-L$SYBASE/lib
(anyone could write the corect Makefile
2012 May 04
7
Unable to Install ruby-odbc gem on windows 2008 server bit
Hi,
I am trying to install the ruby-odbc gem on windows 2008 server
Enterprise SP2 64 bit version
I have installed the devkit for ruby and it is also getting installed.
When trying to install this ruby-odbc gem some how make.exe file is
getting crashing and I am unable to install it further.
I am able to install the same gem on a 32 bit machine but the same
procedure does not work out on 64
2005 Jul 04
1
Asterisk 1.0.9 and FreeTDS
Hi all,
I have a working 1.0.7 installation and it is recording CDR to mysql. I am
using FreeTDS on the system currently to access our MS SQL 2000 server for
account verification, we may use it to store CDR records there in the
future.
I have decided to update the installation to 1.0.9. However, during "make",
I receive:
make[1]: Entering directory `/usr/src/asterisk/cdr'
gcc
2007 Jun 27
2
Problems compiling Asterisk 1.4.5
Hi! I have this errors compiling Asterisk 1.4.5
cdr_tds.c:86:2: warning: #warning "You have older TDS, you should upgrade!"
cdr_tds.c: In function `tds_log':
cdr_tds.c:213: error: too many arguments to function
`tds_process_simple_query'
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:326: error: `TDSCONNECTINFO' undeclared (first use in this
function)
cdr_tds.c:326:
2010 Jul 26
5
FreeTDS (Microsoft MsSQL 2008) and CDR
Hi,
I have Ubuntu server 10.04 64bit, and Asterisk 1.4.34, compiled from
sources. I installed freetds-common,freetds-dev, libct4, libsybdb5,
freetds-bin, but, when I run configure and then make menuconfig in section
"Call Detail Recording" -> "cdr_tds" it's "disabled". It only writes that
"Depends on: freetds(E)". On another server (same
2005 Apr 11
3
CDR and TDS
Hi,
I want to use the cdr to record the call log to my Microsoft SQL Server
using unixodbc and freetds....
but when I compile, I've got this message....
Does anyone have the same problem and/or know how to solve it ?
Thanks
Baste regards
David Masure
make[1]: Entering directory
`/usr/src/asterisk/bristuff-0.2.0-RC7k/asterisk-1.0.6/cdr'
gcc -pipe -Wall -Wstrict-prototypes
2009 Feb 12
4
Rails & unixODBC
Hello,
I decided to embrace getting a new Rails application to see an
existing MSSQL database and trying to get unixODBC, freeTDS, and
ActiveRecord able to query my MSSQL database.
I''m following the procedure outlined at
http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
but my system (Ubuntu 8.10 - Intrepid Ibex, Rails 2.3, Ruby 1.8.7)
2008 May 16
2
Fetching Binary data from SQL Server
I am trying to write a customized app using C that would fetch voice file from SQL Server 2000 using ODBC and FREETDS.
Currently I am only able to fetch first 63 KB chunk from the DB, and not able to fetch the rest of the file, below is the code that i am using to do so,
fd = open(fullpath, O_RDWR | O_CREAT | O_TRUNC, 0770);
if (fd < 0) {
ast_log(LOG_WARNING, "Failed to write
2019 Aug 05
1
Strange apache problem
On 5/8/2019 1:20 ?.?., Nikos Gatsis - Qbit wrote:
>
> On 3/8/2019 3:00 ??.??., centos-request at centos.org wrote:
>> On 8/2/2019 6:23 AM, Nikos Gatsis - Qbit wrote:
>>> After update last centos packages, greek characters from sql request
>>> look like question marks ?????
>> Inspect the raw binary of the HTTP request.
>>
>> What browser is doing the
2003 Aug 01
2
Asterisk community input: FreeTDS (cdr_tds.c) or unixODBC (cdr_unixodbc.c) ?
I would like some Asterisk community input:
It was requested of me to create an Asterisk FreeTDS (cdr_tds.c) module to
allow Asterisk to populate MS SQL Server (and Sybase) with CDR records.
unixODBC has been thrown around as a bright shiny button but it adds an
additional layer of DB abstraction. That additional layer of abstraction
can cause problems when it is not necessary for our TDS (MS
2006 Feb 02
3
Strange SQL Server error
Hi,
In an app I''m developing I''ve run into a strange problem. I''ve created
some controllers and models using the scaffolding generator and
everything seemed to work fine.
However I''ve noticed that a particular model I''ve created always fails
its tests and I can''t test it out in a browser due to the same error I''m
getting which is:
2008 Feb 29
17
Is SQL Server not supported in RoR on the Mac?
Hi -- I''ve been having problems connecting to a SQL Server database that
I thought might be related to the fact I was upgrading Rails to 2.0.
However, I also was moving the project to my shiny new macbook.
Anyway, after jumping through a few hoops (instaling DBI, etc.), I
finally get to my latest error message:
<error>
DBI::InterfaceError: Could not load driver (no such file to
2012 Jun 08
2
Need to get latest version of freetds for centos 6.2
Hello --
What repository, or other website, can I access in order to get the latest version of freetds? The version that comes with centos 6.2
is the 0.64 release, and it has a bug in it that is preventing me from running another application.
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the
2004 Jul 28
4
MS SQL & Free TDS
Help!
I've been using mysql for cdr storage, I need to switch to MS SQL. I must be
stupid or something but I cannot figure out how to setup the cdr_tds. I have
FreeTDS configured properly, but my unixodbc is not working properly
either... I'd be happy with either solution, but I'm in need of assistance.
Luke Catranis
2017 Nov 10
2
CDR_TDS driver disappears - "does not provide a license key" on reload attempt
Hi All
I have an Asterisk 1.8.32.3 instance that will at random intervals stop
logging CDR data to MSSQL via FreeTDS.
On investigation I'll find that the FreeTDS module has been unloaded
somehow. It is not listed in cdr show status or show module like.
Trying
module load cdr_tds
results in
module cdr_tds does not provide a license key
and the module is not loaded.
The only way to get
2010 May 05
3
CDR to MS-SQL via ODBC issue
Hi guys,
Having issue with getting CDR to write to MS-SQL via ODBC.
> cdr_odbc: Connected to freetds-connector
> cdr_odbc: Error in PREPARE -1
> cdr_odbc: Query FAILED Call not logged!
== Spawn extension (cisco, ##########, 2) exited non-zero on
'IAX2/astYYYY-507
Isql test:
[xxx at YYYY asterisk]# isql freetds-connector XXXXXXX YYYYYYYYY
2008 May 14
1
Native ODBC in WinXP Mode
Has anyone here been able to get native ODBC MS SQL connection working in Wine while the Windows version is set to XP? I've been able to get it working as long as it's set to Win98, but that's a bit of a problem now.
I'm currently running an application that no longer works or is supported in Windows 98. The aplication starts fine in WinXP mode, except for the fact that it cannot
2005 May 26
4
tds_CDR and MS SQL Server troubleshooting
I am trying to get * to write CDR records to an MS SQL table. I am used the freeTDS set up (not using UNIX ODBC), and it appears to be making the connection to the database, but I make a call, I get this error:
WARNING[3369]: cdr_tds.c:180 tds_log: Reconnected to SQL database.
ERROR[3369]: cdr_tds.c:191 tds_log: Failed to insert Call Data Records into SQL database.
I've assigned all rights
2010 Mar 10
2
Windows API to connect UnixOdbc is not functional in Wine
Hello,
I have configured Wine in Ubuntu 9.04 to use the built-in odbc32.dll which in turn uses the Linux's unixodbc package.
When I am trying to run my windows application which actually uses Windows API connecting to Unix ODBC is not working.
The API uses is SQLDriverConnect (), that returns me error
[unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so' file not