Programming - Send Commands
108
Modero G5 Touch Panels - Configuration and Programming
SIP Send Commands
The following table lists and describes SIP commands that are generated from the touch panel.
SIP Send Commands
^PHN-AUTOANSWER
Provides the state of the auto-answer feature.
Syntax:
"'^PHN-AUTOANSWER,<state>'"
Variable:
state = 0 or 1 (off or on)
Example:
SEND_COMMAND Panel,"'^PHN-AUTOANSWER,1'"
^PHN-CALL
Provides call progress notification for a call.
Syntax:
"'^PHN-CALL,<status>,<connection id>'"
Variable:
status = CONNECTED, DISCONNECTED, TRYING, RINGING, or HOLD.
connection id = The identifying number of the connection.
Example:
SEND_COMMAND Panel"'^PHN-CALL,CONNECTED,1'"
Notifies that the call is connected.
^PHN-DECLINE
Declines the incoming call on <CallID> as indicated from the previous message.
Decline (send to voice mail if configured) the incoming call on <CallID> as indicated from the
previous PHN-INCOMING message. CallID should be 0 or 1.
Syntax:
"'^PHN-DECLINE,<CallID>'"
Variable:
CallID = The identifying number of the connection.
Example:
SEND_COMMAND Panel,"'^PHN-DECLINE,0'"
^PHN-INCOMING
Provides incoming call notification and the connection ID used for all future commands related
to this call. The connection id will be 0 or 1.
Syntax:
"'^PHN-INCOMING,<caller number>,<caller name>,<connection id>,
<timestamp>, '"
Variable:
caller number = The phone number of the incoming call.
caller name = The name associated with the caller number.
connection id = The identifying number of the connection.
timestamp = The current time in MM/DD/YY HH:MM:SS format.
Example:
SEND_COMMAND Panel,"'^PHN-INCOMING,2125551000,AMX,07/22/08 12:00:00,1'"
^PHN-LINESTATE
Indicates the current state of each of the available connections used to manage calls.
Syntax:
"'^PHN-LINESTATE,<connection id>,<state>,<connection id>,<state>,...'"
Variable:
connection id = The identifying number of the connection.
state = IDLE, HOLD, or CONNECTED
extn = The local extension of this panel (see Example)
Example:
SEND_COMMAND Panel,"'^PHN-LINESTATE,1,IDLE,2,CONNECTED,SIP,<extn>'"
Содержание Modero G5
Страница 58: ...Settings Menu 48 Modero G5 Touch Panels Configuration and Programming ...
Страница 62: ...Gestures 52 Modero G5 Touch Panels Configuration and Programming ...
Страница 66: ...MXA MP and MXA MPL Programming 56 Modero G5 Touch Panels Configuration and Programming ...
Страница 138: ...Appendix B Bargraph Functions 128 Modero G5 Touch Panels Configuration and Programming ...
Страница 143: ...Appendix C Video Streaming Troubleshooting 133 Modero G5 Touch Panels Configuration and Programming ...