Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -extconfig.conf
- sippeers => mysql,asterisk,sipfriends
- sipusers => mysql,asterisk,sipfriends
- -res_config_mysql.conf
- [general]
- dbhost = localhost
- dbname = asterisk
- dbuser = root
- dbpass = ******
- dbport = 3306
- dbsock = /var/lib/mysql/mysql.sock
- -sip.conf
- rtupdate=yes
- rtautoclear=no
- rtcachefriends=yes
- ignoreregexpire=yes
- -CLI (When the peers try to registrate nothing appears at cli)
- root penelope /etc/asterisk # asterisk -r
- Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
- Created by Mark Spencer <markster@digium.com>
- Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
- This is free software, with components licensed under the GNU General Public
- License version 2 and other licenses; you are welcome to redistribute it under
- certain conditions. Type 'core show license' for details.
- =========================================================================
- == Parsing '/etc/asterisk/extconfig.conf': == Found
- == Binding sippeers to mysql/asterisk/sipfriends
- == Binding sipusers to mysql/asterisk/sipfriends
- Connected to Asterisk 1.8.7.0 currently running on penelope (pid = 6308)
- Verbosity is at least 99
- penelope*CLI> realtime mysql status
- general connected to asterisk@localhost, port 3306 with username root for 12 minutes.
- -MYSQL PRIVILEGES (its running in localhost)
- mysql> show grants;
- | Grants for root@localhost
- | GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*B1002BD15228EF5ABDDD47B21626E0F3DBBFC72B' WITH GRANT OPTION
- **Maybe a field in the table must be setted?
Add Comment
Please, Sign In to add comment