Grant Bagdasarian
2013-Jun-14 12:42 UTC
[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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130614/390f5615/attachment.htm>
Grant Bagdasarian
2013-Jun-14 12:45 UTC
[asterisk-users] 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 at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Grant Bagdasarian Sent: Friday, June 14, 2013 2:43 PM To: asterisk-users at 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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130614/801b0412/attachment.htm>