ERROR[-1]: app_voicemail.c:2836 inboxcount2: Couldn't find mailbox in context


#1

I have upgraded Asterisk from an old 11.x based system to 13.x.

Everything works except I get this errors for the voicemail when users connecting.

ERROR[-1]: app_voicemail.c:2836 inboxcount2: Couldn’t find mailbox 2001 in context …

I have tried to put the voicemails into both the DEFAULT and custom (home) group like:

[home]
2001 => 1111,test1,test1@company.com
2008 => 1111,test2,test2@company.com

sip.conf for users:

[210]
canreinvite=yes
videosupport=yes
type=friend
host=dynamic
secret=bigsecret
context=home
mailbox=2001
deny=0.0.0.0/0
permit=10.0.0.0/255.0.0.0;
disallow=all
allow=g722
allow=speex
allow=ulaw
allow=alaw
allow=h261
allow=h263
allow=h263p
allow=h264
insecure=invite,port

Always the same results, I even went back to factory voicemail.conf and append it in the end.

I don’t want to use pjsip or any new voicemail just want the old system working.


#2
[210]
mailbox=2001@home