Guest User

Untitled

a guest
Jan 5th, 2018
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. -extconfig.conf
  2.  
  3. sippeers => mysql,asterisk,sipfriends
  4. sipusers => mysql,asterisk,sipfriends
  5.  
  6. -res_config_mysql.conf
  7.  
  8. [general]
  9. dbhost = localhost
  10. dbname = asterisk
  11. dbuser = root
  12. dbpass = ******
  13. dbport = 3306
  14. dbsock = /var/lib/mysql/mysql.sock
  15.  
  16. -sip.conf
  17.  
  18. rtupdate=yes
  19. rtautoclear=no
  20. rtcachefriends=yes
  21. ignoreregexpire=yes
  22.  
  23. -CLI (When the peers try to registrate nothing appears at cli)
  24.  
  25.  
  26. root penelope /etc/asterisk # asterisk -r
  27. Asterisk 1.8.7.0, Copyright (C) 1999 - 2011 Digium, Inc. and others.
  28. Created by Mark Spencer <markster@digium.com>
  29. Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
  30. This is free software, with components licensed under the GNU General Public
  31. License version 2 and other licenses; you are welcome to redistribute it under
  32. certain conditions. Type 'core show license' for details.
  33. =========================================================================
  34. == Parsing '/etc/asterisk/extconfig.conf': == Found
  35. == Binding sippeers to mysql/asterisk/sipfriends
  36. == Binding sipusers to mysql/asterisk/sipfriends
  37. Connected to Asterisk 1.8.7.0 currently running on penelope (pid = 6308)
  38. Verbosity is at least 99
  39. penelope*CLI> realtime mysql status
  40. general connected to asterisk@localhost, port 3306 with username root for 12 minutes.
  41.  
  42.  
  43. -MYSQL PRIVILEGES (its running in localhost)
  44. mysql> show grants;
  45.  
  46. | Grants for root@localhost
  47.  
  48. | GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*B1002BD15228EF5ABDDD47B21626E0F3DBBFC72B' WITH GRANT OPTION
  49.  
  50.  
  51. **Maybe a field in the table must be setted?
Add Comment
Please, Sign In to add comment