Advertisement
Guest User

odbc

a guest
Jun 2nd, 2014
302
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None
  1. cat /etc/odbcinst.ini
  2. [MySQL]
  3. Description = MySQL ODBC Driver used for Asterisk configuration
  4. Driver = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
  5. Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so
  6. UsageCount = 1
  7. FileUsage = 3
  8.  
  9.  
  10.  
  11. root@asterisk1:/var/spool/asterisk/voicemail/from-sip/444/INBOX# cat /etc/odbc.ini
  12. [MySQL-Asterisk-sip]
  13. Driver = MySQL
  14. Database = yopeso
  15. Server = localhost
  16. ;User = asterisk
  17. ;Password = RC%70o209zPb$VyYVI._HUkBXvK$R7
  18.  
  19. [MySQL-Asterisk-voicemail]
  20. Driver = MySQL
  21. Database = yopeso
  22. Server = localhost
  23. User = asterisk
  24. Password = RC%70o209zPb$VyYVI._HUkBXvK$R7
  25.  
  26.  
  27.  
  28. root@asterisk1:/var/spool/asterisk/voicemail/from-sip/444/INBOX# cat /etc/asterisk/res_odbc.conf
  29. [asterisk_odbc_sip]
  30. enable => yes
  31. dsn => MySQL-Asterisk-sip
  32. pre-connect => yes
  33. username => asterisk
  34. password => RC%70o209zPb$VyYVI._HUkBXvK$R7
  35.  
  36.  
  37. [asterisk_odbc_voicemail]
  38. enable => yes
  39. dsn => MySQL-Asterisk-voicemail
  40. pre-connect => yes
  41. username => asterisk
  42. password => RC%70o209zPb$VyYVI._HUkBXvK$R7
  43.  
  44.  
  45. root@asterisk1:/var/spool/asterisk/voicemail/from-sip/444/INBOX# cat /etc/asterisk/extconfig.conf
  46. [settings]
  47. sippeers => odbc,asterisk_odbc_sip,asterisk_sippeers
  48. voicemail => odbc,asterisk_odbc_voicemail,voicemail_users
  49. extensions => odbc,asteriskrealtime,extensions
  50. queues => odbc,asteriskrealtime,queue_table
  51. queue_members => odbc,asteriskrealtime,queue_member_table
  52. meetme => odbc,asteriskrealtime,meetme
Advertisement
RAW Paste Data Copied
Advertisement