Table Of Contents
Using Interactive Voice Response for Call Processing
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Download the Software in VCWare Mode
Download the Software in ROM Monitor Mode
Copying Flash Files to the VFC
Downloading from the AS5300 Motherboard
Downloading from a TFTP Server
Adding Files to the Default File List
Adding Codecs to the Capability List
Deleting Files from VFC Flash Memory
Configuring the Fax Gateway to Support IVR
Specifying the Interface Type for Fax Calls
Configuring the On-Ramp Gateway
Configuring the Called Subscriber Number
Configuring the POTS Dial Peer
Configuring the MMoIP Dial Peer
Verifying the On-Ramp Gateway Configuration
Configuring the Off-Ramp Gateway
Configuring the Transmitting Subscriber Number
Configuring the Fax Transmission Speed
Configuring the Receiving Mail Transfer Agent
Configuring the POTS Dial Peer
Configuring the MMoIP Dial Peer
Configuring the Faxed Header Information
Configuring the Fax Cover Page Information
Verifying the Off-Ramp Gateway Configuration
Configuring the Gateway Security
Configuring On-Ramp Gateway Security
Configuring Off-Ramp Gateway Security
Configuring the Gateway for TCL Application Files
Verifying the Gateway Security Configuration
Configuring the On-Ramp Gateway Elements for MDN
Configuring the Off-Ramp Gateway Element for MDN
T.37/T.38 Fax Gateway
This document provides the required information for configuration of a T.37/T.38 Fax Gateway on a Voice Feature Card (VFC) installed in the Cisco AS5300 access server. Store-and-forward fax, previously documented in the Cisco IOS Multiservice Applications Configuration Guide, enables Cisco AS5300s to send and receive faxes across packet-based networks. This document includes the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
When the Cisco AS5300 is equipped with VFCs, it supports carrier-class Voice over IP (VoIP) and fax over IP services. Since the Cisco AS5300 is H.323 compliant, it supports a family of industry-standard voice codecs and provides echo cancellation and Voice Activity Detection (VAD)/silence suppression. There is an Interactive Voice Response (IVR) application that provides voice prompts and digit collection in order to authenticate the user and identify the call destination.
The VFC is a co-processor card with a powerful Reduced Instructions Set Computing (RISC) engine and dedicated, high-performance Digital Signal Processors (DSPs) to ensure predictable, real-time voice processing. The design enables steamlined packet forwarding. The Cisco AS5300 supports two VFCs that are scalable up to 96 E1 or 120 T1 voice connections within a single chassis.
Previously store-and-forward fax was supported only on modem cards while voice applications ran on the C542 Digital Signal Processing Module (DSPM) and C549 DSPMs that populated Cisco AS5300 VFCs. Each type of call required different technologies. With this software release, a single DSPM technology supports:
•
Voice, fax relay, and store-and-forward fax on both the C542 and C549 DSPM and the same voice port.
•
Dynamic switching from one application to another in the same call (IVR, voice, fax relay, and store-and-forward fax).
Figure 1 highlights the real-time (T.38 path) versus the store-and-forward processing (T.37 path) for fax transactions over IP networks.
Figure 1 Real-time versus Store-and-Forward Fax Processing
Previously, fax over IP used a proprietary protocol and an H.323 connection, represented by the T.37 path in the diagram. The T.37 path used the Extended Simple Mail Transfer Protocol (ESMTP) store and forward method. The on-ramp gateway router accepted fax data from the PSTN fax machine.
It converted the fax data into a TIFF attachment in a MIME e-mail message and transmitted it to a store and forward SMTP server. These servers would deliver the faxmail message to the off-ramp gateway router. Once the off-ramp gateway router received the faxmail message, it processed the message and initiated a session with the destination fax machine.
With this software release, the T.38 path will take precedence over the T.37 path whenever possible. This means that as a fax session is being set up, the sending gateway will first communicate using the T.38 path. If the communication fails, the sending gateway will rollover to the Cisco T.37 path if it is configured to rollover.
Note
It is strongly recommended that the Cisco AS5300 access server packet filters be configured to accept only incoming SMTP connections from trusted mailers (off-ramp gateway).
To configure store-and-forward fax, the VoIP software component must be installed and functional on the Cisco AS5300.
Using Interactive Voice Response for Call Processing
IVR applications control calls in the T.37/T.38 Fax Gateway. They can be assigned to specific ports or invoked based on DNIS and accommodate many gateway services by customizing the presentation of the interfaces to callers.
IVR uses Tool Control Language (TCL) scripts to gather information. For example, a TCL script plays when the caller receives a voice-prompt to enter a specific type of information, such as a PIN. After the caller inputs the PIN, TCL collects the digits and forwards the digits to the server for storage and retrieval.
Note
All IVR scripts are modified and secured with a proprietary Cisco locking mechanism. Only Cisco internal technical support personnel can open and modify these scripts.
Benefits
Cost Savings and Port Density
The cost of maintaining two architectures, one for voice and one for fax, is eliminated. Service providers can use a single port for both voice, fax relay, and store-and-forward fax. For smaller POPs, the single-port configuration for both technologies is even more significant because mixed traffic can be handled more efficiently (only a single pool of ports versus splitting traffic across two pools).
Single Number for Voice and Fax Access
Service providers can offer the new service of a single number for subscriber voice and fax access. The applications that use a single number for voice and fax require only half as many DNIS numbers and dial peers as would be required with separate voice and fax applications.
Switch from Fax Relay to Store-and-Forward Fax
Service providers can offer applications that require toggling from voice to fax. Applications such as never-busy fax service can be addressed once the gateway can dynamically switch from fax relay to store-and-forward fax.
Restrictions
The Cisco AS5300 access server must be equipped with 128 MB of Random Access Memory (RAM) in the following situations:
•
When a maximum of 120 store-and-forward fax simultaneous sessions is required.
•
If IVR Version 2.0 is required.
Related Features and Technologies
Store-and-forward fax and fax relay make use of and are related to the following features and technologies:
•
Dial peers
•
Destination patterns and prefixes
•
Number expansion
•
Cisco VoIP
•
IVR
•
Authentication, Authorization, and Accounting (AAA) security services
•
RADIUS security server protocol
Related Documents
For related information on this feature, refer to the following documents:
•
New feature documentation for Cisco IOS Release 12.1(1)T, Store and Forward Fax with ESMTP
•
New feature documentation for Cisco IOS Release 12.0(3)T Voice over IP for the Cisco AS5300
•
Cisco IOS Multiservice Applications Configuration Guide, Release 12.1
•
Cisco IOS Multiservice Applications Command Reference, Release 12.1
•
Cisco IOS Security Configuration Guide, Release 12.1
•
Cisco IOS Security Command Reference, Release 12.1
•
Cisco AS5300 Universal Access Server Software Configuration Guide
•
Cisco AS5300 Universal Access Server Module Installation Guide
Supported Platforms
•
Cisco AS5300
Supported Standards, MIBs, and RFCs
Standards
•
ITU-T.37—Procedures for the Transfer of Facsimile Data Via Store-and-forward on the Internet, June 1998
•
ITU-T.38—Procedures for Real-time Group 3 Facsimile Communication over IP Networks, June 1998
•
ITU-T.38—Procedures for Real-time Group 3 Facsimile Communication over IP Networks, Amendment 1, April 1999
•
ITU-T.38—Revised Annex B of Recommendation T.38, November 1998
MIBs
For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.
RFCs
•
RFC 821, Simple Mail Transfer Protocol
•
RFC 822, Standard for the Format of ARPA Internet Text Messages
•
RFC 1652, SMTP Service Extension for 8bit-MIME Transport
•
RFC 1869, SMTP Service Extensions
•
RFC 1891, SMTP Service Extension for Delivery Status Notifications
•
RFC 1892, The Multipart/Report Content Type for the Reporting of Mail System Administrative Messages
•
RFC 1893, Enhanced Mail System Status Codes
•
RFC 1894, An Extensible Message Format for Delivery Status Notifications
•
RFC 1896, The Text/Enriched MIME Content-Type
•
RFC 2034, SMTP Service Extension for Returning Enhanced Error Codes
•
RFC 2045, Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies
•
RFC 2046, Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
•
RFC 2047, MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text
•
RFC 2197, SMTP Service Extension for Command Pipelining
•
RFC 2298, An Extensible Message Format for Message Disposition Notifications
•
RFC 2301, File Format for Internet Fax
•
RFC 2302, Tagged Image File Format (TIFF) - Image/TIFF MIME Sub-Type Registration
•
RFC 2303, Minimal PSTN Address Format in Internet Mail
•
RFC 2304, Minimal Fax Address Format in Internet Mail
•
RFC 2305, A Simple Mode of Fax Using Internet Mail
•
RFC 2532, Extended Facsimile Using Internet Mail
Store-and-forward fax is also compliant with the SMTP requirements in RFC 1123, Requirements for Internet Hosts—Application and Support.
Prerequisites
Before configuring the T.37/T.38 Fax Gateway on a Cisco AS5300 VFC, the following tasks must be completed:
•
Downloading VCWare to the VFC
•
Copying Flash Files to the VFC
•
Configuring the Fax Gateway to Support IVR
These tasks are described in the following sections.
Note
Before using SMTP in Cisco gateways, configure the domain name and host hame configured.
VFCs for the Cisco AS5300 come with a single bundled image of VCWare stored in VFC Flash memory. Table 1 shows the extension types defined for these embedded firmware files.
Table 1 VFC Firmware Extensions
DSPWare is stored as a compressed file within VCWare. VCWare must be unbundled to install DSPWare into Flash memory. During the unbundling process, two default lists (default file and capability) are automatically created, populated with default files from that version of VCWare, and stored in VFC Flash memory. The default file list contains the filenames indicating which files are initially loaded into DSP upon bootup, and the capability list defines the set of codecs that can be negotiated for a voice call.
VFC management enables:
•
Adding versions of VCWare to Flash memory (downloads and unbundles files).
•
Erasing files contained in Flash memory.
•
Adding files to the default file and capability lists.
•
Deleting files from the default file lists and capability lists.
These tasks are described in the following sections:
•
Downloading VCWare to the VFC
•
Copying Flash Files to the VFC
•
Adding Files to the Default File List
•
Adding Codecs to the Capability List
•
Deleting Files from VFC Flash Memory
•
Configuring the Fax Gateway to Support IVR
Downloading VCWare to the VFC
Before downloading VCWare to the VFC, determine that the version of VFC ROM Monitor software is compatible with the installed Cisco IOS image. VFC ROM version 1.2 requires Cisco IOS image 0.14.1 (1.6 NA1) or later. VFC ROM Monitor version 1.2 can be made to work with Cisco IOS image 0.13 (or later) by appending the suffix ".VCW" to the VCWare image stored in VFC Flash memory.
These are required tasks:
•
Download the Software in VCWare Mode
•
Download the Software in ROM Monitor Mode
Determine the Number of VFCs
To determine the number of installed VFCs and their location, use the following command in privileged EXEC mode:
Command Purpose Router# show vfc slot directoryDetermines the number of installed VFCs and their location.
For each VFC identified and located, upgrade the system software on that VFC.
Identify the VFC Mode
To identify the mode (whether VCWare or ROM Monitor), use the following commands in privileged EXEC mode:
Command Purpose Router# show vfc slot boardDetermines whether your VFC is operating in VCWare mode or ROM Monitor mode.
If the mode is VCWare, the VFC status is "VCWARE running." If the mode is ROM Monitor, the VFC status will be "ROMMON."
Download the Software in VCWare Mode
To download VFC software to the VFC while in VCWare mode, use the following commands beginning in privileged EXEC mode:
Reboot the Cisco AS5300 for these changes to take effect.
Note
If the VFC ROM is version 1.1, the image name must end in ".VCW." If the VFC ROM is version 1.2, the image name must start with "vcv-."
Download the Software in ROM Monitor Mode
To download VFC software while in ROM Monitor mode, use the following commands beginning in privileged EXEC mode:
Reboot the Cisco AS5300 for these changes to take effect.
Note
The image name must start with "vcw-."
Copying Flash Files to the VFC
Each VFC comes with a single bundled image of VCWare stored in Flash memory. VoIP for the Cisco AS5300 enables two different ways to copy new versions of VCWare to the VFC Flash memory by:
•
Downloading from the AS5300 Motherboard
•
Downloading from a TFTP Server
Downloading from the AS5300 Motherboard
To download from the AS5300 motherboard to Flash memory, use the following command in privileged EXEC mode:
Downloading from a TFTP Server
To download the latest version of VCWare from a TFTP server, ensure that the file is stored on the TFTP server. If a copy of the current version of VCWare is resident on disk, store that image on a TFTP server or the file cannot be downloaded into VFC memory. To copy the Flash file from a TFTP server, use the following command in privileged EXEC mode:
Unbundling VCWare
VCWare must be unbundled before DSPWare can be loaded in Flash memory. The default file and capability lists are created and populated with the appropriate default files for that version of DSPWare. Table 1 shows the files associated with each firmware file.
To unbundle the current running image of VCWare, use the following command in privileged EXEC mode:
Adding Files to the Default File List
After the VCWare is unbundled, the default file list is automatically created and populated with the default files for that version of VCWare. The default file list indicates which files are initially loaded into DSP at bootup. The following example shows the output from the show vfc def command, which displays the contents of the default file list:
router# show vfc 1 defDefault List for VFC in slot 1:1. btl-vfc-1.0.13.0.bin2. cor-vfc-1.0.1.bin3. bas-vfc-1.0.1.bin4. cdc-g729-1.0.1.bin5. fax-vfc-1.0.1.bin6. jbc-vfc-1.0.13.0.binUnder most circumstances, these default files should be sufficient. If needed, files can be added from those stored in VFC Flash memory to the default file list or existing files replaced from the default file list. When a specific file is added to the default file list, it replaces the existing default for that extension type.
To add a file to the default file list, use the following command in global configuration mode:
Command Purpose Router(config)# default-file filename vfc slotSelects a file stored in the Flash memory to be added to the default file list.
Adding Codecs to the Capability List
The capability list defines the set of codecs that can be negotiated for a voice call. Like the default file list, the capability list is created and populated when VCWare is unbundled and DSPWare added to VFC Flash memory. The following example shows the output from the show vfc cap command, which displays the contents of the capability list:
router# show vfc 1 capCapability List for VFC in slot 1:1. fax-vfc-1.0.1.bin2. bas-vfc-1.0.1.bin3. cdc-g729-1.0.1.bin4. cdc-g711-1.0.1.bin5. cdc-g726-1.0.1.bin6. cdc-g728-1.0.1.bin7. cdc-gsmfr-1.0.1.binCodec files can be added, using VFC management, if needed for a specific telephony network.
Note
The capability list does not indicate codec preference, it only reports available codecs. The session application decides which codec to use.
To add a codec overlay file to the capability list, use the following command in global configuration mode:
Command Purpose Router(config)# cap-list filename vfc slot-numberSelects a codec overlay file to be added to the capability list.
Deleting Files from VFC Flash Memory
In some instances, a file may need to be deleted from the default file or capability lists. To delete a file from VFC Flash memory, use the following command in privileged EXEC mode:
Erasing the VFC Flash Memory
When upgrading to a more current version of VCWare, new files are stored in VFC Flash and do not overwrite existing files. The contents of VFC Flash memory must be erased to free memory space. To erase the Flash memory of a specific VFC, use the following command in privileged EXEC mode:
For more information about VFC management commands, refer to the Cisco IOS Multiservice Applications Command Reference publication.
Configuring the Fax Gateway to Support IVR
Before configuring the Cisco gateway to support IVR, perform the following:
•
Configure VoIP to support H.323-compliant gateways, including specific devices in the network to act as gateways, such as configuring dial peers and voice ports.
•
Configure a TFTP server to perform storage and retrieval of the required audio files.
•
Download the appropriate classic or TCL IVR script from the CCO Software Support Center. Use the copy command to copy the audio file (.au file) to Flash memory, and the audio-prompt load command to read it into RAM. For more information about copying files into Flash memory, refer to "Copying Flash Files to the VFC" section.
•
Ensure that the audio files are in the proper format. The IVR prompts require audio file (.au) format with 8-bit, u-law, and 8-Khz encoding. To encode the audio files, it is recommended that one of these two audio tools (or a similar tool of comparable quality) be used:
–
Cool Edit, manufactured by Syntrillium Software Corporation.
–
AudioTool, manufactured by Sun Microsystems.
•
Ensure that the access platform has a minimum of 16 MB of Flash memory and 64 MB of DRAM.
•
Install and configure the appropriate RADIUS security server in the network. The version of RADIUS must be able to support IETF-Supported VSAs, which are implemented by using IETF RADIUS Attribute 26.
Configuration Tasks
The configuration tasks that must be performed are:
•
Specifying the Interface Type for Fax Calls
•
Configuring IVR Functionality
•
Configuring the On-Ramp Gateway
•
Configuring the Off-Ramp Gateway
•
Configuring the Gateway Security
Specifying the Interface Type for Fax Calls
To select the VFC, use the following command in global configuration mode:
Configuring IVR Functionality
To configure IVR functionality using either classic or TCL scripts, perform the following:
•
Create an application that interacts with the appropriate classic or TCL script. Use show call application voice to view the contents of the TCL IVR script.
•
Define and pass the defined parameter values to the application. Depending on the selected TCL script, these values can include the language of the audio file and the location of the audio file. Table 3 lists the required TCL scripts and the parameter values.
•
Associate the application to the incoming POTS dial peer.
•
Define the appropriate method lists using AAA so that RADIUS is identified as the security protocol performing accounting.
To configure IVR functionality, use the following commands, beginning in privileged EXEC mode:
Table 3 lists the required TCL scripts for fax applications on VFCs.
Use the following commands to verify the IVR configuration:
•
Show running configuration - verifies the configuration parameters.
•
Show call application summary - displays a list of all voice applications.
•
Show call application voice - shows the contents of the script.
•
Show dial-peer voice - verifies that dial peer is operational.
Configuring the On-Ramp Gateway
When acting as the on-ramp gateway, the Cisco AS5300 receives faxes from end users, converts them into TIFF files, creates standard MIME e-mail messages, attaches the TIFF files to the e-mail messages, and forwards the fax-mail messages to the designated SMTP server for storage.
The gateway uses the sending MTA and dial peers to complete these tasks. The sending MTA, which is the Cisco AS5300, defines delivery parameters associated with the e-mail message to which the fax TIFF file is attached. The delivery parameters include defining a return e-mail path or designating a destination mail server.
Note
Before using SMTP in Cisco gateways, be sure to configure the domain name and host name.
To configure the on-ramp gateway, perform the tasks described in the following sections:
•
Configuring the Called Subscriber Number
•
Configuring the POTS Dial Peer
•
Configuring the MMoIP Dial Peer
•
Verifying the On-Ramp Gateway Configuration
•
Verifying the On-Ramp Gateway Configuration
Configuring the Called Subscriber Number
The called subscriber number is the number displayed in the LCD of the fax device when a fax is sent to a recipient. Typically, with a standard Group 3 fax device, this is the telephone number associated with the receiving fax device. To configure the called subscriber number, use the following commands beginning in privileged EXEC mode:
Configuring the Sending MTA
MTAs define the elements of the e-mail message to which the fax TIFF file is attached, which includes:
•
Originator
•
Subject of the message
•
Destination mail server
•
Return path
•
Postmaster (default mail station for undeliverable messages)
•
E-mail header information
•
Address to which any disposition notices are sent
Note
The mta send mail-from username and mta send mail-from hostname commands configure the From: username. The To: address is configured with session target and is the on-ramp gateway MMoIP dial peer.
To configure the sending MTA, use the following commands in global configuration mode:
Configuring the POTS Dial Peer
To configure the POTS dial peer, use the following commands beginning in global configuration mode:
Configuring the MMoIP Dial Peer
To configure the MMoIP dial peer, use the following commands beginning in global configuration mode:
Verifying the On-Ramp Gateway Configuration
To verify the on-ramp gateway configuration, perform the following:
•
Use debug fax receive called-number to verify the configured called-subscriber number.
•
Check the configured called subscriber number by sending a fax and checking the number in the sending machine LCD.
•
Use show dialplan number fax to verify that store-and-forward fax dial peers have been configured correctly.
•
Use debug fax receive all to display Class 2 fax tracing information on all on-ramp fax connections.
•
Use debug mta send all to display output for all of the on-ramp client connections (messages exchanged, for example, the handshake) between the e-mail server and the on-ramp gateway.
•
Use debug mta send rcpt-to to display output for a specific on-ramp SMTP client connection during e-mail transmission.
•
Test connectivity between the on-ramp gateway and the e-mail server by sending a test e-mail to a specified e-mail address and using debug mmoip send email.
•
Make a POTS call and listen for a secondary dial tone to determine if DID is enabled or disabled. If DID is disabled, the server presents a dial tone to collect the digits.
Configuring the Off-Ramp Gateway
Off-ramp faxing requires that the Cisco AS5300 act as an off-ramp gateway to dial the POTS and communicate with a remote fax machine (Group 3 fax device), using standard fax protocols. The off-ramp gateway:
•
Converts a fax-mail TIFF file (or plain text file) into a standard format and delivers it to the recipient. store-and-forward fax does not alter the TIFF or plain text file in any way from its original format when converting it into a standard fax format. The off-ramp gateway uses the receiving MTA and dial peers to perform the conversion.
•
Delivers an e-mail message as a standard fax transmission. The Cisco AS5300 generates information that is appended to the top of each faxed page (text-to-fax pages) and creates a fax cover sheet. The off-ramp gateway uses the receiving MTA, dial peers, and commands specific to formatting the appended information and generating a fax cover sheet to deliver e-mail messages as fax transmissions.
•
Uses only POTS dial peers to define the line characteristics between the forwarding off-ramp gateway and the fax device. As an option, the MMoIP dial peers can be configured, but MMoIP dial peers has limited functionality. It only defines fax compression schemes and resolution and is useful only if those parameters are to be altered for the received fax-mails.
•
Defines the parameters associated with the AS5300 SMTP server, using the receiving MTAs. This can be its SMTP host aliases, which can be different than its normal DNS host names, or internal Cisco IOS host name.
Note
Off-ramp faxing activities are not mutually exclusive. An e-mail can be sent as a fax and a TIFF file can be attached to it. When the Cisco AS5300 converts the e-mail to fax format, it also converts the attached TIFF file to standard Group 3 fax format.
The off-ramp POTS dial peer defined the telephone number of the destination fax device. Because a destination pattern is defined for an outbound POTS peer, number expansion can be used.
To configure the off-ramp gateway, perform the tasks in the following sections:
•
Configuring the Transmitting Subscriber Number
•
Configuring the Fax Transmission Speed
•
Configuring the Receiving Mail Transfer Agent
•
Configuring the POTS Dial Peer
•
Configuring the MMoIP Dial Peer
•
Configuring the Faxed Header Information (fax transmission originates as an e-mail message)
•
Configuring the Fax Cover Page Information (fax transmission originates as an e-mail message)
•
Verifying the Off-Ramp Gateway Configuration
Configuring the Transmitting Subscriber Number
The first step in configuring the off-ramp gateway, whether the off-ramp gateway is converting a fax TIFF file to a standard fax or sending an e-mail message as a fax, is to configure the transmitting subscriber number.
The transmitting subscriber number is displayed in the LCD of the receiving fax device. Typically, with a standard Group 3 fax device, this is the telephone number associated with the transmitting or sending fax device.
To configure the transmitting subscriber number, use the following command in global configuration mode:
Configuring the Fax Transmission Speed
Next, configure the maximum speed of the fax transmission. This is particularly helpful if the off-ramp gateway is sending faxes into an area where the fax transmission speed is always negotiated down to a slower speed.
To configure the fax transmission speed, use the following command in global configuration mode:
Command Purpose Router(config)# fax send max-speed {12000 | 14400 | 2400 | 4800 | 7200 | 7600}Specifies the maximum speed at which an off-ramp fax is sent.
Configuring the Receiving Mail Transfer Agent
To configure the receiving MTA, use the following commands in global configuration mode:
Configuring the POTS Dial Peer
To configure the POTS dial peer for the off-ramp gateway, use the following commands beginning in global configuration mode:
Configuring the MMoIP Dial Peer
To configure the off-ramp gateway MMoIP dial peer, use the following commands beginning in global configuration mode:
Note
When configuring the MMoIP dial peer, ensure that the incoming called number command value and the configured destination telephone number (corresponding on-ramp POTS dial peer) match.
Configuring the Faxed Header Information
Store-and-forward fax converts standard e-mail messages into fax transmissions. When a fax is sent using a standard Group 3 device, there is usually header information appended to the top of each faxed cover and text page, indicating the telephone number of the sending fax device, the date, and the time of transmission. These faxes require that header information is appended to each faxed page.
Store-and-forward fax configures what header information is appended to the top of each faxed cover and text page, along with its placement. Also, the destination address of an e-mail message can control the cover page generation on a per-recipient basis.
Note
Because the off-ramp gateway does not alter fax TIFF attachments, the header information cannot be configured for faxes being converted from TIFF files to standard fax transmissions.
To configure faxed header information, use the following commands in global configuration mode:
Configuring the Fax Cover Page Information
The off-ramp gateway can create fax cover pages for those faxes that originate from e-mail messages.
Note
Because the off-ramp gateway does not alter fax TIFF attachments, the cover pages cannot be configured for faxes being converted from TIFF files to standard fax transmissions.
To configure fax cover page information, use the following commands in global configuration mode:
Also the destination address of an e-mail message can control the cover page generation on a per-recipient basis. Use the fax send coverpage e-mail-controllable command to configure the router to defer to the cover page setting in the e-mail header.
For example, if the address has the cover parameter set to no, the parameter overrides the setting for the fax send coverpage enable command and the off-ramp gateway does not generate a fax cover page. If the address has the cover parameter set to yes, the off-ramp gateway defers the setting configured in the e-mail address and generates cover page. Table 4 contains examples of what the user would enter in the e-mail To: field.
To configure the router to defer to the cover page setting in the e-mail header, use the following commands in global configuration mode:
Verifying the Off-Ramp Gateway Configuration
Perform the following to verify the off-ramp gateway configuration:
•
Use debug fax send calling-number to check the transmitting subscriber number configuration.
•
Use debug fax send all to display Class 2 fax protocol tracing information for all off-ramp faxing activities.
•
Use debug mta receive all to view output relating to the activity on the SMTP server (messages exchanged, for example, the handshake) between the e-mail server and the off-ramp gateway.
•
Use debug text-to-fax to view information relating to the off-ramp text-to-fax conversion.
•
Use debug tiff reader to display output about the on-ramp TIFF reader.
•
Use debug tiff writer to display output about the on-ramp TIFF writer.
To check whether the fax cover page generates correctly, send an e-mail message to the off-ramp gateway. To check if the fax-mail is processed correctly, request a return receipt in the e-mail message and send a fax-mail using a mail client, such as Eudora to the off-ramp gateway. The destination e-mail address must have the appropriate fax=user@receive alias to be allowed.
Configuring the Gateway Security
To configure gateway security, perform the tasks in the following sections:
•
Configuring On-Ramp Gateway Security
•
Configuring Off-Ramp Gateway Security
•
Configuring the Gateway for TCL Application Files
•
Verifying the Gateway Security Configuration
Configuring On-Ramp Gateway Security
On-ramp security controls who can send fax messages to the network and is facilitated by AAA security services using either RADIUS or TACACS+ as the local security protocol. On-ramp faxing is a client of the authentication server, whether RADIUS or TACACS+. User information is forwarded to the AAA interface, which is then forwarded as an authentication request to the security server.
Authentication must be completed before the first page of faxed material is accepted by the Fax Application Process (FAP). If a response is not received from the AAA server before the first page is received, the fax disconnects the call.
To configure on-ramp security, use the following commands in global configuration mode:
Configuring Off-Ramp Gateway Security
Off-ramp security controls who can send outgoing fax messages and is facilitated by AAA security services using either RADIUS or TACACS+. Authentication begins as soon as a fax e-mail message header is received from the e-mail server on the off-ramp gateway. The Cisco AS5300 does not dial the destination fax device until authentication for each fax-mail is successfully completed.
The on-ramp gateway inserts whatever value was configured for the mmoip aaa receive-id primary command in the X-account-ID field of the e-mail header. This X-account ID field contains the value that is used for authentication and accounting by the on-ramp gateway.
For example, if the mmoip aaa receive-id primary command is set to gateway, the on-ramp gateway name (for example, hostname.domain-name) is inserted in the X-account-ID field of the e-mail header of the fax-mail message.
If configured gateway value in the X-account-ID field is used, the mmoip aaa send-id primary command must be configured with the account-id keyword. This particular keyword enables store-and-forward fax to generate end-to-end authentication and accounting tracking records. If authentication is not configured on the on-ramp gateway, the X-account-ID field is left blank.
Note
It is recommended that Access Control Lists (ACLs) be configured to restrict which IP addresses can connect to the SMTP port (port 25). For information about configuring ACLs, refer to the Cisco IOS Security Configuration Guide.
Note
It is also recommended that the Cisco AS5300 be configured to act as an off-ramp gateway and only accept incoming SMTP connections from trusted mailers. Configure packet filters to permit only certain trusted IP addresses to send faxes to the store-and-forward fax off-ramp gateway.
To configure off-ramp security, use the following commands in global configuration mode:
Configuring the ACLs
Incoming ACLs can be used on Ethernet or FastEthernet interfaces to filter SMTP traffic for store-and-forward fax. It is recommended that ACLs be configured to restrict access to the SMTP port (port 25) to only trusted e-mail servers.
Creating ACLs is a relatively complicated task and beyond the scope of this document. The following example, though, provides a starting point.
The following example shows how to restrict access to the SMTP port 25 to a trusted e-mail server (IP address 10.0.0.1):
! Enter global configuration mode.configure terminal!! Configure ACLs to restrict access to the SMTP port (port 25) to only "trusted"! e-mail servers. Depending on the topology of your particular network, replace the! any keyword with the destination IP addresses of the Ethernet and FastEthernet! interfaces. Define all trusted e-mail servers using the tcp host ip-address! portion of this command.access-list 100 permit tcp host 10.0.0.1 any eq smtpaccess-list 100 deny tcp any any eq smtpaccess-list 100 permit ip any any!! Enter interface configuration mode for Ethernet interface 0.interface ethernet 0! Apply the access list to this interface.access-group 100 in!! Enter interface configuration mode for FastEthernet interface 0.interface fastethernet 0! Apply the access list to this interface.access-group 100 inFor complete information about configuring ACLs, refer to the relative chapters in the Cisco IOS Security Configuration Guide.
Using Attribute-Value Pairs
RADIUS attributes are used to define specific AAA elements in a user profile, which is stored on the RADIUS daemon. The Cisco implementation of RADIUS supports both IETF and vendor-proprietary attributes. IETF RADIUS attribute 26 allows vendors to support their own extended attributes not suitable for general use. Store-and-forward fax uses the Cisco RADIUS implementation of vendor-specific options using the format recommended in the specification. The Cisco vendor-ID company code is 9; the vendor-specific options are represented by subtype numbers from 3 through 21.
Table 5 lists the store-and-forward fax vendor-specific options supported using vendor-specific IETF RADIUS attribute 26.
For more information about using vendor-specific RADIUS attributes, refer to "RADIUS Attributes" appendix in the Cisco IOS Security Configuration Guide. This appendix file contains a complete list of supported vendor-specific, vendor-proprietary, and IETF-compliant RADIUS attributes, the Cisco IOS releases in which they were implemented, and their definitions.
Configuring the Gateway for TCL Application Files
To configure gateway security for the TCL application files being used for fax calls on a VFC, use the following commands in global configuration mode:
Verifying the Gateway Security Configuration
Verify the gateway security configuration by:
•
Using debug mmoip aaa to verify that the on-ramp security for store-and-forward fax is configured correctly.
•
Checking the console log file, depending upon the Radius version used, to verify connection to the RADIUS server.
•
Using debug aaa to verify AAA performance.
Configuring MDN
One basic e-mail operation that store-and-forward fax supports is MDN (return receipt). Described in RFC 2298, MDN indicates that the e-mail message has been opened. A sender requests that an MDN be returned when the receiver opens an e-mail message.
The MDN is initiated by the sending e-mail client, and the return receipt is generated by the receiving e-mail client. Most PC-based e-mail software applications, such as Eudora, Netscape Messenger, and Microsoft Outlook,) generate MDNs.
The MDN is sent to an address chosen by the sender and the following header is included in the e-mail header of the message:
Disposition-Notification-To:This header is followed by the address of the sender.
RFC 2298 requires that the receiver can prevent the automatic generation of an MDN. Because of the requirement, it is difficult to determine whether or not the user has actually received the e-mail message. For example, the recipient can always choose not to respond to MDN requests, or the recipient software cannot understand or accept MDN requests.
To configure MDN for store-and-forward fax, configure the MDN elements on both the on-ramp and off-ramp gateways.
The required tasks are:
•
Configuring the On-Ramp Gateway Elements for MDN
•
Configuring the Off-Ramp Gateway Element for MDN
Configuring the On-Ramp Gateway Elements for MDN
To configure the on-ramp gateway to support MDN, use the following commands beginning in global configuration mode:
Configuring the Off-Ramp Gateway Element for MDN
To configure the off-ramp gateway to support MDN, use the following command in global configuration mode:
Command PurposeRouter(config)# mta receive generate-mdnSpecifies that the Cisco AS5300 acting as the off-ramp gateway will respond to a request for an MDN.
Verifying MDN Configuration
Perform the following to verify the MDN configuration:
•
Use show dial-peer voice and look at the disposition notification field to verify if DSN is enabled or disabled.
•
Use show running-config to verify that mta send return-receipt-to username, mta send return-receipt-to hostname, and mta receive generate-mdn have been configured.
•
Send a fax to the on-ramp gateway. When the destination e-mail account client opens and responds to the MDN request, check the return-receipt-to user account for the MDN response message.
•
Send a fax to the off-ramp gateway with MDN requested (return receipt). After the off-ramp gateway has processed the fax-mail message, check the original From user's account for the MDN response message.
Configuring DSN
DSNs are messages or responses that are automatically generated and sent to the sender or originator of an e-mail message by the SMTP server, notifying the sender of the status of the e-mail message. The on-ramp DSN request is included as part of the fax-mail message sent by the on-ramp gateway when the matching MMoIP dial peer has been configured. The on-ramp DSN response is generated by the SMTP server when the fax-mail message is accepted. The DSN is sent back to the user defined in the mta send mail-from command.
The off-ramp DSN is requested by the e-mail client. The DSN response is generated by the off-ramp gateway when it receives a request as part of the fax-mail message. DSNs can only be generated if the mail client on the SMTP server is capable of responding to a DSN request. Because the SMTP server generates the DSNs, you need to configure both the mail from: and rcpt to: commands for the DSN feature to be operational, for example:
mail from: <user@mail-server.company.com>rcpt to: <fax=555-1212@company.com> NOTIFY=SUCCESS,FAILURE,DELAYThree different states can be reported back to the sender as follows:
•
Delay—message delivery was delayed.
•
Success—message was successfully delivered to the recipient mailbox.
•
Failure—SMTP server was unable to deliver the message to the recipient.
Note
Because the delivery states are not mutually exclusive, configure store-and-forward fax to generate the messages for all or any combination of these events.
To configure DSN, use the following commands beginning in global configuration mode:
Verifying DSN Configuration
Perform the following tasks to verify the DSN configuration:
•
Use show dial-peer voice and look at the delivery status notification field.
•
Use show running-config to verify that mta send mail-from username and mta send mail-from hostname have been configured. If these commands are not configured, the DSN is delivered to the postmaster defined by the mta send postmaster command.
•
Use show running-config to verify that mta send return-receipt-to username, mta send return-receipt-to hostname, and mta receive generate-mdn have been configured.
•
Send a fax to the on-ramp gateway. When the destination e-mail server receives the fax-mail message and responds to the DSN request, check the mail-from or postmaster user account for the DSN response message. The mail-from or postmaster user account could be a fax machine.
•
Send a fax-mail message to the off-ramp gateway with DSN requested (rcpt to:<fax=555-1212@company.com> NOTIFY=SUCCESS, FAILURE, DELAY). After the off-ramp gateway has processed the fax-mail message, check the original From user's account for the DSN response message.
Configuration Examples
The following is an annotated sample configuration for store-and-forward fax and fax relay using VFCs on a Cisco AS5300 access server:
!version 12.1service timestamps debug uptimeservice timestamps log uptimeno service password-encryptionservice internalservice udp-small-serversservice tcp-small-servershostname fax-gatewayaaa new-modelaaa authentication login fax group radius localaaa authorization exec fax group radiusaaa accounting connection fax stop-only group radiusenable password labusername betatest password 0 passwordip subnet-zeroip host dirt 223.255.254.254ip domain-name cisco.comip name-server 1.14.116.1mgcp package-capability trunk-packagemgcp default-package trunk-packageisdn switch-type primary-5essisdn voice-call-failure 0The following example is for fallback from the T.38 gateway to the T.37 gateway:
voice hunt user-busyThe following example is for global service:
voice service voipfax protocol t38 ls_redundancy 0 hs_redundancy 0call application voice app_libretto_offramp5 tftp://dirt/libretto-test/app_libretto_offramp5.tclcall application voice app_libretto_offramp5 authen-list faxcall application voice app_libretto_offramp5 authen-method gatewaycall application voice app_libretto_offramp5 accounting-list faxcall application voice app_onramp9 tftp://dirt/libretto-test/app_libretto_onramp9.tclcall application voice app_onramp9 authen-list faxcall application voice app_onramp9 authen-method gatewaycall application voice app_onramp9 language 1 encall application voice app_onramp9 accounting-list faxcall application voice app_onramp9 set-location en 0 tftp://dirt/cchiu/WV/en_new/fax receive called-subscriber $d$fax send transmitting-subscriber $s$fax send left-header $s$fax send center-header $t$fax send right-header Page: $p$fax send coverpage enablefax send coverpage email-controllablefax send coverpage comment Cisco cover page commentfax interface-type vfcmta send server 1.14.116.1mta send subject faxmail subject line heremta send origin-prefix Cisco Powered Fax Systemmta send postmaster postmaster@mail-server.cisco.commta send mail-from hostname fax-gateway.commta send mail-from username fax-usermta send return-receipt-to hostname return.host.commta send return-receipt-to username $s$mta receive aliases mmoip-b.cisco.commta receive aliases cisco.commta receive aliases [1.14.120.2]mta receive maximum-recipients 80mta receive generate-mdncontroller T1 0framing esfclock source line primarylinecode b8zspri-group timeslots 1-24interface Ethernet0ip address 1.14.120.2 255.255.0.0no ip directed-broadcastinterface Serial0:23no ip addressno ip directed-broadcastno ip route-cacheisdn switch-type primary-5essno fair-queueinterface FastEthernet0no ip addressno ip directed-broadcastshutdownduplex autospeed autoip default-gateway 1.14.0.1ip classlessip route 223.255.254.0 255.255.255.0 1.14.0.1no ip http serverradius-server host 1.14.116.1 auth-port 1645 acct-port 1646radius-server retransmit 3radius-server key passwordradius-server vsa send accountingradius-server vsa send authenticationThe following example is for the inbound peer of the T.37 on-ramp operation:
dial-peer voice 2 potsapplication app_onramp9incoming called-number 5......direct-inward-dialThe following example is for the outbound peer of the T.37 on-ramp operation:
dial-peer voice 3 mmoipThe following example is to configure the application name and must be input exactly as shown. Note that the MDN and DSN configuration can be set in this peer:
application fax_on_vfc_onramp_app out-bounddestination-pattern 57108..session target mailto:$d$@mail-server.cisco.comThe following example is for the inbound peer of the T.37 off-ramp operation:
dial-peer voice 21 mmoipapplication lib_off_app5incoming called-number 5......information-type faxThe following example is for the outbound peer of the T.37 off-ramp operation. Note that POTS 20 peer has port 0:D which means that when this peer is matched, controller T1-0 is used for the outgoing call:
dial-peer voice 20 potsdestination-pattern 5......port 0:Dprefix 5The following examples are for two different gateways processing the same call for T.38 gateway.
Example 1—Inbound peer for on-ramp gateway:
dial-peer voice 50 potsincoming called-number 1800555....Example 2—Outbound peer for on-ramp gateway:
dial-peer voice 51 voipdestination-pattern 57108..session target ipv4:12.22.95.20Example 3—Inbound peer for off-ramp gateway:
dial-peer voice 61 voipincoming called-number 57108..Example 4—Outbound peer for off-ramp gateway:
dial-peer voice 60 potsdestination-pattern 57108..port 0:Dprefix 57108The following three examples are for on-ramp T.38 fax rollover to T.37 fax rollover which occurs when the destination fax line is busy. Note that the following configuration command must be set first for the T.38 rollover to T.37:
voice hunt user-busyExample 1—Inbound peer of the T.38/T.37 on-ramp rollover operation, which includes the TCL application for rollover operation:
dial-peer voice 70 potsapplication app_lib_rollover15incoming called-number 5......Example 2—Outbound peer of the T.38 on-ramp gateway, which requires a lower preference number than the next matching peer:
dial-peer voice 71 voippreference 1destination-pattern 3746096session target ipv4:1.14.120.109fax protocol t38 ls_redundancy 0 hs_redundancy 0Example 3—Outbound peer of the T.37 onramp operation. Note that the application name below must be input exactly as shown:
dial-peer voice 72 mmoippreference 2application fax_on_vfc_onramp_app out-bounddestination-pattern 3746096session target mailto:$d$@mail-server.cisco.comline con 0exec-timeout 0 0transport input allline aux 0line vty 0 4exec-timeout 0 0password passwordend


