[Asterisk-Users] SIP peers in MySQL Database

harry gaillac gaillacharry at yahoo.fr
Sun Oct 10 06:19:05 MST 2004


hello,

Here is my problem.Two smalls offices with sip clients
 
+ Asterisk, one offices with Asterisk and mysql
database. 
I would like to define all sip peers in mysql database
so Asterisk from small office could read sip peers
configuration from database office. 

May I use autocreatepeer in all asterisk sip.conf file
with nat=yes in general option ?

Regards 
Harry

[general]
dbname= Name of database in your Mysql server
dbhost= Hostname of server
dbuser= Username in MySQL
dbpass= Password for user in MySQL
autocreatepeer=yes
nat=yes
....
-----------   ------------------
|Asterisk |-- |nat/firewall box |
-----------   ------------------
                    | 
                    |           
           ------------   ------------------
           | Internet |-- |nat/firewall box|--
Asterisk   
           ------------   ------------------      +
                    |                      SIP peers
in
                    |                    mysql
database 
-----------   ------------------
|Asterisk |-- |nat/firewall box |
-----------   ------------------


	

	
		
Vous manquez d’espace pour stocker vos mails ? 
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com



More information about the asterisk-users mailing list