Displaying 20 results from an estimated 1000 matches similar to: "Sybase/FreeTDS and RoR"
2006 Jul 13
0
AR Sybase adapter with FreeTDS
Hi there !
After writing up a little adapter to access my sybase server, using
odbc/dbi/freetds/unixodbc (yes all of these), it''s now time to have a
*real* adapter, not running through to-many-to-count layers.
I plan to use the FreeTDS library rather than Sybase because of the
availability of FreeTDS for windows os.
Is there already a work in progress for this kind of stuff ? Are
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
2008 Oct 06
1
python-sybase on Centos 5 x86_64
Installed the freetds rpms from centos-extras, also tried the ones in
rpmforge
http://mirror.centos.org/centos/5/extras/x86_64/RPMS/freetds-0.64-11.el5.centos.x86_64.rpm
http://mirror.centos.org/centos/5/extras/x86_64/RPMS/freetds-devel-0.64-11.el5.centos.x86_64.rpm
Compiled python-sybase-0.39 by hand, and also via rpm.
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
2005 Dec 05
0
about php-ODBC , unixODBC, freetds and MSSQL server
maybe someone here can help me understand why I am
getting this strange behaivor.
I am connecting to a MS SQL server from PHP by the
ODBC module, I use unixODBC-2.2.9-1,
freetds-0.63-1.2.el4.rf and php-4.3.9-3.9 all but the
freetds package came with CentOS-4.2 + updates
the problem is that I am getting -1 from the
odbc_num_rows(); function, I search the net and it
looks that this is a very
2005 Sep 29
0
please help on FreeTDS (writing CDR to MS-SQL or MySQL)
Hi,
I'm trying to install FreeTDS. I followed the instructions on
http://www.voip-info.org/tiki-index.php?page=FreeTDS, but still can't get it
to work.
I serched around trying to find instructions on it, and it seems the same
info (even wording) appear on all sites I found.
I downloaded freetds-0.63, and followed the instructions step by step, and
when I try to re-compile Asterisk (#make
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
2006 Jan 10
1
sql server freetds/odbc question
I''m having an error from Linux via freeTDS/ODBC to SQL Server with
cod that runs fine against SQLite and MySQL. Here''s the code:
def find_recipes_for_workorder_by_id
@recipe_pages, @recipes = paginate_with_sort :recipes, :per_page
=> 10, \
:conditions => ["recipe.workorder_id = ?", params
[:workorder]]
render :template =>
2003 Dec 18
1
R and Sybase
Hi,
I'm trying to get R connected to Sybase on a Linux
machine. I'm relatively new to databases,
particularly the connectivity side.
Do I have to use RODBC and install ODBC support on the
system (a huge pain with Sybase, as you have to
install a scaled-down version of Sybase itself on the
system to get it to work with ODBC), or can I somehow
use DBI to do it. Other processes on the
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
2005 Jun 16
2
Error when compiling in freeTDS support
I'm trying to use freetds/odbc to write CDR records to a MSSQL
database but when I installed them and tried to compile asterisk again
I get:
_tds.c
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:415: `TDSCONNECTINFO' undeclared (first use in this function)
cdr_tds.c:415: (Each undeclared identifier is reported only once
cdr_tds.c:415: for each function it appears in.)
2006 Nov 07
0
Asterisk and FreeTDS 0.64 or >0.63
Hello all,
just curious if anyone's successfully compiled (*) with the latest
FreeTDS code/driver. The Makefile in (*) seems to only take care of
0.63 or older. I tried to muck around with it a bit into tricking to
compile for not just 0.63 but anything later than 0.62 but it seems to
crap out complaining about CDR modules, which I really don't need.
It's been a while since I tried it
2017 Nov 03
0
Repository with current FreeTDS?
Anyone know of a repository with the current - 1.0 - version of
FreeTDS? ?
The packaged version 0.91 from EPEL is considerably out of data.
--
Meetings Coordinator, Michigan Association of Railroad Passengers
537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
E-mail: awilliam at whitemice.org GPG#D95ED383 Web: http://www.marp.org
2003 Apr 01
1
RODBC, freetds, and MS SQL Server
I have a question for RODBC users out there. I have used the package with
good results for some time. However, I have just switched from an OpenLink
proprietary driver for MS SQL to the FreeTDS driver (I think it is MS SQL
Server 2000 I'm connecting to if it matters). I was/am running them from
unixODBC on a Linux Client. I think I have it set up fine since I can use
"isql"
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)
2006 Sep 07
0
Need help with accessing MS SQL Server from Mac OS X
I am trying to get access to a Microsoft SQL Server 2k installation on
my network. To this point I''m not having any luck.
I''ve followed the instructions at
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnOSX
up to the point where you run the iodbctest where I get an error. The
errors are:
iODBC Demonstration program
This program shows an
2006 Jun 14
6
find and LIKE ''xxx%'' clause
Hi there !
I try to figure out how to do something like this in Rails :
SELECT * FROM my_table WHERE name LIKE ''GOGONAM%''
My problem is the % and the quotes.
>From now, I do like this :
searched_name = params[:name]+''%''
user = MyTable.find(:all, :conditions => ["name LIKE ?", searched_name])
But is there a more gracefull way to do a LIKE
2009 Oct 14
18
sybase in rails2?
Has anyone actually gotten the activerecord-sybase-adapter to work in
Rails2?
I can''t seem to, and can''t figure out why. I am on RedHat linux.
I have the sybase client libraries installed, I have the adapter
installed. After installing the patch at
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2455-update-for-sybase_adapter#ticket-2455-4
to get a slightly
2008 Jan 30
2
func_odbc - trouble
Hello,
we are migrating an Asterisk install from Trixbox/Asterisk 1.2 to Elastix
0.92 with asterisk-1.4.17 on CentOS 5. I need to migrate an funtion that
consults a remote sybase database, using ODBC and freetds. On the new
server I am able to connect to the database using isql without problems.
When I try to connect from asterisk logs show:
pbx.c: Function ODBC_SQL not registered
Indeed I
2010 Oct 22
1
MS-SQL / Freetds -- func_odbc
Hi folks,
How would I go about running a stored procedure call from asterisk via
func_odbc.
I'm after an example entry in func_odbc if possible for ast 1.4
Also, if someone could post an insert statement that actually works,
would be nice.
Thanks,
:)