def start(self):
     # There is still a race condition here in that the directory can be removed
     # before the PJSIP opens the file. There's nothing that can be done about
     # it as long as PJSIP doesn't accept an already open file descriptor. -Luci
     makedirs(os.path.dirname(self.filename))
     self._recording_wave_file = RecordingWaveFile(self.mixer,
                                                   self.filename)
     self._recording_wave_file.start()
     notification_center = NotificationCenter()
     notification_center.post_notification(
         'AudioPortDidChangeSlots',
         sender=self,
         data=NotificationData(
             consumer_slot_changed=True,
             producer_slot_changed=False,
             old_consumer_slot=None,
             new_consumer_slot=self._recording_wave_file.slot))