You have to create yourself the odbc commands using func_odbc.conf file,
like:
[GET_HUNTLIST_TYPE]
dsn=asterisk1,asterisk2
synopsis=Get the Hunt List type
readsql=SELECT hu_type,hu_ringtime from hu_huntlists where hu_id='${ARG1}'
then you cna use it in your dialplan (I use AEL):
Hello,
I notice when upgrading from 1.6.2 to 1.8 that in the menuselect
app_mysql is indicated as deprecated.
If one wants to use the MySQL-command in the dialplan, how to do so if
app_mysql is deprecated ??
Kind regards,
Jonas.
--
Use ODBC. Check the func_odbc.conf configuration file.
Leandro
2012/5/5 Jonas Kellens jonas.kell...@telenet.be
**
Hello,
I notice when upgrading from 1.6.2 to 1.8 that in the menuselect
app_mysql is indicated as deprecated.
If one wants to use the MySQL-command in the dialplan, how to do
Will ODBC become the default then ?
I see no ODBC-command to use in the dialplan.
Jonas.
On 05/05/2012 11:12 AM, Leandro Dardini wrote:
Use ODBC. Check the func_odbc.conf configuration file.
Leandro
2012/5/5 Jonas Kellens jonas.kell...@telenet.be
mailto:jonas.kell...@telenet.be
Jonas Kellens wrote:
Will ODBC become the default then ?
As far as I'm aware, yes.
You need to make sure that unix-odbc development libraries are installed.
Under Mandriva, Mageia:
urpmi unixodbc-devel
Ubuntu/Debian:
apt-get install unixodbc-dev
And here is a good link to get you