Summary:ASTERISK-20348: writesql does write to mysql
Reporter:Jonathan White (londonnet)Labels:
Date Opened:2012-08-31 10:33:16Date Closed:2012-08-31 10:42:40
Versions:10.7.1 Frequency of
Environment:Centos 32bitAttachments:
Description:I am calling a function from func_odbc.conf with either the noOp or Set command in the dialplan but nothing is writen to mysql

same =>n,NoOp(${test_timestamp(${ext})})
same =>n,Set(accessed=${test_timestamp(${ext})})

writesql=UPDATE btestdb.acc SET val = val + 1 WHERE ext='${ARG1}'
readsql=SELECT val FROM testdb.acc WHERE ext='${ARG1}'
Comments:By: Paul Belanger (pabelanger) 2012-08-31 10:42:17.443-0500

We require a complete debug log to help triage the issue. This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

By: Matt Jordan (mjordan) 2012-08-31 10:42:26.326-0500

Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support.