Difference between revisions of "COPY MAIL"
From Zenitel Wiki
m (Text replacement - "<br\>" to "<br />") |
|||
Line 6: | Line 6: | ||
!style="background:#ffdead;" |AMC 08.10 | !style="background:#ffdead;" |AMC 08.10 | ||
|- | |- | ||
− | |colspan="3"|'''$CPYM L101 W0000 L102'''<br | + | |colspan="3"|'''$CPYM L101 W0000 L102'''<br />'''$CPYM L%1.DIR W%2.TAG L102 U255'''||colspan="2"|.<br />''example use in [[Mail Timeout (Event Type)|MAIL_TIMEOUT]] event'' |
|- | |- | ||
− | |colspan="5"|Send a copy of a mail in own queue to a new destination (station or group).<br | + | |colspan="5"|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). |
|- | |- | ||
− | |align=center|1||[[NET_OBJ_REF]]<br | + | |align=center|1||[[NET_OBJ_REF]]<br />{[[ECL_STATION]]}||colspan="3"|Source station. |
|- | |- | ||
|align=center|2||[[UINT2]]||colspan="3"|Mail tag (unique id) for current queue entry. | |align=center|2||[[UINT2]]||colspan="3"|Mail tag (unique id) for current queue entry. | ||
|- | |- | ||
− | |align=center|3||[[NET_OBJ_REF]]<br | + | |align=center|3||[[NET_OBJ_REF]]<br />{[[ECL_STATION]],<br />[[ECL_ST_GROUP]]}||colspan="3"|Destination station or local group<br />.<br />. |
|- | |- | ||
− | |align=center|4||[[UINT1]]<br | + | |align=center|4||[[UINT1]]<br />(optional) ||colspan="3"|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. |
|- | |- | ||
− | |align=center|5||[[UINT1]]<br | + | |align=center|5||[[UINT1]]<br />(optional)||colspan="3"|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. |
|- | |- | ||
|colspan="2"|Response:||colspan="3"|[[COMMAND_RESPONSE]] Success if mail sent, failure if no-such-tag. | |colspan="2"|Response:||colspan="3"|[[COMMAND_RESPONSE]] Success if mail sent, failure if no-such-tag. |
Revision as of 11:48, 8 March 2016
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. |