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.
Description = MySQL connection
Driver = MySQL
Server = localhost
Database = asterisk
;Port = 3306
Socket = /var/lib/mysql/mysql.sock
enabled => yes
dsn => asterisk-connector
username => asterisk
password => apassword!!!
pre-connect => yes
extensions => odbc,asterisk-odbc,ast_extensions
switch => Realtime
If anyone has any suggestions why this is failing I would be very grateful.