<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
On Wed, 2012-02-22 at 06:48 -0600, Sergio Basurto wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hello,<BR>
<BR>
I install asterisk an postgresql 9.1 in gentoo, I already did the configuration in both asterisk and postgresql, in fact If I make a call and asterisk log it to CDR table, my question is:<BR>
</BLOCKQUOTE>
I make a typo mistake I mean If I make a call asterisk already log it into CDR table. <BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
how can I make a function like the ones in func_odbc.conf for postgresql, if I am using res_pgsql.conf instead of res_odbc.conf?<BR>
<BR>
I also configure odbc and it connects with <B><TT>echo "select 1" | isql -v asterisk-connector</TT></B> with out problems, but when I try an odbc function or restart asterisk it logs:<BR>
<BR>
<B><TT>Error SQLConnect=-1 errno=101 [unixODBC]Could not connect to the server; Could not connect to remote socket.</TT></B><BR>
<BR>
and the command<BR>
<BR>
<B><TT>CLI> odbc show</TT></B><BR>
<BR>
<B><TT>ODBC DSN Settings</TT></B><BR>
<B><TT>-----------------</TT></B><BR>
<BR>
<B><TT> Name: asterisk</TT></B><BR>
<B><TT> DSN: asterisk-connector</TT></B><BR>
<B><TT> Last connection attempt: 2012-02-22 06:45:36</TT></B><BR>
<BR>
<BR>
I will appreciate any help.<BR>
<BR>
<BR>
Regards,<BR>
<BR>
<PRE>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <A HREF="http://www.api-digital.com">http://www.api-digital.com</A> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
<A HREF="http://www.asterisk.org/hello">http://www.asterisk.org/hello</A>
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
<A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Sergio Basurto <<A HREF="mailto:sbasurto@soft-gator.com">sbasurto@soft-gator.com</A>><BR>
Soft Gator S.A de C.V.
</TD>
</TR>
</TABLE>
</BODY>
</HTML>