[Asterisk-Users] MYSQL Dialplan Question

Shaun Tierney stierney at prairiestream.com
Mon Nov 15 09:56:02 MST 2004


Well, I looked at the makefile and I could not see any options for SQL.  So
I did a grep for SQL on the distribution files and found that in version
0.7.0 support for MySQL was removed, so I'm guessing I'm just going to have
to switch to Postgres or something.

Thanks for the help,

Shaun

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com]On Behalf Of Steven
Critchfield
Sent: Monday, November 15, 2004 10:11 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] MYSQL Dialplan Question


On Mon, 2004-11-15 at 10:04 -0600, Shaun Tierney wrote:
> I am new to Asterisk, and I am having trouble connecting to the MySQL
> database located on the same machine as my Asterisk box.  When the
dialplan
> tried to connect to MySQL database, I get the following error message on
the
> Asterisk console.
>
> Nov 15 09:29:41 WARNING[111139760]: pbx.c:1279 pbx_extension_helper: No
> application 'MYSQL' for extension (default, s, 5)
>
> Here is the corresponding line in my dialplan.
>
> exten => s,5,MYSQL(Connect connid localhost admin abc123 asteriskdb)
>
> I am able to connect to the database with the same username and password
> using the MySQL console.  Am I missing something in my installation or
> configuration that would cause this?

Yes you are missing something in your installation. From reading the
error message I can see you did not build the mysql application. My
guess would be that it is not enabled in the makefile. Go edit it,
compile, install, and try again.
--
Steven Critchfield <critch at basesys.com>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list