Beispiel #1
0
         break;
     case 'busy':
         $greeting = Aastra_get_label('Busy Greeting', $language);
         break;
     case 'temp':
         $greeting = Aastra_get_label('Temporary Greeting', $language);
         break;
 }
 # Graphic supported
 if (Aastra_is_pixmap_graphics_supported()) {
     # Display image
     require_once 'AastraIPPhoneImageScreen.class.php';
     $object = new AastraIPPhoneImageScreen();
     $object->setDestroyOnExit();
     if (Aastra_is_lockincall_supported()) {
         $object->setLockinCall();
     } else {
         $object->setLockin();
     }
     $object->setallowDTMF();
     require_once 'AastraIPPhoneSPImage.class.php';
     $SPimage = new AastraIPPhoneSPImage();
     # Title
     $SPimage->setText(sprintf(Aastra_get_label('Mailbox %s', $language), $user), 1, 'right', 0);
     # Bitmap on the left
     if ($cause == 'record') {
         $SPimage->setBitmap('recording', 3, 1);
         $SPimage->setText(Aastra_get_label('Recording...', $language), 3, 'left', 4);
     } else {
         $SPimage->setBitmap('playing', 3, 1);
         $SPimage->setText(Aastra_get_label('Playing...', $language), 3, 'left', 4);