Advertisement
Guest User

usersconf

a guest
May 23rd, 2013
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  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.  
  15. [general]
  16. ;
  17. ; Full name of a user
  18. ;
  19. fullname = New User
  20. ;
  21. ; Starting point of allocation of extensions
  22. ;
  23. userbase = 6000
  24. ;
  25. ; Create voicemail mailbox and use use macro-stdexten
  26. ;
  27. hasvoicemail = yes
  28. ;
  29. ; Set voicemail mailbox 6000 password to 1234
  30. ;
  31. vmsecret = 1234
  32. ;
  33. ; Create SIP Peer
  34. ;
  35. hassip = yes
  36. ;
  37. ; Create IAX friend
  38. ;
  39. hasiax = no
  40. ;
  41. ; Create H.323 friend
  42. ;
  43. ;hash323 = yes
  44. ;
  45. ; Create manager entry
  46. ;
  47. hasmanager = no
  48. ;
  49. ; Set permissions for manager entry (see manager.conf.sample for documentation)
  50. ; (defaults to *all* permissions)
  51. ;managerread = system,call,log,verbose,command,agent,user,config
  52. ;managerwrite = system,call,log,verbose,command,agent,user,config
  53. ;
  54. ;
  55. ; MAC Address for res_phoneprov
  56. ;
  57. ;macaddress = 112233445566
  58. ;
  59. ; Auto provision the phone with res_phoneprov
  60. ;
  61. ;autoprov = yes
  62. ;
  63. ; Line Keys for hardphone
  64. ;
  65. ;LINEKEYS = 1
  66. ;
  67. ; Line number for hardphone
  68. ;
  69. ;linenumber = 1
  70. ;
  71. ; Local Caller ID number used with res_phoneprov and Asterisk GUI
  72. ;
  73. ;cid_number = 6000
  74. ;
  75. ; Remaining options are not specific to users.conf entries but are general.
  76. ;
  77. callwaiting = no
  78. threewaycalling = no
  79. callwaitingcallerid = yes
  80. transfer = yes
  81. canpark = yes
  82. cancallforward = yes
  83. callreturn = yes
  84. callgroup = 1
  85. pickupgroup = 1
  86. ;nat = no
  87.  
  88. ;[6000]
  89. ;fullname = Joe User
  90. ;description = Courtesy Phone In Lobby ; Used to provide a description of the
  91. ; peer in console output
  92. ;email = joe@foo.bar
  93. ;secret = 1234
  94. ;dahdichan = 1
  95. ;hasvoicemail = yes
  96. ;vmsecret = 1234
  97. ;hassip = yes
  98. ;hasiax = no
  99. ;hash323 = no
  100. ;hasmanager = no
  101. ;callwaiting = no
  102. ;context = international
  103. ;
  104. ; Some administrators choose alphanumeric extensions, but still want their
  105. ; users to be reachable by traditional numeric extensions, specified by the
  106. ; alternateexts entry.
  107. ;
  108. ;alternateexts = 7057,3249
  109. ;macaddress = 112233445566
  110. ;autoprov = yes
  111. ;LINEKEYS = 1
  112. ;linenumber = 1
  113. ;cid_number = 6000
  114.  
  115. [mtt]
  116. secret=passwhere
  117. defaultuser=307055108167
  118. fromuser=307055108167 ; or A-number
  119. username=307055108167
  120. fromdomain=sip.mtt.ru
  121. trunkname=mtt
  122. type=peer
  123. host=sip.mtt.ru
  124. ;port=5060
  125. nat=force_rport,comedia
  126. canreinvite=no
  127. context=incoming_calls
  128. insecure=port,invite
  129. callerid=307055108167
  130. cid_number=307055108167
  131. ;callbackextension=307055108167 ;s
  132. directmedia=no
  133. disallow=all
  134. allow=alaw ;g729,alaw,ulaw,speex
  135. ;allow=ulaw
  136. ;allow=gsm
  137. qualify=yes
  138. ;usereqphone=yes
  139. dtmfmode=rfc2833
  140. ;dtmfmode=shortinfo
  141. ;transport=udp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement