Actions

Difference between revisions of "EXECUTE COMMAND"

From Zenitel Wiki

 
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| border="1" align=left
+
{{AI}}
 +
{| border="1"
 
|-
 
|-
 
!style="background:#ffdead;" width="90pt" colspan="2"|EXECUTE_COMMAND
 
!style="background:#ffdead;" width="90pt" colspan="2"|EXECUTE_COMMAND
 
!style="background:#ffdead;" width="100pt"|0x004F
 
!style="background:#ffdead;" width="100pt"|0x004F
 
!style="background:#ffdead;" width="30pt"|79
 
!style="background:#ffdead;" width="30pt"|79
!style="background:#ffdead;" width="100pt"|AMC 07.60
+
!style="background:#ffdead;" |AMC 07.60
 
|-
 
|-
|colspan="5"|Send a command string to the exchange to be executed there.  The command string can either be a [[AlphaNet Data Protocol#Message Formats - Grouped by Function|DP message]] ($something), or an [[AMC]] built-in action ([[MPP]]).  Application:<br\>- Activate [[Event Handler#built-in commands|built-in command]]s via AlphaNet, e.g. start paging in another node<br\>- A PC-based [[Call Handler]] can have user-configurable “scripts” in [[Simple Link Layer]] ([[ASCII]]( format which can be sent to the exchange using a reliable binary protocol.<br\>- “Super-RIO”:  An external hardware unit with alarm inputs can be configured internally with actions identical to those used in RCI/Events. Just send them to the exchange for execution
+
|colspan="2"|'''$X "ASCII Command string"'''<br>'''@4 $X "RCO 2 ON"'''<br>'''@3 $X 'MPP 2 0 "Alarm"'||colspan="3"|  <br><br>''Turn on RCO 2 in node 4''<br>''Send 'Alarm' to pocket pager 2 in node 3.'' <br> (The @ node number is in HEX format.)
 
|-
 
|-
|1||[[UINT1]][0...n]||colspan="3"|String to be executed. Delimited by end of message. <br\>$X:  If the string contains double quotes (“) they can be replaced by single (‘)
+
|colspan="5"|Send a command string to the exchange to be executed there.  The command string can either be a [[AlphaNet Data Protocol#Message Formats - Grouped by Function|DP message]] ($something), or an [[AMC]] built-in action ([[MPP]]). 
 +
 
 +
Application:<br>- Activate [[Event Handler#built-in commands|built-in command]]s via AlphaNet, e.g. start paging in another node<br>- A PC-based Call Handler can have user-configurable “scripts” in [[Data link layer#Stentofon Simple Link Layer|Simple Link Layer]] (ASCII) format which can be sent to the exchange using a reliable binary protocol.<br>- “Super-RIO”:  An external hardware unit with alarm inputs can be configured internally with actions identical to those used in RCI/Events.  Just send them to the exchange for execution
 +
|-
 +
|1||[[UINT1]][0...n]||colspan="3"|String to be executed. Delimited by end of message. <br>$X:  If the string contains double quotes (“) they can be replaced by single (‘)
 
|-
 
|-
 
|}
 
|}
 +
 +
[[Category: ACDP messages]]
 +
[[Category: DP Commands]]
 +
[[AlphaNet_Data_Protocol#General_Exchange_Control|Back to AlphaNet message list]]

Latest revision as of 14:16, 6 July 2022

AI.png
EXECUTE_COMMAND 0x004F 79 AMC 07.60
$X "ASCII Command string"
@4 $X "RCO 2 ON"
@3 $X 'MPP 2 0 "Alarm"'


Turn on RCO 2 in node 4
Send 'Alarm' to pocket pager 2 in node 3.
(The @ node number is in HEX format.)
Send a command string to the exchange to be executed there. The command string can either be a DP message ($something), or an AMC built-in action (MPP).

Application:
- Activate built-in commands via AlphaNet, e.g. start paging in another node
- A PC-based Call Handler can have user-configurable “scripts” in Simple Link Layer (ASCII) format which can be sent to the exchange using a reliable binary protocol.
- “Super-RIO”: An external hardware unit with alarm inputs can be configured internally with actions identical to those used in RCI/Events. Just send them to the exchange for execution

1 UINT1[0...n] String to be executed. Delimited by end of message.
$X: If the string contains double quotes (“) they can be replaced by single (‘)

Back to AlphaNet message list