Actions

Difference between revisions of "COPY MAIL"

From Zenitel Wiki

 
Line 26: Line 26:
  
 
[[Category: ACDP messages]]
 
[[Category: ACDP messages]]
 +
[[Category: DP Commands]]
 
[[AlphaNet_Data_Protocol#Station_Mail_Operations|Back to AlphaNet message list]]
 
[[AlphaNet_Data_Protocol#Station_Mail_Operations|Back to AlphaNet message list]]

Latest revision as of 11:58, 30 June 2022

AI.png
COPY_MAIL 0x0083 131 AMC 08.10
$CPYM L101 W0000 L102
$CPYM L%1.DIR W%2.TAG L102 U255
.
example use in MAIL_TIMEOUT event
Send a copy of a mail in own queue to a new destination (station or group).
Intended use: After MAIL_TIMEOUT, forward a Call Request to another queue (or, for example, to own queue with increased priority).
1 NET_OBJ_REF
{ECL_STATION}
Source station.
2 UINT2 Mail tag (unique id) for current queue entry.
3 NET_OBJ_REF
{ECL_STATION,
ECL_ST_GROUP}
Destination station or local group
.
.
4 UINT1
(optional)
Change Mail Priority 0-255.
If this parameter is specified, the priority field in the mail copy is changed before it’s sent to its destination.
5 UINT1
(optional)
Change Mail Flags.
If this parameter is specified, the mail flags field in the mail copy is changed before it’s sent to its destination. See SEND_MAIL for meaning of Mail Flags.
Response: COMMAND_RESPONSE Success if mail sent, failure if no-such-tag.

Back to AlphaNet message list