According to http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+VoiceMail, voicemail will return the following results SUCCESS | USEREXIT | FAILED.
but it does not if user hangs up after leaving voicemail.
MOST PEOPLE IN THE WORLD HANG UP. so asking them to press # will not do.
I get:
[Dec 11 12:32:42] VERBOSE[30770] logger.c: – User hung up
[Dec 11 12:32:42] VERBOSE[30770] logger.c: == Spawn extension (leave_voicemail, s, 1) exited non-zero on ‘SIP/102-093c1e18’
this sounds like a bug to me.