Sorry, i was actually using 2.3.0 not 2.3.1
I managed to set up ODBC on 2.3.2 and Register/Unregister Queries work as expected.
One suggestion for the (online) manual: I spent some time understanding which parameters i should use to log information in queries (i was trying to use CDR parameters listed in section 9.4 with no use) until I read section 9.5 of the manual where the parameters for Register/Unregister events are listed.
Thanks for your reply.
Cheers, p.
On Mon, May 31, 2010 at 4:53 PM, Jan Willamowius <jan@xxxxxxxxxxxxxx> wrote:
Hi Pirlu,
as noted on the download page, the provided Windows executables only
contains an ODBC driver (same as 2 of 3 Windows versions for 2.3.1).
You can simply compile GnuGk yourself with MySQL libraries inststalled
and it will include MySQL support.
Regards,
Jan
--
pierlu wrote:
> HI all,
>
> when i start GNUGk 2.3.2 on the same testing machine on which version 2.3.1
> was functioning I get an unexpected error which shuts down Gnugk right after
> starting. Debug trace level 5 says:
>
> 2010/05/31 16:25:37.703 0 sqlauth.cxx(390) SQLAUTH SQLAliasAuth module
> creation failed: could not find MySQL database driver
> 2010/05/31 16:25:37.703 0 sqlauth.cxx(391) SQLAUTH FATAL: Shutting down
>
> Given that the gatekeeper.ini is the same that was driving version 2.3.1 and
> i have not done any other changes apart from copying the new release on the
> server... what problem is that?
>
> Thanks, p.
>
> p.s. in the ini file the part relative to Auth is as follows
>
> [Gatekeeper::Auth]
> FileIPAuth=alternative;RRQ
> SQLAliasAuth=optional;RRQ
> SQLPasswordAuth=sufficient;RRQ
>
> [FileIPAuth]
> xx.xx.xx.xx=allow
>
> [SQLAliasAuth]
> Driver=MySQL
> Host=xx.xx.xx.xxx:3306
> Database=db
> Username=user
> Password=password
> Query=SELECT CONCAT('sigip:',ip) FROM terminale WHERE numero = '%1'
>
> [SQLPasswordAuth]
> Driver=MySQL
> Host=xx.xx.xx.xx:3306
> Database=db
> Username=user
> Password=password
> Query=SELECT h235password FROM terminale WHERE numero = '%1'
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/
------------------------------------------------------------------------------
_______________________________________________________
Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/
------------------------------------------------------------------------------
_______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/