Executing Stored Procedure Using ODBC MSSQL

Home » Asterisk Users » Executing Stored Procedure Using ODBC MSSQL
Asterisk Users 1 Comment

Hello,

I’m trying to execute a stored procedure on a MSSQL Server from the dial plan, but it’s not working. I’m getting the following error: Unable to execute query….

Asterisk has been compiled with UnixODBC, and I’ve done the necessary configurations in func_odbc, res_odbc and odbc.ini.

Has anyone done this before with success?

One thought on - Executing Stored Procedure Using ODBC MSSQL

  • Note, that writing CDRs using ODBC to a MSSQL database does work. So I don’t know why this doesn’t.

    From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Grant Bagdasarian Sent: Friday, June 14, 2013 2:43 PM
    To: asterisk-users@lists.digium.com Subject: [asterisk-users] Executing Stored Procedure using ODBC MSSQL

    Hello,

    I’m trying to execute a stored procedure on a MSSQL Server from the dial plan, but it’s not working. I’m getting the following error: Unable to execute query….

    Asterisk has been compiled with UnixODBC, and I’ve done the necessary configurations in func_odbc, res_odbc and odbc.ini.

    Has anyone done this before with success?