; ; 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 = 4000 ; ; Create voicemail mailbox and use use macro-stdexten ; hasvoicemail = yes ; ; Set voicemail mailbox 6000 password to 1234 ; vmsecret = 1234 ; ; Create SIP Peer ; hassip = no ; ; Create IAX friend ; hasiax = no ; ; Create H.323 friend ; ;hash323 = yes ; ; Create manager entry ; hasmanager = no ; ; Context to use context = numberplan-custom-1 ; 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 localextenlength = 4 ;[6000] ;fullname = Joe User ;email = joe@foo.bar ;secret = 1234 ;zapchan = 1 ;hasvoicemail = yes ;vmsecret = 1234 ;hassip = yes ;hasiax = no ;hash323 = no ;hasmanager = no ;callwaiting = no ;context = international [trunk_1] context = DID_trunk_1 hasexten = no hasiax = no hassip = no trunkname = *Ports fxo/1,fxo/2,fxo/3,fxo/4 trunkstyle = analog ; FXS Extensions 4001-4005 [4001] call-limit = 100 fullname = Pika fxs1 hasdirectory = no hasiax = no hasmanager = no hassip = no hasvoicemail = yes host = dynamic threewaycalling = yes pikachan = fxs/1 dtmfmode = rfc2833 callwaiting = yes hasagent = yes mailbox = 4001 registeriax = no registersip = no autoprov = no canreinvite = no nat = no context = numberplan-custom-1 deletevoicemail = no vmsecret = 1234 signalling = fxo_ks [4002] call-limit = 100 fullname = Pika fxs2 hasdirectory = no hasiax = no hasmanager = no hassip = no hasvoicemail = yes host = dynamic threewaycalling = yes dtmfmode = rfc2833 callwaiting = yes hasagent = yes mailbox = 4002 pikachan = fxs/2 registeriax = no registersip = no autoprov = no canreinvite = no nat = no context = numberplan-custom-1 deletevoicemail = no vmsecret = 1234 signalling = fxo_ks [4003] call-limit = 100 fullname = Pika fxs3 hasdirectory = no hasiax = no hasmanager = no hassip = no hasvoicemail = yes host = dynamic threewaycalling = yes dtmfmode = rfc2833 callwaiting = yes hasagent = yes mailbox = 4003 pikachan = fxs/3 registeriax = no registersip = no autoprov = no canreinvite = no nat = no context = numberplan-custom-1 deletevoicemail = no vmsecret = 1234 signalling = fxo_ks [4004] call-limit = 100 fullname = Pika fxs4 hasdirectory = no hasiax = no hasmanager = no hassip = no hasvoicemail = yes host = dynamic threewaycalling = yes dtmfmode = rfc2833 callwaiting = yes hasagent = yes mailbox = 4004 pikachan = fxs/4 registeriax = no registersip = no autoprov = no canreinvite = no nat = no context = numberplan-custom-1 deletevoicemail = no vmsecret = 1234 signalling = fxo_ks [4005] call-limit = 100 fullname = Pika fxs5 hasdirectory = no hasiax = no hasmanager = no hassip = no hasvoicemail = yes host = dynamic threewaycalling = yes dtmfmode = rfc2833 callwaiting = yes hasagent = yes mailbox = 4005 pikachan = fxs/5 registeriax = no registersip = no autoprov = no canreinvite = no nat = no context = numberplan-custom-1 deletevoicemail = no vmsecret = 1234 signalling = fxo_ks ; SIP Extensions 4006-4010 [4006] call-limit = 100 callwaiting = yes fullname = Sip1 hasagent = yes hasdirectory = no hasiax = no hasmanager = no hassip = yes hasvoicemail = yes host = dynamic mailbox = 4006 secret = 4006 threewaycalling = no vmsecret = 1234 registeriax = no registersip = yes autoprov = no canreinvite = no nat = no dtmfmode = rfc2833 context = numberplan-custom-1 [4007] call-limit = 100 callwaiting = yes fullname = Sip2 group = hasagent = yes hasdirectory = no hasiax = no hasmanager = no hassip = yes hasvoicemail = yes host = dynamic mailbox = 4007 secret = 4007 threewaycalling = no vmsecret = 1234 registeriax = no registersip = yes autoprov = no canreinvite = no nat = no dtmfmode = rfc2833 context = numberplan-custom-1 [4008] call-limit = 100 callwaiting = yes fullname = Sip3 hasagent = yes hasdirectory = no hasiax = no hasmanager = no hassip = yes hasvoicemail = yes host = dynamic mailbox = 4008 secret = 4008 threewaycalling = no vmsecret = 1234 registeriax = no registersip = yes autoprov = no canreinvite = no nat = no dtmfmode = rfc2833 context = numberplan-custom-1 [4009] call-limit = 100 callwaiting = yes fullname = Sip4 hasagent = yes hasdirectory = no hasiax = no hasmanager = no hassip = yes hasvoicemail = yes host = dynamic mailbox = 4009 secret = 4009 threewaycalling = no vmsecret = 1234 registeriax = no registersip = yes autoprov = no canreinvite = no nat = no dtmfmode = rfc2833 context = numberplan-custom-1 [4010] call-limit = 100 callwaiting = yes fullname = Sip5 hasagent = yes hasdirectory = no hasiax = no hasmanager = no hassip = yes hasvoicemail = yes host = dynamic mailbox = 4010 secret = 4010 threewaycalling = no vmsecret = 1234 registeriax = no registersip = yes autoprov = no canreinvite = no nat = no dtmfmode = rfc2833 context = numberplan-custom-1 [digital_1] trunkname = *Ports digital/1,2,3,4 context = DID_digital_1 ports = 1-4 hasmisdn = yes msns = * trunkstyle = digital