Specifications

PA-001011-03-04 Aastra July 2014
285
o type enum ("alert") optional
o timeout integer (seconds) optional
o uri string (6739i only, optional)
o icon integer (6739i only, optional)
Example
require_once('AastraIPPhoneStatus.class.php');
$status = new AastraIPPhoneStatus();
$status->setSession('Session');
$status->addEntry('1','Message 1');
$status->addEntry('2','Alert Message',’alert’,5);
$status->output();
Output
Alert Message
Message 1
Displayed for 5s
13.10 AastraIPPhoneTextMenu()
This class allows you to create a XML TextMenu object.
Include
AastraIPPhoneTextMenu.class.php
Methods
setTitle(title) to setup the title of an object (optional)
o title string
setCancelAction(uri) to set the cancel parameter with the URI to be called on Cancel
(optional)
o uri string
setDestroyOnExit() to set DestroyonExit parameter to 'yes', 'no' by default (optional)
setBeep() to enable a notification beep with the object (optional)
setLockIn(uri) to set the Lock-in tag to 'yes' and the GoodbyeLockInURI (optional)
o uri string, GoodByeLockInURI
setAllowAnswer() to set the allowAnswer tag to 'yes' (optional)
setAllowDrop() to set the allowDrop tag to 'yes' (optional)
setAllowXfer() to set the allowXfer tag to 'yes' (optional)