Advertisement
Guest User

Untitled

a guest
Apr 12th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. # This is a sample Gammu SMSD configuration file. It's required for gammu-smsd,
  2. # see gammu-smsdrc(5) for documentation.
  3.  
  4. # Gammu configuration, this section is like section "gammu" in "gammurc" file,
  5. # see gammurc(5) for documentation.
  6. [gammu]
  7. port = /dev/ttyUSB0
  8. #device = /dev/ttyS1
  9. #model = 6110
  10. connection = at115200
  11. synchronizetime = yes
  12. #logfile = gammulog # this is not used at all in SMSD mode
  13. logformat = textall
  14. #use_locking = yes
  15. #gammuloc = gammu.us
  16. #startinfo = yes
  17.  
  18. # When uncomment this section and insert numbers here, smsd will process
  19. # incoming sms only from numbers written here (incoming sms from all other
  20. # numbers will be deleted)
  21. #[include_numbers]
  22. #number1 = 1234
  23.  
  24. # When uncomment this section and insert numbers here, smsd will process
  25. # incoming sms from all numbers not written here (incoming sms from numbers
  26. # written here will be deleted). This is "black" list.
  27. # Note: after using "include_numbers" section this one will be ignored
  28. #[exclude_numbers]
  29. #number1 = 1234
  30.  
  31. # General SMSD settings, see gammu-smsdrc(5) for detailed description.
  32. [smsd]
  33. # SMSD service to use, one of FILES, MYSQL, PGSQL, DBI
  34. service = SQL
  35. # PIN for SIM card
  36. PIN = 1234
  37. # File (or stderr, syslog, eventlog) where information will be logged
  38. logfile = smsdlog
  39. # Amount of information being logged, each bit mean one level
  40. debuglevel = 0
  41. # Configuration for using more phones on same database
  42. #phoneid = MyPhone1
  43. # Script to be executed when new message has been received
  44. #runonreceive = /some/script
  45. # Commication frequency settings
  46. commtimeout = 30
  47. sendtimeout = 30
  48. #receivefrequency = 0
  49.  
  50. # Phone communication settings
  51. #checksecurity = 1
  52. #resetfrequency = 0
  53.  
  54. # Delivery report configuration
  55. #deliveryreport = no
  56. #deliveryreportdelay = 10
  57.  
  58. # Ignoring broken SMSC
  59. #skipsmscnumber = +48602123456
  60.  
  61. # Database backends congfiguration
  62. user = root
  63. password = r7g?GomasT2.
  64. pc = localhost
  65. # pc can also contain port or socket path after colon (eg. localhost:/path/to/socket)
  66. database = db_gammu
  67.  
  68. # DBI configuration
  69. driver = native_mysql
  70. # driverspath = /usr/lib/dbd/
  71. # Database directory for sqlite
  72. # dbdir = /var/lib/smsd
  73.  
  74. # Files backend configuration
  75. #inboxpath = /var/spool/sms/inbox/
  76. #outboxpath = /var/spool/sms/outbox/
  77. #sentsmspath = /var/spool/sms/sent/
  78. #errorsmspath = /var/spool/sms/error/
  79. inboxformat = unicode
  80. transmitformat = auto
  81. #outboxformat = detail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement