users.conf.sample 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. ;
  2. ; User configuration
  3. ;
  4. ; Creating entries in users.conf is a "shorthand" for creating individual
  5. ; entries in each configuration file. Using users.conf is not intended to
  6. ; provide you with as much flexibility as using the separate configuration
  7. ; files (e.g. sip.conf, iax.conf, etc) but is intended to accelerate the
  8. ; simple task of adding users. Note that creating individual items (e.g.
  9. ; custom SIP peers, IAX friends, etc.) will allow you to override specific
  10. ; parameters within this file. Parameter names here are the same as they
  11. ; appear in the other configuration files. There is no way to change the
  12. ; value of a parameter here for just one subsystem.
  13. ;
  14. [general]
  15. ;
  16. ; Full name of a user
  17. ;
  18. fullname = New User
  19. ;
  20. ; Starting point of allocation of extensions
  21. ;
  22. userbase = 6000
  23. ;
  24. ; Create voicemail mailbox and use use macro-stdexten
  25. ;
  26. hasvoicemail = yes
  27. ;
  28. ; Set voicemail mailbox 6000 password to 1234
  29. ;
  30. vmsecret = 1234
  31. ;
  32. ; Create SIP Peer
  33. ;
  34. hassip = yes
  35. ;
  36. ; Create IAX friend
  37. ;
  38. hasiax = yes
  39. ;
  40. ; Create H.323 friend
  41. ;
  42. ;hash323 = yes
  43. ;
  44. ; Create manager entry
  45. ;
  46. hasmanager = no
  47. ;
  48. ; Set permissions for manager entry (see manager.conf.sample for documentation)
  49. ; (defaults to *all* permissions)
  50. ;managerread = system,call,log,verbose,command,agent,user,config
  51. ;managerwrite = system,call,log,verbose,command,agent,user,config
  52. ;
  53. ;
  54. ; MAC Address for res_phoneprov
  55. ;
  56. ;macaddress = 112233445566
  57. ;
  58. ; Auto provision the phone with res_phoneprov
  59. ;
  60. ;autoprov = yes
  61. ;
  62. ; Line Keys for hardphone
  63. ;
  64. ;LINEKEYS = 1
  65. ;
  66. ; Line number for hardphone
  67. ;
  68. ;linenumber = 1
  69. ;
  70. ; Local Caller ID number used with res_phoneprov and Asterisk GUI
  71. ;
  72. ;cid_number = 6000
  73. ;
  74. ; Remaining options are not specific to users.conf entries but are general.
  75. ;
  76. callwaiting = yes
  77. threewaycalling = yes
  78. callwaitingcallerid = yes
  79. transfer = yes
  80. canpark = yes
  81. cancallforward = yes
  82. callreturn = yes
  83. callgroup = 1
  84. pickupgroup = 1
  85. ;nat = no
  86. ;[6000]
  87. ;fullname = Joe User
  88. ;description = Courtesy Phone In Lobby ; Used to provide a description of the
  89. ; peer in console output
  90. ;email = joe@foo.bar
  91. ;secret = 1234
  92. ;dahdichan = 1
  93. ;hasvoicemail = yes
  94. ;vmsecret = 1234
  95. ;hassip = yes
  96. ;hasiax = no
  97. ;hash323 = no
  98. ;hasmanager = no
  99. ;callwaiting = no
  100. ;context = international
  101. ;
  102. ; Some administrators choose alphanumeric extensions, but still want their
  103. ; users to be reachable by traditional numeric extensions, specified by the
  104. ; alternateexts entry.
  105. ;
  106. ;alternateexts = 7057,3249
  107. ;macaddress = 112233445566
  108. ;autoprov = yes
  109. ;LINEKEYS = 1
  110. ;linenumber = 1
  111. ;cid_number = 6000