Recently I setup a mysql database to support the sip.conf. I check some information in the voip-info.org. it should be res_mysql.conf existed, which is used to confiure to connect the remote mysql server.
I found that there is no file named this in my etc/asterisk/ directory but only res_odbc.conf. So is it necessary? if yes, then how can i get it?
I also read some others http://www.voip-info.org/wiki/view/Asterisk+sip+mysql+peers
it said that i should do
[quote]You also need to define the following variables in the general section of sip.conf and iax.conf:
* dbname: Name of database in your Mysql server * dbhost: Hostname of server * dbuser: Username in MySQL * dbpass: Password for user in MySQL
The following data is stored in the database:
* name: Name of peer (used in SIP registration) * secret: Secret (password) stored in plaintext! * context: Default context for incoming calls from user * ipaddr: Default IP address of user * port: Default port
As I understand. I don’t need to configure the res_mysql.conf also will work. is it ?
it there any hits for me that how to run this? for example, how many conf file I need to configure?