Displaying 1 result from an estimated 1 matches for "serverresponse".
Did you mean:
server_response
2013 Oct 20
1
error cant write to function ODBC_DEVICES
...vice-conn ;dsn in res_odbc not odbc.ini
readsql=SELECT call.callNum, call.city, devices.callId, devices.id FROM
call INNER JOIN devices ON call.id = devices.callId WHERE deviceNumber = '${
SQL_ESC(${ARG1})}'
writesql=insert into voted (callId,callNum,city,deviceId,SerialNum,
serverResponse) values (${VAL1},"${VAL2}",${VAL3},${VAL4},${VAL5},"${VAL6}"
extension.conf
the relevant line
same => n,set(ODBC_DEVICES()=${callid},${call},1,${deviceid},${num},${
serverupdate})
when sending the values from the cli using odbc write it works ok
reading from the dialpl...