45
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]
Child
Element 1
Child
Element 2
Attributes
Value
m/o
Functionality
On Talking
o
System Event: This is issued when
call state changed to talking state.
SendRequest
o
Get request to web server.
url
Url
m
Max. 511 characters
MakeCall
o
Call to specified phone number.
number
Phone number
0 - 9
、
#
、
*
m
1~32 digits
AnswerCall
o
Answer incoming call.
HangupCall
o
Hang-up the call.
SetXmlMode
o
This element is the same as
‘Enable
Application’.
The phone will reboot after changing.
mode
on/off
m
Reboot
o
Reboot the phone.
CancelKey
o
Execute
“Cancel” key operation.
MissedCallOff
o
Don
’t display “Missed Call:XX”
OnHungup
o
System Event: This is issued when a
call is hang up.
Same Child elements of "OnTalking".
o
OnClicked
o
This is issued when Key is pressed.
Same Child elements of "OnTalking".
o
OnExpired
o
This is issued when Timer expired.
Same Child elements of "OnTalking".
o
[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>
Summary of Contents for TGP600
Page 68: ...64 End of doc ...