Actions

Difference between revisions of "$CALL command used in AlphaNet (Event Handler)"

From Zenitel Wiki

(New page: Station 104 in node 2 will be deleted from the queue on 107 in node 3: : @3 $CANM L(2)104 L107 <br\><br\> General expression: The station triggering this event will be deleted from the qu...)
 
 
(18 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Station 104 in node 2 will be deleted from the queue on 107 in node 3:
+
{{AI}}
: @3 $CANM L(2)104 L107
+
The [[CALL SETUP|$CALL]] command can have local station dir. no. (9/x) or a global station dir. no. (83/x) as A-subscriber parameter. If the A-subscriber is a global station dir. no. the whole message will be forwarded to that node, and executed there.
<br\><br\>
+
 
General expression: The station triggering this event will be deleted from the queue on 107 in node 3:
+
This means that the B-subscriber must be defined in that node as a local or global number.
: @3 $CANM L('''%1.nod)%1.dir''' L107
+
 
<br\><br\>
+
Example:
or:
+
* An external data device (PC) is connected to node 1
: @3 $CANM '''%1.ref''' L107
+
* Station 1234 is in node 2
<br\><br\>
+
* Station 5678 is in node 3
Same as above, but the station triggering this event will be deleted from the queue of stations in group 15 (dir no 899) in node 3:
+
 
: @3 $CANM %1.ref '''NG15'''
+
{{Code|$CALL L1234 L5678}}
Same as above, but using dir. No. instead:
+
sets up a call between the stations. Requires that 1234 is defined as global number (83/2) in node 1 and that 5678 is defined as global number (83/3) in node 2
: @3 $CANM %1.ref '''L899'''
+
 
 +
 
 +
 
 +
Alternatively:
 +
{{Code|$CALL L1234 L(3)5678}}
 +
sets up a call between the stations. Requires that: 1234 is defined as global number (83/2) in node 1
 +
 
 +
[[Category: Event Handler]]
 +
[[Category: AlphaNet]]

Latest revision as of 10:58, 1 June 2022

AI.png

The $CALL command can have local station dir. no. (9/x) or a global station dir. no. (83/x) as A-subscriber parameter. If the A-subscriber is a global station dir. no. the whole message will be forwarded to that node, and executed there.

This means that the B-subscriber must be defined in that node as a local or global number.

Example:

  • An external data device (PC) is connected to node 1
  • Station 1234 is in node 2
  • Station 5678 is in node 3
$CALL L1234 L5678


sets up a call between the stations. Requires that 1234 is defined as global number (83/2) in node 1 and that 5678 is defined as global number (83/3) in node 2


Alternatively:

$CALL L1234 L(3)5678


sets up a call between the stations. Requires that: 1234 is defined as global number (83/2) in node 1