'Avaya ERS presents the following as part of the login process:
Enter Ctrl-Y to begin.'

def special_login_handler(self, delay_factor=1):

    delay_factor = self.select_delay_factor(delay_factor)
    output = u''
    i = 0
    while (i <= 12):
        output = self.read_channel()
        if output:
            if (u'Ctrl-Y' in output):
                self.write_channel(CTRL_Y)
            if (u'sername' in output):
                self.write_channel((self.username + u'\n'))
            elif (u'ssword' in output):
                self.write_channel((self.password + u'\n'))
                break
            time.sleep((0.5 * delay_factor))
        else:
            self.write_channel(u'\n')
            time.sleep((1 * delay_factor))
        i += 1
