Hello,
I am having the following issue with my voicemail server.When i call an extension, it plays severak messages informing me user is unavailable and to leave a message after the beep , plays the beep and after 3 seconds or so quits, with me not pressing any key.Also , i receive new voicemail notification but it just plays a timestamp , with no voice recorded. I am attaching my configuration:
sip.conf:
[general]
transport=udp
friends_internal
type=peer
host=dynamic
context=friends_internal
dtmfmode=info
disallow=all
allow=alaw
allow=gsm
demo1
secret=parola1
callerid=“Codrut1”<6001>
mailbox=6001@friends_internal
demo2
secret=parola1
mailbox=6002@friends_internal
demo3
secret=parola1
mailbox=6003@friends_internal
demo4
secret=parola1
mailbox=demo4@friends_internal
group1
secret=parola1
group2
secret=parola1
group3
secret=parola1
group4
secret=parola1
extensions.conf:
[friends_internal]
exten => 6001,1,Dial(SIP/demo1,5)
exten => 6001,2,VoiceMail(6001@friends_internal,u)
exten => 6001,n,HangUp()
exten => 6002,1,Dial(SIP/demo2,5)
exten => 6002,2,VoiceMail(6002@friends_internal,u)
exten => 6002,n,HangUp()
exten => 6003,1,Dial(SIP/demo3,5)
exten => 6003,2,VoiceMail(6003@friends_internal,u)
exten => 6003,n,HangUp()
;exten => 6004,1,Dial(SIP/demo4,5)
;exten => 6004,2,VoiceMail(demo4@friends_internal)
;exten => 6004,n,HangUp()
exten => 3001,1,Answer(500)
exten => 3001,2,VoiceMailMain(6001@friends_internal)
exten => 3001,n,HangUp()
exten => 3002,1,Answer()
exten => 3002,2,VoiceMailMain(@friends_internal)
exten => 3002,n,HangUp()
exten => 3003,1,Answer()
exten => 3003,1,VoiceMailMain(demo3@friends_internal)
exten => 3003,n,HangUp()
;exten => 3004,1,Answer()
;exten => 3004,2,(@friends_internal)
;exten => 3004,n,HangUp()
exten => 5001,1,Dial(SIP/group1,5)
exten => 5002,1,Dial(SIP/group2,5)
exten => 5003,1,Dial(SIP/group3,5)
exten => 5004,1,Dial(SIP/group4,5)
exten => 6004,1,Wait(5)
exten => 6004,n,Answer
exten => 6004,n,Set(TIMEOUT(digit)=5)
exten => 6004,n,SET(TIMEOUT(response)=10)
exten => 6004,n(instruct),Background(hello-world)
exten => 6004,n,WaitExten
exten => 1,1,Dial(SIP/group1,10)
exten => 2,1,Dial(SIP/group2,10)
exten => 3,1,Dial(SIP/group3,10)
exten => 4,1,Dial(SIP/group4,10)
exten => 5,1,Dial(SIP/group1,5)
exten => 5,2,Dial(SIP/group2,5)
exten => 5,3,Dial(SIP/group3,5)
exten => 5,4,Dial(SIP/group4,5)
exten => 5,5,HangUp()
voicemail.conf
format=wav49|gsm|wav
serveremail=asterisk
attach=yes
skipms=3000
maxsilence=15
silencethreshold=128
maxlogins=3
emaildateformat=%A, %B %d, %Y at %r
pagerdateformat=%A, %B %d, %Y at %r
attach=yes
attachfmt=wav49
sendvoicemail=yes
[friends_internal]
6001 => 1234,demo1 Mailbox,myemail@gmail.com
6002 => 1234,demo2 Mailbox,myemail@gmail.com
6003 => 1234,demo3 Mailbox,myemail@gmail.com
6004 => 1234,demo4 Mailbox,myemail@gmail.com