Asterisk and MySQL Server


#1

I am very new in SIP/VoIP world, and I want know if this is possible.
I have a Asterisk machine and I want make comunication between this server with a MySQL Server (that is in another host). It’s possible ? I read some doc’s and I think that so.

Thanks and excuse me for my poor english.


#2

yes, you can write some AGI scripts that can interact with mysql.

being more specific on what you want * to communicate to mysql
might be more help for everyone


#3

I think you should check out :
voip-info.org/tiki-index.php … k+RealTime

in the res_mysql.conf you can set up the following fields:
dbhost, dbname,dbuser,dbpass,dbport,dbsock

some of them are optional of course.

Hope this helps.