Hi, I’m having some issues listening to my voicemail on the asterisk server I set up.
I am able to call someone and leavea a voicemail normally.
I am able to dial that persons voicemail extension, and it proceeds to inform me of the voicemails in my account.
I am able to say I want to listen to voicemails, and then it begins to give date/time of the voicemail, then disconnects, without playing the audio file.
The .wav and .gsm and .txt files are located in the /var/spool/asterisk subfolders.
Is there anything specific anyone could tell me to make sure I have formatted correctly?
Here is the basic idea for all my users in sip/voicemail/extensions.
voicemail.conf:
[general]
attach=no
format=wav49|gsm
maxlogins=5
minmessage=1
maxmessage=60
forcename=yes
forcegreeting=yes
maxmsg=100
tz=eastern
[RA]
1111 => Name, email
2222 => Name, email
etc.
sip
[general]
context=default
bindaddr=10.10.10.17
bindport=5060
srvlookup=yes
[Name]
type=friend
username=name
secret=password
host=dynamic
context=lab
mailbox=1110@RA
disallow=all
allow=ulaw
allow=gsm
language=en
and extensions:
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp
IAXINFO=guest
TRUNK=Zap/g2
TRUNKMS1
[lab]
exten =>1111,1,Dial(SIP/name|20)
exten =>1111,2,VoiceMail(1111@RA)
exten =>1111,3,Playback(vm-goodbye)
exten =>1111,4,wait(2)
exten =>1111,5,HangUp()
etc.
include =>voicemail
[voicemail]
exten => 1110,1,Answer()
exten => 1110,2,VoiceMailMain(1111@RA)
exten => 1110,3,HangUp()
etc.