Polycom EX Guía Del Software
System Commands
© Polycom, Inc.
123
listen
Description
This command registers the shell session to listen for incoming video calls,
POTS phone calls, or system sleep or awake state and to give notification
when an event occurs to the registered parameter.
POTS phone calls, or system sleep or awake state and to give notification
when an event occurs to the registered parameter.
Syntax
listen <phone|video|sleep> [off]
Example 1
listen sleep
returns information similar to this:
listen sleep registered
Acknowledgment that the session is now registered to listen for sleep mode.
listen going to sleep
Notification of event: the system is going to sleep mode.
listen waking up
Notification of event: the system is waking up.
Example 2
listen sleep off
unregisters the sleep command.
Parameter
Definition
phone
Instructs the session to listen for incoming phone calls.
When this event occurs, the message “listen audio
ringing” is received.
When this event occurs, the message “listen audio
ringing” is received.
video
Instructs the session to listen for incoming video calls.
When this event occurs, the message “listen video
ringing” is received.
When this event occurs, the message “listen video
ringing” is received.
sleep
Instructs the session to listen when the system goes
into sleep mode. When this event occurs, the message
“listen going to sleep” is received. When the system
wakes up, the message “listen wake up” is received.
into sleep mode. When this event occurs, the message
“listen going to sleep” is received. When the system
wakes up, the message “listen wake up” is received.
off
Unregisters the listen command.
Note: To register the listen command again, use the
same command without the “off” parameter.
same command without the “off” parameter.