Aastra Voicemail XML Script

Has anyone modified the Aastra Voicemail XML Script so that it will disconnect the call and go back to the script if you delete a message while it is still playing? if so, how? or is this an issue only I’m facing?