break; case '2': $object = new AastraIPPhoneInputScreen(); $object->setTitle(Aastra_get_label('Initial Startup', $language)); $object->setPrompt(Aastra_get_label('Enter password', $language)); $object->setParameter('password'); if ($AA_FREEPBX_MODE == '1') { $object->setType('number'); } else { $object->setType('string'); } $object->setPassword(); $object->setURL($XML_SERVER . '&action=input&step=3&extension=' . $extension); $object->setDestroyOnExit(); if (Aastra_is_lockin_supported()) { $object->setLockIn(); if ($nb_softkeys == 6) { $object->addSoftkey('3', Aastra_get_label('Reboot', $language), $XML_SERVER . '&action=reboot'); } else { $object->addSoftkey('6', Aastra_get_label('Reboot', $language), $XML_SERVER . '&action=reboot'); } } if ($nb_softkeys == 6) { $object->addSoftkey('1', Aastra_get_label('Backspace', $language), 'SoftKey:BackSpace'); if ($AA_FREEPBX_MODE == '2') { $object->addSoftkey('2', Aastra_get_label('ABC', $language), 'SoftKey:ChangeMode'); } $object->addSoftkey('6', Aastra_get_label('Submit', $language), 'SoftKey:Submit'); } break; case '3':