238 lines
3.8 KiB
Plaintext
238 lines
3.8 KiB
Plaintext
;
|
|
; User configuration
|
|
;
|
|
; Creating entries in users.conf is a "shorthand" for creating individual
|
|
; entries in each configuration file. Using users.conf is not intended to
|
|
; provide you with as much flexibility as using the separate configuration
|
|
; files (e.g. sip.conf, iax.conf, etc) but is intended to accelerate the
|
|
; simple task of adding users. Note that creating individual items (e.g.
|
|
; custom SIP peers, IAX friends, etc.) will allow you to override specific
|
|
; parameters within this file. Parameter names here are the same as they
|
|
; appear in the other configuration files. There is no way to change the
|
|
; value of a parameter here for just one subsystem.
|
|
;
|
|
|
|
[general]
|
|
;
|
|
; Full name of a user
|
|
;
|
|
fullname = New User
|
|
;
|
|
; Starting point of allocation of extensions
|
|
;
|
|
userbase = 6000
|
|
;
|
|
; Create voicemail mailbox and use use macro-stdexten
|
|
;
|
|
hasvoicemail = yes
|
|
;
|
|
; Set voicemail mailbox 6000 password to 1234
|
|
;
|
|
vmsecret = 84806000
|
|
;
|
|
; Create SIP Peer
|
|
;
|
|
hassip = yes
|
|
;
|
|
; Create IAX friend
|
|
;
|
|
hasiax = yes
|
|
;
|
|
; Create H.323 friend
|
|
;
|
|
;hash323 = yes
|
|
;
|
|
; Create manager entry
|
|
;
|
|
hasmanager = no
|
|
;
|
|
; Set permissions for manager entry (see manager.conf.sample for documentation)
|
|
; (defaults to *all* permissions)
|
|
;managerread = system,call,log,verbose,command,agent,user,config
|
|
;managerwrite = system,call,log,verbose,command,agent,user,config
|
|
;
|
|
;
|
|
; MAC Address for res_phoneprov
|
|
;
|
|
;macaddress = 112233445566
|
|
;
|
|
; Auto provision the phone with res_phoneprov
|
|
;
|
|
;autoprov = yes
|
|
;
|
|
; Line Keys for hardphone
|
|
;
|
|
;LINEKEYS = 1
|
|
;
|
|
; Line number for hardphone
|
|
;
|
|
;linenumber = 1
|
|
;
|
|
; Local Caller ID number used with res_phoneprov and Asterisk GUI
|
|
;
|
|
;cid_number = 6000
|
|
;
|
|
; Remaining options are not specific to users.conf entries but are general.
|
|
;
|
|
callwaiting = yes
|
|
threewaycalling = yes
|
|
callwaitingcallerid = yes
|
|
transfer = yes
|
|
canpark = yes
|
|
cancallforward = yes
|
|
callreturn = yes
|
|
callgroup = 1
|
|
pickupgroup = 1
|
|
;nat = yes
|
|
directrtpsetup=yes
|
|
nat = comedia
|
|
dtmfmode = auto
|
|
canreinvite=nonat
|
|
|
|
;[6000]
|
|
;fullname = Joe User
|
|
;email = joe@foo.bar
|
|
;secret = 1234
|
|
;dahdichan = 1
|
|
;hasvoicemail = yes
|
|
;vmsecret = 1234
|
|
;hassip = yes
|
|
;hasiax = no
|
|
;hash323 = no
|
|
;hasmanager = no
|
|
;callwaiting = no
|
|
;context = international
|
|
;
|
|
; Some administrators choose alphanumeric extensions, but still want their
|
|
; users to be reachable by traditional numeric extensions, specified by the
|
|
; alternateexts entry.
|
|
;
|
|
;alternateexts = 7057,3249
|
|
;macaddress = 112233445566
|
|
;autoprov = yes
|
|
;LINEKEYS = 1
|
|
;linenumber = 1
|
|
;cid_number = 6000
|
|
|
|
[7000]
|
|
username=7000
|
|
type=friend
|
|
secret=85518008
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7000
|
|
qualify=yes
|
|
|
|
[7010]
|
|
username=7010
|
|
secret = 7010
|
|
context = fgcom
|
|
type=friend
|
|
host=dynamic
|
|
cid_number = 7010
|
|
callerid = 7010
|
|
qualify=yes
|
|
|
|
[7777]
|
|
username=7777
|
|
type=friend
|
|
secret=7777
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7777
|
|
qualify=yes
|
|
|
|
[7778]
|
|
username=7778
|
|
type=friend
|
|
secret=7778
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7778
|
|
qualify=yes
|
|
|
|
[7020]
|
|
username=7020
|
|
type=friend
|
|
secret=7020
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7020
|
|
qualify=yes
|
|
|
|
[7001]
|
|
username=7001
|
|
type=friend
|
|
secret=meikahdo7zi1Kee1
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7001
|
|
qualify=yes
|
|
|
|
[7002]
|
|
username=7002
|
|
type=friend
|
|
secret=ooneepo7ahkaeFa4
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7002
|
|
qualify=yes
|
|
|
|
[7003]
|
|
username=7003
|
|
type=friend
|
|
secret=AhYariquur8ethee
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7003
|
|
qualify=yes
|
|
|
|
[7005]
|
|
username=7005
|
|
type=friend
|
|
secret=7005
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7005
|
|
qualify=yes
|
|
;nat = comedia
|
|
|
|
[7006]
|
|
username=7006
|
|
type=friend
|
|
secret=7006
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7006
|
|
qualify=yes
|
|
|
|
[7007]
|
|
username=7007
|
|
type=friend
|
|
secret=7007
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7007
|
|
qualify=yes
|
|
;nat = comedia
|
|
|
|
[7008]
|
|
username=7008
|
|
type=friend
|
|
secret=luoyuan7008
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7008
|
|
qualify=yes
|
|
|
|
[7009]
|
|
username=7009
|
|
type=friend
|
|
secret=liuxiaofeng7009
|
|
host=dynamic
|
|
context=fgcom
|
|
callerid=7009
|
|
qualify=yes
|
|
|
|
|