Debian Codegraph @

configs/samples/users.conf.sample

raw
1 ;
2 ; User configuration
3 ;
4 ; WARNING: This configuration file is deprecated and will be removed in
5 ; a future version of Asterisk. It is recommended that you make configurations
6 ; in the appropriate module-specific configuration file for more flexibility.
7 ; Many Asterisk modules already no longer support users.conf.
8 ;
9 ; Creating entries in users.conf is a "shorthand" for creating individual
10 ; entries in each configuration file. Using users.conf is not intended to
11 ; provide you with as much flexibility as using the separate configuration
12 ; files (e.g. iax.conf, etc) but is intended to accelerate the
13 ; simple task of adding users. Note that creating individual items (e.g.
14 ; IAX friends, etc.) will allow you to override specific parameters within
15 ; this file. Parameter names here are the same as they appear in the
16 ; other configuration files. There is no way to change the value of a
17 ; parameter here for just one subsystem.
18 ;
19
20 [general]
21 ;
22 ; Full name of a user
23 ;
24 fullname = New User
25 ;
26 ; Starting point of allocation of extensions
27 ;
28 userbase = 6000
29 ;
30 ; Create voicemail mailbox
31 ;
32 hasvoicemail = yes
33 ;
34 ; Set voicemail mailbox 6000 password to 1234
35 ;
36 vmsecret = 1234
37 ;
38 ; Create IAX friend
39 ;
40 hasiax = yes
41 ;
42 ; Create H.323 friend
43 ;
44 ;hash323 = yes
45 ;
46 ; Create manager entry
47 ;
48 hasmanager = no
49 ;
50 ; Set permissions for manager entry (see manager.conf.sample for documentation)
51 ; (defaults to *all* permissions)
52 ;managerread = system,call,log,verbose,command,agent,user,config
53 ;managerwrite = system,call,log,verbose,command,agent,user,config
54 ;
55 ;
56 ; MAC Address for res_phoneprov
57 ;
58 ;macaddress = 112233445566
59 ;
60 ; Auto provision the phone with res_phoneprov
61 ;
62 ;autoprov = yes
63 ;
64 ; Line Keys for hardphone
65 ;
66 ;LINEKEYS = 1
67 ;
68 ; Line number for hardphone
69 ;
70 ;linenumber = 1
71 ;
72 ; Local Caller ID number used with res_phoneprov and Asterisk GUI
73 ;
74 ;cid_number = 6000
75 ;
76 ; Remaining options are not specific to users.conf entries but are general.
77 ;
78 callwaiting = yes
79 threewaycalling = yes
80 callwaitingcallerid = yes
81 transfer = yes
82 canpark = yes
83 cancallforward = yes
84 callreturn = yes
85 callgroup = 1
86 pickupgroup = 1
87 ;nat = no
88
89 ;[6000]
90 ;fullname = Joe User
91 ;description = Courtesy Phone In Lobby ; Used to provide a description of the
92 ; peer in console output
93 ;email = [email protected]
94 ;secret = 1234
95 ;dahdichan = 1
96 ;hasvoicemail = yes
97 ;vmsecret = 1234
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