Ok, I have spent all night trying to figure this out, and hopefully somebody has a similar experience.
I have a very basic asterisk config. Sample configs, with the only addition being by SIP phone, and my incoming voip. Last week I got everything setup, calls were working, etc.,.
I cam across a tutorial for voicemail, followed it, and it worked. When I call my phone and dont answer, it goes to voicemail, and message is stored on server.
I created an extension to retrieve the messages:
exten => 1000,1,Ringing
exten => 1000,2,Wait(2)
exten => 1000,3,VoicemailMain
And that worked. Granted, everything is still defaults, so when I dial 1000, I get the “Comedian Mail” greeting, then it prompts for mailbox and password, then I get the menu.
Now, here is how it gets weird. Today I go and setup a new second SIP phone, and proceed to set it up for voicemail. Inbound calls go to voicemail properly when nobody answers, but I cant retrieve the messages.
When I dial extension 1000, its rings for 2 seconds, then just goes silent. No greeting, no mailbox prompts, nothing.
Any ideas what could be going on? I tried tweaking the extension 1000 so it looks like:
exten => 1000,3,VoicemailMain,s6000
Where 6000 is my mailbox. But still nothing, when I dial 1000, it just goes silent. Nothing in message log.
Please help. This is driving me nuts. I even tried re-installing asterisk from scratch - no change.