[asterisk-bugs] [JIRA] (ASTERISK-25963) func_odbc no longer working in 13.9

Mark Michelson (JIRA) noreply at issues.asterisk.org
Tue Apr 26 10:15:57 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=230418#comment-230418 ] 

Mark Michelson commented on ASTERISK-25963:
-------------------------------------------

Looks like the connection is going stale, so some reconnect checks are needed. I can put together a patch for you to test.

> func_odbc no longer working in 13.9
> -----------------------------------
>
>                 Key: ASTERISK-25963
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25963
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_odbc
>    Affects Versions: 13.9.0
>         Environment: Cent OS 7
>            Reporter: Ross Beer
>            Assignee: Ross Beer
>         Attachments: ODBC_CLI.txt
>
>
> ODBC queries are no longer working for any queries. It appears that the database connection can not connect:
> [2016-04-26 13:55:13] WARNING[19126][C-0000000f]: func_odbc.c:349 generic_execute: SQL Execute returned an error -1: 08S01: [MySQL][ODBC 5.3(w) Driver][mysqld-5.5.5-10.0.21-MariaDB-wsrep]MySQL server has gone away (89)
> This is for all queries, rolling back to an earlier version of asterisk resolves the issue.



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



More information about the asterisk-bugs mailing list