Actions

Difference between revisions of "Timeout of conversation (Event Handler)"

From Zenitel Wiki

Line 9: Line 9:
 
{|  
 
{|  
 
|-
 
|-
|width="100pt"|'''Event Owner''':
+
|width="150pt"|'''Event Owner''':
 
|width="400pt"|The station
 
|width="400pt"|The station
 
|-
 
|-
Line 26: Line 26:
 
{|  
 
{|  
 
|-
 
|-
|width="100pt"|'''Event Owner''':
+
|width="150pt"|'''Event Owner''':
 
|width="400pt"|The station
 
|width="400pt"|The station
 
|-
 
|-
Line 43: Line 43:
 
{|  
 
{|  
 
|-
 
|-
|width="100pt"|'''Event Owner''':
+
|width="150pt"|'''Event Owner''':
 
|width="400pt"|The station
 
|width="400pt"|The station
 
|-
 
|-
Line 62: Line 62:
 
{|  
 
{|  
 
|-
 
|-
|width="100pt"|Event Owner:
+
|width="150pt"|Event Owner:
 
|width="400pt"|The station
 
|width="400pt"|The station
 
|-
 
|-
Line 79: Line 79:
 
{|  
 
{|  
 
|-
 
|-
|width="100pt"|'''Event Owner''':
+
|width="150pt"|'''Event Owner''':
 
|width="400pt"|The station
 
|width="400pt"|The station
 
|-
 
|-

Revision as of 08:45, 20 June 2017

AlphaCom icon 300px.png

Using the $ST (Set_Timer) message.

Timeout of incoming calls to one specific station:

In AlphaPro, go to Exchange and System -> Events, press Insert and create the following events:


Event 1 - Start the timer on incoming call (180 sec).

Event Owner: The station
Event type: 07 - Conversation Incoming
When change to: ON
When related to: All
Action: $ST L%1.dir w1800 L%2.dir

Event 2 - Cancel conversation when timeout.

Event Owner: The station
Event type: 21 - Event timeout
When change to: ON
When related to: All
Action: $C L%1.dir

Event 3 - Stop the timer if the conversation cancels before timeout period has expired.

Event Owner: The station
Event type: 07 - Conversation Incoming
When change to: OFF
When related to: All
Action: $ST L%1.dir w0 L%2.dir

If the conversation timeout should apply for outgoing calls as well, add the following events:

Event 4 - Start the timer (180 sec).

Event Owner: The station
Event type: 08 - Conversation Outgoing
When change to: ON
When related to: All
Action: $ST L%1.dir w1800 L%2.dir

Event 5 - Stop the timer if the conversation cancels before timeout period has expired.

Event Owner: The station
Event type: 08 - Conversation Outgoing
When change to: OFF
When related to: All
Action: $ST L%1.dir w0 L%2.dir

If the timeout should apply to a number of stations the easiest way is to assign the stations concerned to a UDP group, and then set the UDP group as Event Owner instead of the 'The station' in the above events.