5.2.9. Events
[Overview]
Events are an object to catch events.
The trigger of Events is raised from following cases:
- Normal Event: Respond to a user operation for components.
An event can have some "Actions".
Action is an object to define a process for an event.
An event can have the plural Actions. Each Action is sequentially executed. (The maximum actions allowed
to 5, per event.)
[Definition]
System Event: This is issued when
call state changed to talking state.
Get request to web server.
Call to specified phone number.
This element is the same as ‘Enable
Application’. c.f.) 4.1.
The phone will reboot after changing.
Execute “Cancel” key operation.
Don’t display “Missed Call:XX”
System Event: This is issued when a
call is hang up.
Same Child elements of "OnTalking".
This is issued when Key is pressed.
Same Child elements of "OnTalking".
This is issued when Timer expired.
Same Child elements of "OnTalking".
[Syntax]
1. Event which caused by operation of menu and soft keys.
<ppxml
xmlns="http://panasonic/sip_phone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_phone sip_phone.xsd">
<Screen version="3.0>
<!—Display Menu Item and assign function to FF Keys and Soft Keys -->
<Menu name="MainMenu" area="Phone">
<MenuItems>
<MenuItem name="Item1" text="123" selected="true" id="1">
<Events>
<OnClicked>
<AnswerCall />
</OnClicked>
</Events>
</MenuItem>