FREEPBX-6914 - don't call notification before we create an notification object