VMSTATUS not available under most circumstances

Hi,

I’m using asterisk 1.4.18 and have observed the following:

When Voicemail() is executed and the call goes successfully to the voicemail box, VMSTATUS is only available when the user teminated the recording by pressing “#”. In all other circumstances (hung up before leaving a message, hung up after leaving a message), VMSTATUS is not available as the call is terminated directly.

If you add a line

NoOp(VMSTATUS is ${VMSTATUS} directly after the voicemail command, you will see it only if the voicemail is exited after leaving a message and pressing “#”.

It look as though the hangup stops the execution of the dialplan.

Kind Regards,

Christian