Hi I am trying to setup asterisk realtime with odbc and I can’t get it to function correctly.
I get a lot of errors stating with this:
No such switch ‘Realtime’
I’m confident the re_odbc.conf is OK as I am using the same link for func_odbc which functions just fine.
My configuration:
odbc.ini
[asterisk-connector]
Description = MySQL connection
Driver = MySQL
Server = localhost
Database = asterisk
;Port = 3306
Socket = /var/lib/mysql/mysql.sock
res_odbc.conf
[asterisk-odbc]
enabled => yes
dsn => asterisk-connector
username => asterisk
password => apassword!!!
pre-connect => yes
extconfig.conf
[settings]
extensions => odbc,asterisk-odbc,ast_extensions
extensions.conf
[default]
switch => Realtime
If anyone has any suggestions why this is failing I would be very grateful.
Thanks