Guest User

Untitled

a guest
Mar 5th, 2018
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.16 KB | None | 0 0
  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. ; Minimum length of a voicemail message in seconds
  16. ;minmessage=3
  17. ; Maximum length of greetings in seconds
  18. ;maxgreet=60
  19. ; How many miliseconds to skip forward/back when rew/ff in message playback
  20. skipms=3000
  21. ; How many seconds of silence before we end the recording
  22. maxsilence=10
  23. ; Silence threshold (what we consider silence, the lower, the more sensitive)
  24. silencethreshold=128
  25. ; Max number of failed login attempts
  26. maxlogins=3
  27. ; If you need to have an external program, i.e. /usr/bin/myapp
  28. ; called when a voicemail is left, delivered, or your voicemailbox
  29. ; is checked, uncomment this:
  30. ;externnotify=/usr/bin/myapp
  31. ; If you need to have an external program, i.e. /usr/bin/myapp
  32. ; called when a voicemail password is changed,
  33. ; uncomment this:
  34. ;externpass=/usr/bin/myapp
  35. ; For the directory, you can override the intro file if you want
  36. ;directoryintro=dir-intro
  37. ; The character set for voicemail messages can be specified here
  38. ;charset=ISO-8859-1
  39. ; The ADSI feature descriptor number to download to
  40. ;adsifdn=0000000F
  41. ; The ADSI security lock code
  42. ;adsisec=9BDBF7AC
  43. ; The ADSI voicemail application version number.
  44. ;adsiver=1
  45. ; Skip the "[PBX]:" string from the message title
  46. ;pbxskip=yes
  47. ; Change the From: string
  48. ;fromstring=The Asterisk PBX
  49. ;
  50. ;Change the From: string for pager messages
  51. ;pagerfromstring=The Asterisk PBX
  52. ;
  53. ; Change the email body and/or subject, variables:
  54. ; VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX, VM_CALLERID, VM_DATE
  55. ;
  56. ; Note: The emailbody config row can be up to 512 characters due to a limitation in
  57. ; asterisk config files.
  58. ;emailsubject=New VM (${VM_MSGNUM}) - ${VM_DUR} long in mailbox ${VM_MAILBOX} from ${VM_CALLERID}
  59. ;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
  60.  
  61. ;
  62. ; You can override the default program to send e-mail if you wish, too
  63. ;
  64. ;mailcmd=/usr/sbin/sendmail -t
  65. ;
  66. ; Users may be located in different timezones, or may have different
  67. ; message announcements for their introductory message when they enter
  68. ; the voicemail system. Set the message and the timezone each user
  69. ; hears here. Set the user into one of these zones with the tz= attribute
  70. ; in the options field of the mailbox. Of course, language substitution
  71. ; still applies here so you may have several directory trees that have
  72. ; alternate language choices.
  73. ;
  74. ; Look in /usr/share/zoneinfo/ for names of timezones.
  75. ; Look at the manual page for strftime for a quick tutorial on how the
  76. ; variable substitution is done on the values below.
  77. ;
  78. ; Supported values:
  79. ; 'filename' filename of a soundfile (single ticks around the filename required)
  80. ; ${VAR} variable substitution
  81. ; A or a Day of week (Saturday, Sunday, ...)
  82. ; B or b or h Month name (January, February, ...)
  83. ; d or e numeric day of month (first, second, ..., thirty-first)
  84. ; Y Year
  85. ; I or l Hour, 12 hour clock
  86. ; H Hour, 24 hour clock (single digit hours preceded by "oh")
  87. ; k Hour, 24 hour clock (single digit hours NOT preceded by "oh")
  88. ; M Minute
  89. ; P or p AM or PM
  90. ; Q "today", "yesterday" or ABdY (*note: not standard strftime value)
  91. ; q "" (for today), "yesterday", weekday, or ABdY (*note: not standard strftime value)
  92. ; R 24 hour time, including minute
  93. ;
  94. ;
  95.  
  96. ;
  97. ; Each mailbox is listed in the form <mailbox>=<password>,<name>,<email>,<pager_email>,<options>
  98. ; if the e-mail is specified, a message will be sent when a message is
  99. ; received, to the given mailbox. If pager is specified, a message will be sent there as well. If the password is prefixed by '-' then it is considered to be unchangable
  100. ;
  101. ; Advanced options example is extension 4069
  102. ; NOTE: All options can be expressed globally in the general section, and overriden in the per-mailbox
  103. ; settings, unless listed otherwise.
  104. ;
  105. ; tz=central ; Timezone from zonemessages above. Irrelevant if envelope=no.
  106. ; attach=yes ; Attach the voicemail to the notification email *NOT* the pager email
  107. ; saycid=yes ; Say the caller id information before the message. If not described,
  108. ; or set to no, it will be in the envelope
  109. ; dialout=fromvm ; Context to dial out from [option 4 from the advanced menu]
  110. ; if not listed, dialing out will not be permitted
  111. sendvoicemail=yes ; Context to Send voicemail from [option 5 from the advanced menu]
  112. ; if not listed, sending messages from inside voicemail will not be
  113. ; permitted
  114. ; callback=fromvm ; Context to call back from
  115. ; if not listed, calling the sender back will not be permitted
  116. ; review=yes ; Allow sender to review/rerecord their message before saving it [OFF by default
  117. ; operator=yes ; Allow sender to hit 0 before/after/during leaving a voicemail to
  118. ; reach an operator [OFF by default]
  119. ; envelope=no ; Turn on/off envelope playback before message playback. [ON by default]
  120. ; This does NOT affect option 3,3 from the advanced options menu
  121. ; delete=yes ; After notification, the voicemail is deleted from the server. [per-mailbox only]
  122. ; This is intended for use with users who wish to receive their voicemail ONLY by email.
  123. ; nextaftercmd=yes ; Skips to the next message after hitting 7 or 9 to delete/save current message.
  124. ; [global option only at this time]
  125.  
  126. [zonemessages]
  127. eastern=America/New_York|'vm-received' Q 'digits/at' IMp
  128. central=America/Chicago|'vm-received' Q 'digits/at' IMp
  129. central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours'
  130.  
  131. [default]
  132. ;1234 => 4242,Example Mailbox,root@localhost
  133. ;4200 => 9855,Mark Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail=myaddy@digium.com|tz=central
  134. ;4300 => 3456,Ben Rigas,ben@american-computer.net
  135. ;4310 => -5432,Sales,sales@marko.net
  136. ;4069 => 6522,Matt Brooks,matt@marko.net,,|tz=central|attach=yes|saycid=yes|dialout=fromvm|callback=fromvm|review=yes|operator=yes|envelope=yes
  137. ;4073 => 1099,Bianca Paige,bianca@biancapaige.com,,delete=1
  138. ;4110 => 3443,Rob Flynn,rflynn@blueridge.net
  139. 6000 => 6000,Geoff Dougherty,geoff@chitowndailynews.org
  140. 6001 => 6001, Adam Van Hart, adam@chitowndailynews.org
  141. 6002 => 6002, Kate Gardiner, kate@chitowndailynews.org
  142. 6003 => 6003, Geoff Wallin, wallin@chitowndailynews.org
  143. 6004 => 6004, Ben Strauss, ben@chitowndailynews.org
  144. 6005 => 6005, Narmin Dhanani, narmin@chitowndailynews.org
  145.  
  146.  
  147.  
  148.  
  149. ;
  150. ; Mailboxes may be organized into multiple contexts for
  151. ; voicemail virtualhosting
  152. ;
  153.  
  154. [other]
  155. ;The intro can be customized on a per-context basis
  156. ;directoryintro=dir-company2
  157. 1234 => 5678,Company2 User,root@localhost
Add Comment
Please, Sign In to add comment