Guest User

Untitled

a guest
Sep 19th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. /etc/odbc.ini
  2.  
  3. [asterisk-cdr]
  4. Driver = MySQL
  5. Description = Asterisk CDR DSN
  6. Server = localhost
  7. Database = asteriskcdrdb
  8. Option = 3
  9.  
  10. /etc/odbcinst.ini
  11.  
  12. [MySQL]
  13. Description = ODBC for MySQL
  14. Driver = /usr/lib/libmyodbc3.so
  15. Setup = /usr/lib/libodbcmyS.so
  16. UsageCount = 1
  17.  
  18. /etc/asterisk/cdr_odbc.conf
  19.  
  20. [global]
  21. dsn=asterisk-cdr
  22. username = freepbx
  23. password = fpbx
  24. loguniqueid=yes
  25. dispositionstring=yes
  26.  
  27. /etc/asterisk/res_odbc.conf
  28.  
  29. [asterisk-cdr]
  30. enabled => yes
  31. dsn => asterisk-cdr
  32. username => freepbx
  33. password => fpbx
  34. pre-connect => yes
  35.  
  36.  
  37. REMOVE cdr_mysql.conf or RENAME
Add Comment
Please, Sign In to add comment