I have additionally installed the following ODBC software on my freepbx 18.104.22.168 distro that is using Asterisk (Ver. 22.214.171.124).
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 126.96.36.199 machine and run the command
#odbcinst -q -d
i do show:
When I run the command:
it gives me this back:
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES..: /root/.odbc.ini
However on the freepbx 188.8.131.52 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
# 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.
FreePBX 184.108.40.206 (CentOS Linux 5.8)
Asterisk (Ver. 220.127.116.11)
SmartRoutes Module v1.3