[asterisk-bugs] [JIRA] (ASTERISK-23968) Function REALTIME_STORE cannot be read
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Mon Jun 30 13:36:56 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan closed ASTERISK-23968.
----------------------------------
Resolution: Not A Bug
{{REALTIME_STORE}} does not support read operations. Attempting to perform an insert into a database using read semantics would be ... weird.
{{REALTIME_STORE}} only supports being written to; hence, you must use it with the {{Set}} dialplan application.
> Function REALTIME_STORE cannot be read
> --------------------------------------
>
> Key: ASTERISK-23968
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23968
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Functions/func_realtime
> Affects Versions: 1.8.23.0
> Environment: MySQL with a table callback (id,phonenumber,date)
> res_config_mysql.so as backend for realtime
> Reporter: c0rnoTa
> Severity: Minor
>
> I'm trying to use REALTIME_STORE function, but Asterisk always return:
> ERROR[20244]: pbx.c:3894 ast_func_read: Function REALTIME_STORE cannot be read
> Family is configured like: callback => mysql,general,callback
> Using function like:
> Noop(${REALTIME_STORE(callback,phonenumber)=123456});
> When I change REALTIME_STORE to REALTIME function, I can read and update values successfully. But I can't INSERT a new row.
> Increasing debug level is give me additional information.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list