cedtfc
1
Hello,
I try to install a voicemail on my phone park but it doesn’t work…
sip.conf :
[305]
username=305
type=friend
secret=1111
record_out=Adhoc
record_in=Adhoc
qualify=no
port=5060
nat=never
mailbox=305@default
host=dynamic
dtmfmode=rfc2833
context=default
canreinvite=no
callerid=device <305>
voicemail.conf :
305 => 4242,cedric,myemail,attach=yes|saycid=yes|envelope=yes|delete=no|nextaftercmd=yes
extensions.conf :
[default]
exten => 305,1,Dial,(${SIP/305},40,t)
exten => 305,2,Answer()
exten => 305,3,Voicemail,304
exten => 305,4,Hangup()
Is this configuration correct?
I think I miss something…
Can you help me please???
Thanks
I do not see a voicemail box for user 304 in voicemail.conf
you would have to create the voicemail box first.
Then…
I think that you only need the ${something} when calling variables…
shouldnt it be
exten=> 305,1,Dial,(SIP/305,40,t)
not
exten => 305,1,Dial,(${SIP/305},40,t)
and
exten=> 305,3,Voicemail(304@default)
not
exten => 305,3,Voicemail,304
Granted I am new to this and could be wrong, but I compaired it to working parts of my dialplan…
If I am wrong, … Sorry!
cedtfc
3
I think you’re right…
I changed my conf but it doesn’t work again…
is that a typo in your OP ? you are attempting to send the call to mailbox 304.
output from your log file is always going to be useful here, almost as much as following the dialplan coding conventions !
cedtfc
7
I made a mistake, mailbox number is 305…
try Voicemail(u305) - that will specifically use the unavailable message…
works for us, anyway.