Voicemail problem


#1

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!


#2

Try:

[sip]
exten => 1000,1,Dial(SIP/phone2,10,tr)
exten => 1000,2,Voicemail(u9999)
exten => 1000,102,Voicemail(b9999)


#3

hi and thanks to reply,

I’ve try your suggestion but the result is the same.

Do you now if there is a config file where i can indicate the voicemail path?


#4

Hello,
I have the same problem with an Asterisk installed on a Ubuntu 5.10.
Perhaps it’s a right problem (but i run asterisk with the sudo command)

If someone have had the same problem and resolve it, il need you :smile: