; ; User configuration ; pro asterisk.kob ; ; 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 ; ****** zrusil jsem ; userbase = 6000 ; ; Create voicemail mailbox and use use macro-stdexten ; ************ bylo tu yes hasvoicemail = no ; ; Set voicemail mailbox 6000 password to 1234 ; vmsecret = 1234 ; ; Create SIP Peer ; hassip = yes ; ; Create IAX friend ; *************** zmena na no hasiax = no ; ; 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 = no type = user host = dynamic disallow = all allow = alaw,ulaw,gsm context = kobylisy register => 298:3141592653589@217.195.162.11 ;[6000] ;fullname = Joe User ;description = Courtesy Phone In Lobby ; Used to provide a description of the ; peer in console output ;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 ; ******************************** ; a tady zacinaji moje pokusy [2102] defaultuser = 2102 cid_number = 2102 fullname = HW tel Po Jarouskovi 192.168.3.17 secret = 3141592 [2103] defaultuser = 2103 cid_number = 2103 fullname = telefon v serverovne secret = ; telefon 192.168.3.12 ma username admin heslo 1234 [2104] defaultuser = 2104 cid_number = 2104 fullname = muj pocitac 192.168.3.7 secret = 3141592 [2903] defaultuser = 2903 cid_number = 2903 fullname = NetStar v Plzni secret = 3141592653589 ; host = 46.13.78.81 ; a podle poznamky v messages jsem zmenil host host = dynamic type = friend [2904] defaultuser = 2904 cid_number = 2904 fullname = Panska secret = 3141592653589 [2905] type = peer defaultuser = 298 cid_number = 298 fullname = Panska secret = 3141592653589 host = 217.195.162.11 [2906] defaultuser = 2906 cid_number = 2906 fullname = Fritz Frystak ; secret = 3141592653589 ; host = dynamic host = 185.86.96.19 ; type = friend