Hello All,
I have additionally installed the following ODBC software on my freepbx 2.8.1.5 distro that is using Asterisk (Ver. 1.6.2.20).
The following ODBC packages appear on this system currently.
1. mysql-connector-odbc 3.51.26r1127-2.el5
2. php-odbc 5.1.6-39.el5_8
3. unixODBC 2.2.11-10.el5
4. unixODBC-devel 2.2.11-10.el5
5. unixODBC-libs 2.2.11-10.el5
When I putty into the freepbx 2.8.1.5 machine and run the command
#odbcinst -q -d
i do show:
[MySQL]
[PostgreSQL]
When I run the command:
#odbcinst -j
it gives me this back:
unixODBC 2.2.11
DRIVERS…: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES…: /root/.odbc.ini
However on the freepbx 2.8.1.5 GUI in the “SmartRoutes” link under the inbound Call Control, the notes show the following;
ODBC support cannot be confirmed in your Asterisk install. If needed, please confirm installation. Instructions for compiling Asterisk with ODBC are here.
Instructions for configuring ODBC in linux and Asterisk are here.
Aftering following the instructions on both links I am stuck at the part that states that “…recompile Asterisk so that the ODBC modules are created and installed.”.
It instructs me at the end of the "Installing and Configuring ODBC (the second link) to “…recompile Asterisk so that the ODBC modules are created and installed.” by doing the following from the command prompt:
# cd /usr/src/asterisk-1.4
# make distclean
# ./configure
# make menuselect
# make install
I have confirmed that there is no /usr/src/asterisk-1.4 only /usr/src/freepbx-2.7.0 which is what I started out with a few years ago.
Does anyone know how I get my freepbx distro to recompile asterisk to get this “SmartRoutes” to recognize support for ODBC? Please provide a command by command instruction if you can please.
My System
FreePBX 2.8.1.5 (CentOS Linux 5.8)
Asterisk (Ver. 1.6.2.20)
SmartRoutes Module v1.3