[asterisk-bugs] [JIRA] (ASTERISK-25746) func_odbc requires an additional ARG when executing via CLI and Dialplan

Joseph Giarratano (JIRA) noreply at issues.asterisk.org
Thu Feb 4 16:17:33 CST 2016


Joseph Giarratano created ASTERISK-25746:
--------------------------------------------

             Summary: func_odbc requires an additional ARG when executing via CLI and Dialplan
                 Key: ASTERISK-25746
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25746
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Functions/func_odbc
    Affects Versions: 13.7.0
         Environment: linux Ubuntu 14.0LTS 4gb Ram Mysql 5.5 
            Reporter: Joseph Giarratano
            Severity: Minor


13.7 ODBC Write <Func_ODBC> <ARG> EXEC requires an additional ARG when used via CLI and through a dialplan.

13.5 does not require the additional Argument.

Example:
Working example:
ASTERISKSERVER*CLI> odbc write TG_RMBLACKLIST  4500,' ' exec                    Affected 1 rows.  Query executed on handle 0 [asterisk-mysql]

Failed example:
ASTERISKSERVER*CLI> odbc write TG_RMBLACKLIST  4500 exec
UPDATE blacklist SET blacklist_enabled=0 WHERE blacklist_callid_num=4500






--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list