Hi,
I wrote for testing voicemail:
;********************* Users ***********************
[phone1]
type = friend
host = dynamic
dmtfmode = rfc2833
mailbox=9999
context=sip
callerid=“Phone1”
[phone2]
type = friend
host = dynamic
dmtfmode = rfc2833
context=sip
callerid="Phone2"
mailbox=9999
;******************** DIAL PLAN ********************
[sip]
exten => 1000,1,Dial(SIP/phone2,10,tr)
exten => 1000,2,Voicemail,u9999
exten => 1000,102,Voicemail,b9999
; *Voicemail Configuration
9999 => 1001,Toto, toto@totoboite.com
It doesn’t work;Asterisk Console says me:
Executing VoiceMail(“SIP/phone-867f”, “u9999”) in new stack
Warning[17843]: app_voicemail.c:2146 leave_voicemail: mkdir ‘etc/asterisk//voicemail/default//’ failed: No such File or Directory
Thanks to help me!