Actions

COPY MAIL

From Zenitel Wiki

Revision as of 13:41, 15 June 2007 by Hege (talk) (New page: {| border="1" align=left |- !style="background:#ffdead;" width="90pt" colspan="2"|COPY_MAIL !style="background:#ffdead;" width="100pt"|0x0083 !style="background:#ffdead;" width="30pt"|131...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
COPY_MAIL 0x0083 131 AMC 08.10
$CPYM L101 W0000 L102<br\>$CPYM L%1.DIR() W%1.TAG() L102 U255 .<br\>example use in MAIL_TIMEOUT event
Send a copy of a mail in own queue to a new destination (station or group).<br\>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<br\>{ECL_STATION} Source station.
2 UINT2 Mail tag (unique id) for current queue entry.
3 NET_OBJ_REF<br\>{ECL_STATION,<br\>ECL_ST_GROUP} Destination station or local group<br\>.<br\>.
4 UINT1<br\>(optional) Change Mail Priority 0-255.<br\>If this parameter is specified, the priority field in the mail copy is changed before it’s sent to its destination.
5 UINT1<br\>(optional) Change Mail Flags.<br\>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.