UC-1311: Cook crashes when send to voicemail is not supported

* Return appropriate error in gen_media when handle_voicemail is not
  exported