Index: apps/app_voicemail.c =================================================================== --- apps/app_voicemail.c (revision 71064) +++ apps/app_voicemail.c (working copy) @@ -3127,7 +3168,7 @@ pbx_builtin_setvar_helper(chan, "VM_MESSAGEFILE", "IMAP_STORAGE"); /* Check if mailbox is full */ - if (vms->quota_limit && vms->quota_usage >= vms->quota_limit) { + if (vms && vms->quota_limit && vms->quota_usage >= vms->quota_limit) { ast_debug(1, "*** QUOTA EXCEEDED!! %u >= %u\n", vms->quota_usage, vms->quota_limit); ast_play_and_wait(chan, "vm-mailboxfull"); return -1; @@ -3158,6 +3199,15 @@ goto leave_vm_out; }