**Newbie** Assistance with Voicemail and all phones ringing

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

all phones is simple; just do this
exten => s,1,Dial(SIP/1000&SIP/1001&SIP/1002&SIP/1003&SIP/1004&SIP/1005&SIP/1006&SIP/1007,20,iKkTt)

What is your voicemail problem?

Thanks…Will this go under the extensions.conf file? If so should i just add it under [internal] anywhere? The question i have about voicemail, heres what i need to have it do. Someone calls…No one picks up…call enters general mailbox, say extension 1000, Frontdesk. That for starters, then need to have all extensions have there own mailbox. Sorry im just starting on the road to asterisk but the voicemail piece has me a bit confused.

Here’s a simple dialplan that will do about what you want
put in the [default] section of extensions.conf

exten => s,1,Answer
exten => s,2,Dial(SIP/1000…) use the dial from my other post
exten => s,3,Voicemail(1000@default)
exten => s,4,playback(vm-goodbye)
exten => s,5,hangup

then you’ll need to setup [macro-stdexten] to do something like this
exten => s,1,Dial(SIP/${ARG1},20,iKkTt)
exten => s,2,Voicemail(${EXTEN}@default)
exten => s,3,playback(vm-goodbye)
exten => s,4,hangup

Replace this in [internal]
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()

with

exten => 1XXX,1,Dial(SIP/${EXTEN},20)
exten => 1XXX,2,Voicemail(${EXTEN}@default)
exten => 1XXX,3,playback(vm-goodbye)
exten => 1XXX,4,hangup

Ok…Thanks. Little lost on the "need to setup [macro-stdexten] "

if you did the thing in the 19:46 email, you can forget the macro thing.

Thanks sethsdad0627…Youve been a big help.

ok…when i “dialplan reload” im getting:

WARNING[2690]: pbx.c:6347 ast_context_verify_includes: Context ‘mycontext’ tries to include nonexistent context ‘inbound’

Help?

Nevermind…My fault, disregard the last post.

Do i need to do anything to the voicemail.conf?

Here it is:

[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

[default]
1000 => 1234,xxxx
1001 => 1234,xxxx
1002 => 1234,xxxx
1003 => 1234,xxxx
1004 => 1234,xxxx
1005 => 1234,xxxx
1006 => 1234,xxxx
1007 => 1234,xxxx

Also getting this;

app_voicemail.c:4011 leave_voicemail: No entry in voicemail config file for ‘1000’

voicemail reads users.conf

you need an entry for each user that needs voicemail like this
[1000]
username=1000
mailbox=1000

you can also assign a password like
vmsecret=1234