FAX to EMAIL on UC500 using analog line - CONFIGURATION EXAMPLE

jnikolatos's picture

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!

Share/Save
0
No votes yet
Your rating: None

Comments

stuv's picture

corrupt images coming through with onramp

Hi there
I have a UC520, and am using T.37 onramp to pick up faxing and send it out with email.
Config works to answer the call, onramp processes it, and smtp session sends it to email address that I have specified.
The problem is that on 70% of the times, the  fax transmission does not complete, and the email comes through with .TIFF attachment that is only 64Bytes.
What could it be?
dial-peer voice 12 mmoip description FAX to SERVICE Dept service fax_on_vfc_onramp_app out-bound destination-pattern ******* information-type fax session target mailto:*****@******.net image encoding MH image resolution fine mdn dsn failure
 
fax receive called-subscriber $d$fax send max-speed 9600fax interface-type fax-mailmta send server 194.154.128.2 port 25mta send subject Incoming fax from TPOCmta send with-subject bothmta send postmaster fax@thepointofcontact.commta send mail-from hostname ccm.thepointofcontact.commta receive aliases thepointofcontact.commta receive aliases mail.thepointofcontact.commta receive maximum-recipients 10mta receive generate permanent-error!application  service onramp flash:app_faxmail_onramp.2.0.1.3.tcl
dial-peer voice 13 pots description DID ISDN BRI ******** service onramp incoming called-number ****** direct-inward-dial port 0/1/0
voice translation-rule 8 rule 1 /******/ /305/
voice translation-profile Ext305_Called_8 translate calling 1111 translate called 8
 
interface BRI0/1/0 no ip address isdn switch-type basic-net3 isdn incoming-voice voice trunk-group ALL_BRI 64end

daysleeper's picture

Works but i have a little problem...

Hi to all,
i have tryed to configure this on my uc520 and all work fine, the problem is when i receive a fax on another telephone number, if i try to transfer the call to the destination-pattern i have configure on the mmoip dial peer i receive a busy signal.
I have tryed to create the extension with the same number of the destination pattern on the cme but don't work.
What can i try to make this work? I'm thinking about create another dial-peer only for internal call but i'm not sure this can work at the same time of the other dial-peer.
Suggestion?

P.S.
Someone have tryed to configure on the same uc off-ramp and on-ramp? I'm trying but at the moment only off-ramp work.
When i send the mail i receive a message from system administrator about a delivery error i think is a exchange problem but i'm not really sure.

P.P.S.
on-ramp and off-ramp works(the issue about the call transfer is still here)!!!^__^
Now the only thing left about this is the report of the sended and received fax.(It can generate the report?)

jnikolatos's picture

Make a MMOIP dial peer and a

Make a MMOIP dial peer and a POTS dial-peer for each one (individually)... that should work. I have this working for multiple people on PRI and POTS lines.

trinity's picture

Hi, I know this is a site for

Hi,

I know this is a site for the UC500 but I am trying to configure this on the 2851 using PRI.
Forgive me for being abit of a novice but I've looked at a few articles and some configs show the use of the onramp and fax detect apps whilst others show the use of just the onramp and offramp. I'm slightly confused at what I'm mean to be using.
Also we are currently using Exchange 2007, do I need to configure a new smtp receive connector for this set up?

Thanks, any help is much appreciated!

marchern's picture

Cisco.com Configuration Example

This link has a good example, though some commands are deprecated (you will have to use the new format, which IOS will warn you about):

http://www.cisco.com/en/US/tech/tk652/tk777/technologies_tech_note09186a...

Marcos

trinity's picture

Thanks for the link marcos. I

Thanks for the link marcos.

I had a go at the config, but I must be doing something wrong. The test fax seems to just go through the physical fax machine as normal but does not attempt to go through email.

I have tested with 'debug mmoip send email test@domain.com' and have recieved the email with no problems, so it appears that the server is configured properly.

Any ideas?

trinity's picture

Its ok, i have it working

Its ok, i have it working now. I just had to configure just the extension rather then full number.

Thanks for your help.

marchern's picture

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

lpaquin's picture

IOS ?

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

Thank's

dsmith's picture

my fauly, its working

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

All is well!

dsmith's picture

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.

Cee_Lo's picture

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?

optimati's picture

Fax and Voice Followup

Great question from Cee_Lo...

"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?"

Ideas?

marchern's picture

Yes there is

A script for "fax detection". I don't particularly like it though. You have to either front end the call with an IVR selection menu, or wait 8-9 seconds for the system to realize this is a fax call. But it works. More info on:

https://www.myciscocommunity.com/docs/DOC-1516

and some training on:

https://www.myciscocommunity.com/docs/DOC-1375

Marcos Hernandez
Technical Marketing Engineer
Cisco Systems, Inc.

stoic's picture

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.