"No entry in voicemail config file for 311"


#1

I am starting out with Asterisk and have googled this and searched it here but to no avail… I get this error in the CLI when I try to call this extension but I think I actually do have it in the voicemail.conf file. I can get this problem to go away by adding a line in voicemail.conf under the “default” context but I don’t want it in the “default” context - I want it in the “incoming” context.

My extensions.conf:
[incoming]
…other stuff…
exten=>open,1,Dial,sip/311|13
exten=>open,2,Dial,playback, nothere
exten=>open,3,voicemail,311

Sip.conf:
[311]
type=friend
context=incoming
host=dynamic
mailbox=311@incoming
…other stuff…

Voicemail.conf
[incoming]
311=>311,John Jasper,jjasper@mail.com

I can’t even get a “incoming” directory to get created in /var/spool/asterisk/voicemail - how does that get created?

the only thing I get is /var/spool/asterisk/voicemail/default/

Can someone give me a direction to look?

Thanks