Im trying to grasp asterisk and im doing allright however i need some assistance with setting up voicemail and having all the phones ring at once when someone calls in, Here are my conf files:
Extensions.conf
[globals]
[general]
autofallthrough=yes
[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
[internal]
exten => 500,1,Verbose(1|Echo test application)
exten => 500,n,Echo()
exten => 500,n,Hangup()
exten => 700,1,VoiceMailMain()
exten => 1000,1,Dial(SIP/1000)
exten => 1000,2,Voicemail(1000,u)
exten => 1000,n,Hangup()
exten => 1001,1,Dial(SIP/1001)
exten => 1001,n,Hangup()
exten => 1002,1,Dial(SIP/1001)
exten => 1002,n,Hangup()
exten => 1003,1,Dial(SIP/1001)
exten => 1003,n,Hangup()
exten => 1004,1,Dial(SIP/1001)
exten => 1004,n,Hangup()
exten => 1005,1,Dial(SIP/1001)
exten => 1005,n,Hangup()
exten => 1006,1,Dial(SIP/1001)
exten => 1006,n,Hangup()
exten => 1007,1,Dial(SIP/1001)
exten => 1007,n,Hangup()
[phones]
include => internal
include => outbound
[mycontext]
include => inbound
include => outbound
callerid=> 2xxxxxxxx
[outbound]
exten => _1NXXNXXXXXX,1,SetCallerID(“xxxx”<(xxxxxxxx>)
sip.conf
[general]
register => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[1000]
type=friend ; allows incoming and outgoing calls
username=1000
secret=test838
mailbox=1000
callerid=“FrontDesk” <1000>
host=dynamic
context=phones
[1001]
type=friend
username=1001
secret=test1001
mailbox=1001
callerid="user1"
host=dynamic
context=phones
[1002]
type=friend
username=1002
secret=test1002
mailbox=1002
callerid="user2"
host=dynamic
context=phones
[1003]
type=friend
username=1003
secret=test1003
mailbox=1003
callerid="user3"
host=dynamic
context=phones
[1004]
type=friend
username=1004
secret=test1004
mailbox=1004
callerid="user4"
host=dynamic
context=phones
[1005]
type=friend
username=1005
secret=test1005
mailbox=1005
callerid="user5"
host=dynamic
context=phones
[1006]
type=friend
username=1006
secret=test1006
mailbox=1006
callerid="user6"
host=dynamic
context=phones
[1007]
type=friend
username=1007
secret=test1007
mailbox=1007
callerid="user7"
host=dynamic
context=phones
[xxxx-inbound]
type=friend
dtmfmode=auto
host=xxxxxxxx
context=inbound
username=xxxxxx
secret=xxxxxxx
allow=all
insecure=very
nat=yes
Voicemail.conf
[general]
attach=no
format=wav49|gsm
maxlogins=5
minmessage=1
maxmessage=600
forcename=yes
forcegreetings=yes
maxmsg=100
[zonemessages]
central=America/Chicago|‘vm-received’ Q ‘digits/at’ IMp
[defaul]
1000 => 1111,FrontDesk
1001 => 1111,user1
1002 => 1111,user2
1003 => 1111,user3
1004 => 1111,user4
1005 => 1111,user5
1006 => 1111,user6
1007 => 1111,user7