Cisco Unified Messaging Gateway Command Reference for 8.0 and Later Versions
T Commands (VPIM)

Table Of Contents

T

translation-rule


T


Last Updated: November 17, 2010

translation-rule

translation-rule

To configure the translation rule for the message or SMTP header for each supported endpoint, use the translation-rule command in Cisco UMG configuration mode.

translation-rule { smtp | message } {cue | interchange | umg | unity } { from-user umg-user | from-host { text | umg-host } | to-host { text | umg-host } | to-user umg-user }

Syntax Description

smtp

Configures SMTP header translation rules.

message

Configures message header translation rules.

cue

Configures message or SMTP header translation rules for <Abbreviation>Cisco Unity Express.

interchange

Configures message or SMTP header translation rules for Avaya Interchange.

umg

Configures message or SMTP header translation rules for Cisco UMG.

unity

Configures message or SMTP header translation rules for Cisco Unity.

from-user

Configures src-user translation rules for an endpoint.

from-user umg-user

Variable name used for src-user translation.

from-host

Configures src-host translation rules for an endpoint.

from-host text

Sets source email domain value.

from-host umg-host

Variable name used for src-host translation.

to-host

Configures dest-host translation rules for an endpoint.

to-host text

Sets destination e-mail domain value.

to-host umg-host

Variable name used for dest-host translation.

to-user

Configures dest-user translation rules for an endpoint.

to-user umg-user

Variable name used for dest-user translation.


Command Modes

Cisco UMG configuration

Command History

Cisco UMG Version
Modification

1.0

This command was introduced.


Usage Guidelines

Do not use this command unless Cisco Tech Support instructs you to do so.

<Abbreviation>Cisco Unity Express utilizes the "SMTP Envelope To:" data to route voice messages for delivery. Cisco Unity uses the "Message Header To:" line, and Avaya Interchange uses the "SMTP Envelope From:" and the "Message Envelope From:".

Examples

The following example illustrates the use of the translation-rule command.

umg-1# config t
umg-1(config)# translation-rule smtp cue from-host mycompany.com
Save the change to startup configuration and reload the module for the new configuration 
to take effect.
umg-1(config)# end
umg-1# show translation-rule message
Message Translation Rules -
CUE
From User:                src-user
From Host:                src-host
To User:                  dest-user
To Host:                  dest-host
UNITY
From User:                src-user
From Host:                to-host
To User:                  dest-user
To Host:                  dest-host
INTERCHANGE
From User:                src-user
From Host:                umg-host
To User:                  dest-user
To Host:                  dest-host
UMG
From User:                src-user
From Host:                src-host
To User:                  dest-user
To Host:                  dest-host

umg-1# show translation-rule smtp
SMTP Translation Rules -
CUE
From User:                src-user
From Host:                mycompany.com
To User:                  dest-user
To Host:                  dest-host
UNITY
From User:                src-user
From Host:                umg-host
To User:                  dest-user
To Host:                  dest-host
INTERCHANGE
From User:                src-user
From Host:                umg-host
To User:                  dest-user
To Host:                  dest-host
UMG
From User:                src-user
From Host:                src-host
To User:                  dest-user
To Host:                  dest-host

umg-1# write memory

Related Commands

Command
Description

show translation-rule

Displays the translation rule for the message or SMTP header for each supported endpoint type.