I followed this tutorial (fatofthelan.com/articles/articles.php?pid=26) to setup asterisk and all is working well. People can call and leave voicemail and I can check it while on the system, but how do I check it remotely?
Any help would be very appreciated!
[code]extentions.conf
[general]
static=yes
writeprotect=no
[default]
; Echo test - dial 600
exten => 600,1,Playback(demo-echotest)
exten => 600,2,Echo
exten => 600,3,Playback(demo-echodone)
exten => 600,4,Goto(s,6)
; Dial 2999 for voicemail
exten => 2999,1,Ringing
exten => 2999,2,VoicemailMain,s2000
; Dial out - dial 9 for external line
exten => _9.,1,SetCallerID(xxxxxxxxxx)
exten => _9.,2,Dial(SIP/${EXTEN:1}@sip.broadvoice.com)
; Incoming calls
exten => xxxxxxxxxx,1,Dial(SIP/2000,15,tTr)
exten => xxxxxxxxxx,n,Voicemail,u2000
exten => xxxxxxxxxx,102,Voicemail,b2000
exten => xxxxxxxxxx,103,Hangup
exten => 2000,1,Dial(SIP/2000)
exten => 2000,2,Voicemail,u2000
exten => 2001,1,Dial(SIP/2001)
exten => 2001,2,Voicemail,u2001
sip.conf
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all ; Dis-allow all codecs
allow=ulaw
allow=alaw
maxexpirey=3600
defaultexpirey=120
contex=default
pedantic=no
register => xxxxxxxxxx@sip.broadvoice.com:password:xxxxxxxxxx@sip.broadvoice.com/2000
[sip.broadvoice.com]
type=peer
user=phone
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=xxxxxxxxxx
secret=password
username=xxxxxxxxxx
insecure=very
context=default
authname=xxxxxxxxxx
dtmfmode=inband
dtmf=inband
;Disable canreinvite if you are behind a NAT
canreinvite=no
[2000]
type=friend
secret=password
mailbox=2000
canreinvite=no
context=default
insecure=very
host=dynamic
nat=no
username=2000
[2001]
type=friend
secret=password
mailbox=2001
canreinvite=yes
context=default
insecure=very
host=dynamic
nat=no
username=2001
[/code]