voicemail.conf.sample 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. ;
  2. ; Voicemail Configuration
  3. ;
  4. [general]
  5. ; Default formats for writing Voicemail
  6. ;format=g723sf|wav49|wav
  7. format=wav49|gsm|wav
  8. ; Who the e-mail notification should appear to come from
  9. serveremail=asterisk
  10. ;serveremail=asterisk@linux-support.net
  11. ; Should the email contain the voicemail as an attachment
  12. attach=yes
  13. ; Maximum length of a voicemail message in seconds
  14. ;maxmessage=180
  15. ; Maximum length of greetings in seconds
  16. ;maxgreet=60
  17. ; How many miliseconds to skip forward/back when rew/ff in message playback
  18. skipms=3000
  19. ; How many seconds of silence before we end the recording
  20. maxsilence=10
  21. ; Silence threshold (what we consider silence, the lower, the more sensitive)
  22. silencethreshold=128
  23. ; Max number of failed login attempts
  24. maxlogins=3
  25. ; Skip the "[PBX]:" string from the message title
  26. ;pbxskip=yes
  27. ; Change the From: string
  28. ;fromstring=The Asterisk PBX
  29. ; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_DATE
  30. ;emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE} so you might\nwant to check it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n
  31. ;
  32. ; You can override the default program to send e-mail if you wish, too
  33. ;
  34. ;mailcmd=/usr/sbin/sendmail -t
  35. ;
  36. ; Users may be located in different timezones, or may have different
  37. ; message announcements for their introductory message when they enter
  38. ; the voicemail system. Set the message and the timezone each user
  39. ; hears here. Set the user into one of these zones with the tz= attribute
  40. ; in the options field of the mailbox. Of course, language substitution
  41. ; still applies here so you may have several directory trees that have
  42. ; alternate language choices.
  43. ;
  44. ; Look in /usr/share/zoneinfo/ for names of timezones.
  45. ; Look at the manual page for strftime for a quick tutorial on how the
  46. ; variable substitution is done on the values below.
  47. ;
  48. ; Supported values:
  49. ; 'filename' filename of a soundfile (single ticks around the filename required)
  50. ; ${VAR} variable substitution
  51. ; A or a Day of week (Saturday, Sunday, ...)
  52. ; B or b or h Month name (January, February, ...)
  53. ; d or e numeric day of month (first, second, ..., thirty-first)
  54. ; Y Year
  55. ; I or l Hour, 12 hour clock
  56. ; H Hour, 24 hour clock (single digit hours preceded by "oh")
  57. ; k Hour, 24 hour clock (single digit hours NOT preceded by "oh")
  58. ; M Minute
  59. ; P or p AM or PM
  60. ; Q "today", "yesterday" or ABdY (*note: not standard strftime value)
  61. ; q "" (for today), "yesterday", weekday, or ABdY (*note: not standard strftime value)
  62. ; R 24 hour time, including minute
  63. ;
  64. ;
  65. [zonemessages]
  66. eastern=America/New_York|'vm-received' Q 'digits/at' IMp
  67. central=America/Chicago|'vm-received' Q 'digits/at' IMp
  68. central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours'
  69. ;
  70. ; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options>
  71. ; if the e-mail is specified, a message will be sent when a message is
  72. ; received, to the given mailbox. If pager is specified, a message will be sent there as well.
  73. ;
  74. [default]
  75. 1234 => 4242,Example Mailbox,root@localhost
  76. ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central
  77. ;4300 => 3456,Ben Rigas,ben@american-computer.net
  78. ;4310 => 5432,Sales,sales@marko.net
  79. ;4069 => 6522,Matt Brooks,matt@marko.net
  80. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net
  81. ;
  82. ; Mailboxes may be organized into multiple contexts for
  83. ; voicemail virtualhosting
  84. ;
  85. [other]
  86. 1234 => 5678,Company2 User,root@localhost