Actions

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

From Zenitel Wiki

Line 2: Line 2:
  
 
Example:
 
Example:
- An external data device (PC) is connected to node 1  
+
- An external data device (PC) is connected to node 1 <br\>- Station 1234 is node 2<br\>- Station 5678 is node number 3
- Station 1234 is node 2
 
- Station 5678 is node number 3
 
  
$Call L1234 L5678 will set up the call betwen the stations. Requires that:
+
$Call L1234 L5678 will set up the call betwen the stations. Requires that:<br\>- 1234 is defined as global number (83/2) in node 1<br\>- 5678 is defined as global number (83/3) in node 2
- 1234 is defined as global number (83/2) in node 1
 
- 5678 is defined as global number (83/3) in node 2
 
  
Alternatively:
+
Alternatively:<br\>$CALL L1234 L(3)5678 will set up the call betwen the stations. Requires that:
$CALL L1234 L(3)5678 will set up the call betwen the stations. Requires that:
+
<br\>- 1234 is defined as global number (83/2) in node 1
- 1234 is defined as global number (83/2) in node 1
 
  
 
$call %2.ref C456
 
$call %2.ref C456

Revision as of 09:49, 9 August 2007

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.<br\> 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 <br\>- Station 1234 is node 2<br\>- Station 5678 is node number 3

$Call L1234 L5678 will set up the call betwen the stations. Requires that:<br\>- 1234 is defined as global number (83/2) in node 1<br\>- 5678 is defined as global number (83/3) in node 2

Alternatively:<br\>$CALL L1234 L(3)5678 will set up the call betwen the stations. Requires that: <br\>- 1234 is defined as global number (83/2) in node 1

$call %2.ref C456