FAX to EMAIL on UC500 using analog line - CONFIGURATION EXAMPLE

I just wanted to post a fax to email example so everyone can benefit from it. I was looking for it and could not find it, so now that I have implemented it.. I hope you can us it. This is for ANALOG FAX not PRI... PRI would be slightly different.

1) You have to download an application from Cisco's website. It is under Voice Products.

app_faxmail_onramp.2.0.1.3.tcl

Load this file onto the FLASH of your UC500 using TFTP and "copy tftp flash" command.
** NEXT add the config to load the applicaiton **
uc520(config)# application
uc520(config-app)# service onramp flash:app_faxmail_onramp.2.0.1.3.tcl

in global configuration mode of UC500 type the following: (Not all are needed)
-------------------------------
fax interface-type fax-mail
mta send server 192.168.1.2 port 25 (***substitute your mail srvr IP)
mta send subject Fax from UC500
mta send with-subject both
mta send postmaster administrator@domain.com
mta send mail-from hostname UC500.domain.com
mta send mail-from username $s$
mta send return-receipt-to hostname domain.com
mta send return-receipt-to username administrator
mta receive aliases domain.com
mta receive aliases wmc2k3-sbs.domain.com
mta receive aliases mail.domain.com
mta receive aliases mail.domain.com
mta receive aliases 192.168.1.2 (***substitute your mail server IP)
mta receive maximum-recipients 10
mta receive generate permanent-error
--------------------------------------------------

Find the FXO port you plugged your ANALOG phone line into - mine is 0/1/1
-----------------------------------------------
voice-port 0/1/1
connection plar opx 2031111111 (**THIS # can be anything unique)
caller-id enable
!
dial-peer voice 7 mmoip
description FAX to SERVICE Dept
service fax_on_vfc_onramp_app out-bound
destination-pattern 2031111111 (**Match PLAR command above)
information-type fax
session target mailto:sales@domain.com (**Any email address)
!
dial-peer voice 6 pots
description FAX to SERVICE
service onramp
incoming called-number T (**This means MATCH any number)
direct-inward-dial
port 0/1/1

*** Make sure to enable mail relay on your mail server for your UC500 internal address.

Tell me how it goes!

0
Your rating: None

Take a look a this App Note

Take a look a this App Note we wrote. It lists the script you need for fax detection (to combine voice and fax on the same inbound POTS line):

http://supportwiki.cisco.com/wiki/images/f/f3/Uc500_onramp.pdf

Marcos

IOS ?

Hi, what ios version did you use ? And what model UC520 or UC500 ?

Thank's

my fauly, its working

Nevermind, I had entered the wrong hostname for my uc520.

All is well!

Tried, but no luck

I tried the configuration on my uc500, but I keep getting the following error:

%LAPP_ON_MSGS-6-LAPP_ON_CAUSE_DMSP_DISCONNECTED_NO_ROUTE: DMSP - no route - likely - ESMTP client d
id not connect to remote server

My uc500 and my mail server are not on the same subnet, but I do have the mail server to accept relay email from the uc500

I am out of ideas, any would be appriciated.

Fax and Voice

Is there any way to detect if its a fax or a voice call? there for you can just give out the main number as you voice and fax line?

Add service to application

Excellent post, I just want to add one thing. I followed the above configuration, but had to configure one additional piece in order to get Fax-to-Email to work; this may be obvious to others, but it wasn’t for me:

# I had to explicitly define the service application for use on my pots dial peer #
# I named the service “onramp” at location flash:app_faxmail_onramp.2.0.1.3.tcl #

uc520(config)# application
uc520(config-app)# service onramp flash:app_faxmail_onramp.2.0.1.3.tcl

# The dial-peers will now work identically to jnikoloatos configuration #

# For my setup, I chose a DID off my PRI, no need to plar from analog line #
# Here is a sample config for this setup #

dial-peer voice 7 mmoip
description FAX to SERVICE Dept
service fax_on_vfc_onramp_app out-bound
destination-pattern 2031111111 (Matches incoming called-number)
information-type fax
session target mailto:admin@domain.com
!
dial-peer voice 6 pots
description FAX to SERVICE
service onramp
incoming called-number 2031111111 (Matches on the 10 digits handed off by telco)
direct-inward-dial
!

Thanks jnikoloatos

jnikolatos's picture

Hey - thanks, I totally

Hey - thanks, I totally forgot to write that one in the configuration example.... You are correct!!
I will correct the configuration.

John
NIKTEK LLC

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.