Use the create_vm_state_from_user function in a place where
authorMark Michelson <mmichelson@digium.com>
Wed, 17 Dec 2008 17:52:50 +0000 (17:52 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 17 Dec 2008 17:52:50 +0000 (17:52 +0000)
commitd0671d8d30dde25191dfd8e708f8284435b63341
tree716a0d8c7fa500d5b802c719d098c18f5ff2d6a8
parentcacecc2971d8ae70b7a661f363fcd393e14b4314
Use the create_vm_state_from_user function in a place where
it was not being used before. Also, I've moved the urgent
folder check in messagecount() up a bit so that the flow is
a bit better.

This was something I noticed while taking a look at issue
#13973, although I don't think this is the underlying cause
of the issue.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c