Beispiel #1
0
 # Graphic supported
 if (Aastra_is_pixmap_graphics_supported()) {
     # Image Screen
     require_once 'AastraIPPhoneImageScreen.class.php';
     $object = new AastraIPPhoneImageScreen();
     $object->setDestroyOnExit();
     require_once 'AastraIPPhoneSPImage.class.php';
     $SPimage = new AastraIPPhoneSPImage();
     # Special config
     if ($action == 'playing') {
         if (Aastra_is_lockincall_supported()) {
             $object->setLockinCall();
         } else {
             $object->setLockin();
         }
         $object->setAllowDTMF();
     }
     # Icons for Browse
     if ($action == 'detail') {
         if ($message['next'] != '' and $message['previous'] != '') {
             $SPimage->addIcon('1', '286CEE6C2800');
         } else {
             if ($message['next'] != '') {
                 $SPimage->addIcon('1', '080C0E0C0800');
             }
             if ($message['previous'] != '') {
                 $SPimage->addIcon('1', '2060E0602000');
             }
         }
     }
     # Bitmap on the left