Actions

Difference between revisions of "Forward unattended Call Request (Event Handler)"

From Zenitel Wiki

(Example 1. Call Request to local guard, forward to guard 1234 after 10 - 19 seconds if unanswered:)
Line 30: Line 30:
 
|-
 
|-
 
|Action: <br\> || $CPYM L%1.dir W%2.tag L1234 <br\> $DELM L%1.dir W%2.tag  
 
|Action: <br\> || $CPYM L%1.dir W%2.tag L1234 <br\> $DELM L%1.dir W%2.tag  
 +
|-
 +
|}
 +
 +
== Example 2. Call Request to local guard, forward to guard 1234 in node 4 after 10 - 19 seconds if unanswered: ==
 +
 +
'''Start the mail timer when call request is received:'''
 +
 +
{|
 +
|-
 +
|width="100pt"|Owner:
 +
|width="100pt"|Local Guard
 +
|-
 +
|Event type: || 10 - Received mail
 +
|-
 +
|When change to: || ON
 +
|-
 +
|When related to: || All
 +
|-
 +
|Action: || $SMT L%1.dir W%2.tag Q10
 +
|-
 +
|}
 +
 +
'''When timeout, copy the mail to 1234 in node 4 and delete own mail:'''
 +
 +
{|
 +
|-
 +
|width="100pt"|Owner:
 +
|width="100pt"|Local Guard
 +
|-
 +
|Event type: || 20 - Mail timeout
 +
|-
 +
|When change to: || ON
 +
|-
 +
|When related to: || All
 +
|-
 +
|Action: <br\> || $CPYM L%1.dir W%2.tag L(4)1234 <br\> $DELM L%1.dir W%2.tag
 
|-
 
|-
 
|}
 
|}

Revision as of 13:38, 8 August 2007

Example 1. Call Request to local guard, forward to guard 1234 after 10 - 19 seconds if unanswered:

<br\><br\> Start the mail timer when call request is received:

Owner: Local Guard
Event type: 10 - Received mail
When change to: ON
When related to: All
Action: $SMT L%1.dir W%2.tag Q10

<br\><br\> When timeout, copy the mail to 1234 and delete own mail:

Owner: Local Guard
Event type: 20 - Mail timeout
When change to: ON
When related to: All
Action: <br\> $CPYM L%1.dir W%2.tag L1234 <br\> $DELM L%1.dir W%2.tag

Example 2. Call Request to local guard, forward to guard 1234 in node 4 after 10 - 19 seconds if unanswered:

Start the mail timer when call request is received:

Owner: Local Guard
Event type: 10 - Received mail
When change to: ON
When related to: All
Action: $SMT L%1.dir W%2.tag Q10

When timeout, copy the mail to 1234 in node 4 and delete own mail:

Owner: Local Guard
Event type: 20 - Mail timeout
When change to: ON
When related to: All
Action: <br\> $CPYM L%1.dir W%2.tag L(4)1234 <br\> $DELM L%1.dir W%2.tag