Hello,
at school i do a project, in wich I have to connect 3 clients (1 hardphone and 2 softphones) to an asterisk 14.7 server as a Voip. I try to configure the voicemail.conf to have an answering machine, but the voicemail is not answering. If I type into the CLI “voicemail show users” I always get the Error 4956: Couldn’t find mailbox 300 in context phones.
I’m sorry for my broken English I’m from Germany.
Could somebody help me, please?
This are my Config Fieles:
extensions.conf
[globals]
[general]
[internal]
exten => _XXX,1,Dial(SIP/${EXTEN})
exten => _XX,1,Dial(SIP/${EXTEN})
exten => _XXX,n,Voicemail(u,${EXTEN}@phones)
exten => _XXX,n,Hangup
[phones]
include => internal
################################################
sip.conf
general]
allowguest=no
port = 5060
bindaddr = 0.0.0.0
qualify = no
disable = all
allow = alaw
allow = ulaw
videosupport = yes
dtmfmode = rfc2833
srvlookup = yes
localnet=192.168.1.0/255.255.255.0
directmedia = no
nat = no
avpf=yes
[10]
permit=192.168.1.0/255.255.255.0
type=friend
context=phones
host=dynamic
secret=PASSWORT
[300]
permit=192.168.1.0/255.255.255.0
type=friend
context=phones
host=dynamic
secret=PASSWORT
[301]
permit=192.168.1.0/255.255.255.0
type=friend
context=phones
host=dynamic
secret=PASSWORT
###############################################
voicemail.conf
[general]
searchcontexts=yes
attach=yes
delete=no
format=wav
servermail=redbox@kammerath.net
fromstring = RedBox System
emailsubject = [RedBox] Neue Nachrichten (${VM_MSGNUM}) in Box ${VM_MAILBOX}
emailbody = Hallo ${VM_NAME}!nnEs ist eine neue Nachricht eingetroffen!nnDatum: ${VM$
emaildateformat=%d.%m.%Y %H:%M:%S
mailcmd=/usr/sbin/sendmail -t -f redbox@kammerath.net
[phones]
300 => 111, Markus Meier
301 => 111, Heike Müller
10 => 111, Kaja Kugler