vmdb.sql 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. DROP TABLE IF EXISTS voicemail;
  2. CREATE TABLE voicemail (
  3. -- All of these column names are very specific, including "uniqueid". Do not change them if you wish voicemail to work.
  4. uniqueid INT(5) NOT NULL AUTO_INCREMENT PRIMARY KEY,
  5. -- Mailbox context.
  6. context CHAR(80) NOT NULL DEFAULT 'default',
  7. -- Mailbox number. Should be numeric.
  8. mailbox CHAR(80) NOT NULL,
  9. -- Must be numeric. Negative if you don't want it to be changed from VoicemailMain
  10. password CHAR(80) NOT NULL,
  11. -- Used in email and for Directory app
  12. fullname CHAR(80),
  13. -- Email address (will get sound file if attach=yes)
  14. email CHAR(80),
  15. -- Email address (won't get sound file)
  16. pager CHAR(80),
  17. -- Attach sound file to email - YES/no
  18. attach CHAR(3),
  19. -- Send email from this address
  20. serveremail CHAR(80),
  21. -- Prompts in alternative language
  22. language CHAR(20),
  23. -- Alternative timezone, as defined in voicemail.conf
  24. tz CHAR(30),
  25. -- Delete voicemail from server after sending email notification - yes/NO
  26. deletevoicemail CHAR(3),
  27. -- Read back CallerID information during playback - yes/NO
  28. saycid CHAR(3),
  29. -- Allow user to send voicemail from within VoicemailMain - YES/no
  30. sendvoicemail CHAR(3),
  31. -- Listen to voicemail and approve before sending - yes/NO
  32. review CHAR(3),
  33. -- Allow '0' to jump out during greeting - yes/NO
  34. operator CHAR(3),
  35. -- Hear date/time of message within VoicemailMain - YES/no
  36. envelope CHAR(3),
  37. -- Hear length of message within VoicemailMain - yes/NO
  38. sayduration CHAR(3),
  39. -- Minimum duration in minutes to say
  40. saydurationm INT(3),
  41. -- Force new user to record name when entering voicemail - yes/NO
  42. forcename CHAR(3),
  43. -- Force new user to record greetings when entering voicemail - yes/NO
  44. forcegreetings CHAR(3),
  45. -- Context in which to dial extension for callback
  46. callback CHAR(80),
  47. -- Context in which to dial extension (from advanced menu)
  48. dialout CHAR(80),
  49. -- Context in which to execute 0 or * escape during greeting
  50. exitcontext CHAR(80),
  51. -- Maximum messages in a folder (100 if not specified)
  52. maxmsg INT(5),
  53. stamp timestamp
  54. );