[asterisk-dev] Lost Query with MySQL

Jared Smith jaredsmith at jaredsmith.net
Thu Mar 22 20:32:22 MST 2007


On 3/22/07, C. Savinovich <c.savinovich at itntelecom.com> wrote:
>    Hello everyone, I am writing a C module that uses a SELECT query to a
> mysql server upon starting a phone call...  somehow the query works the
> first time or two, afterwards, it doen't, although connection is still
> on...  any hints or guesses will be appreciated

It's going to be a little difficult for us to debug your C code, since
we don't have access to it.  Wouldn't it just be easier to use the
func_odbc module in Asterisk (or an AGI script) to query mysql,
instead of writing your own module?

-Jared


More information about the asterisk-dev mailing list