Difference between revisions of "Timeout of conversation (Event Handler)"
From Zenitel Wiki
Line 34: | Line 34: | ||
|- | |- | ||
|Action: || $C L%1.dir | |Action: || $C L%1.dir | ||
+ | |- | ||
+ | |} | ||
+ | <br\><br\> | ||
+ | '''Stop the timer if the conversation cancels before timeout period has expired:''' | ||
+ | |||
+ | {| | ||
+ | |- | ||
+ | |width="100pt"|Event Owner: | ||
+ | |width="100pt"|The station | ||
+ | |- | ||
+ | |Event type: || 07 - Conversation Incoming | ||
+ | |- | ||
+ | |When change to: || ON | ||
+ | |- | ||
+ | |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: | ||
+ | |||
+ | '''Start the timer (180 sec):''' | ||
+ | |||
+ | {| | ||
+ | |- | ||
+ | |width="100pt"|Event Owner: | ||
+ | |width="100pt"|The station | ||
+ | |- | ||
+ | |Event type: || 08 - Conversation Outgoing | ||
+ | |- | ||
+ | |When change to: || ON | ||
+ | |- | ||
+ | |When related to: || All | ||
+ | |- | ||
+ | |Action: || $ST L%1.dir w1800 L%2.dir | ||
|- | |- | ||
|} | |} |
Revision as of 13:11, 8 August 2007
Using the $ST (Set_Timer) message.
Timeout of incoming calls to one specific station:
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: | $SMT L%1.dir W%2.tag Q10 |
<br\><br\> 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 |
<br\><br\> Stop the timer if the conversation cancels before timeout period has expired:
Event Owner: | The station |
Event type: | 07 - Conversation Incoming |
When change to: | ON |
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:
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 |