[Asterisk-Users] Intergrate with MySQL

Steven Critchfield critch at basesys.com
Thu Mar 13 14:19:13 MST 2003


On Thu, 2003-03-13 at 14:26, Ajit Kallingal wrote:
> Hello All,
> Can the current Asterisk be integrated with mySQL to query a database ?
> I am looking at a  typical IVR scenario where the user punches a "product
> code" and the database query will determine if the product is available or
> not. The reply would be number of items available , else none.

You can write an AGI app and have your app do the queries to the
database where your connection method is totally up to you. This is
probably prefered as perl and/or other languages will let you do better
error handling if your connection is down to the database.
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list