Configuring Analog Ports for Fax Machine

Answered Question
Aug 27th, 2010

Good day all,

I have a cisco router 2811 (Cisco Unified CME Ver7.1).

So, I have connected a fax machine in one port of a card VIC3-4FXS/DID.

Is the following configuration right or I have to make changes???

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
modem passthrough nse codec g711alaw

voice translation-rule 700
rule 1 /477551/ /101/

voice translation-profile Fax
translate called 700

voice-port 0/1/0
translation-profile incoming Fax
compand-type a-law
cptone GR
bearer-cap Speech

dial-peer voice 104 pots
corlist outgoing call-full
destination-pattern 02.........
direct-inward-dial
port 0/1/0
forward-digits 10

ephone-dn  6
number 101

Could anyone help me with this???

Thanks


Correct Answer by Felipe Garrido about 6 years 6 months ago

As per my first response, the below configuration will work.

Here is a simplified version that should work in most scenarios,

Fax machine DID: 477551

Fax machine connected to 0/1/0

dial-peer voice 1 pots

destination-pattern 477551

port 0/1/0

voice-port 0/1/0

cptone

There is no need to translate the DNIS.

-Felipe

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Steven Holl Fri, 08/27/2010 - 06:33

How are these calls going out to the PSTN?  That's going to dictate how your fax configuration will look.

i.margariti Fri, 08/27/2010 - 06:36

I don t understand what do you mean by "How are these calls going out to the PSTN".

Can you explain?

Felipe Garrido Fri, 08/27/2010 - 06:36

What type of PSTN connection will the site use (PRI/FXO/SIPtrunk)? If it's PRI or FXO then no configuration changes need to be made as the call will not traverse any VoIP call legs. If SIP trunk, then it depends on what the SIP trunk provider supports.

Is the config posted the current config? Can you verify that the fax machine is connected to port 0/1/0?

Most of that configuration, if the fax does connect to 0/1/0, is wrong.

Here is a simplified version that should work in most scenarios,

Fax machine DID: 1000

Fax machine connected to 0/1/0

dial-peer voice 1 pots

destination-pattern 1000

port 0/1/0

voice-port 0/1/0

cptone

Note that translation rules should not be applied to analog ports as they will not take effect unless receiving digits enbloc which is not done by FXS ports. Also, the direct-inward-dial, should typically only be used for PRI/BRI interfaces. It's definitely not used on FXS or FXO ports.

-Felipe

i.margariti Fri, 08/27/2010 - 06:49

Yes, this is the running configuration but it didn t works.

I am sure tha the fax machine is connected to the right port.


I used the translation rule to configure each line to ring to a spesific phone.

So, how can I configure the number of the fax 477551 without a translation rule?

Felipe Garrido Fri, 08/27/2010 - 06:51

I don't understand why you need to translate the number. Just modify the destination-pattern of the pots dial-peer that points to the port.

Please re-read my previous post.

-Felipe

i.margariti Fri, 08/27/2010 - 07:02

It is the first time that I am trying to connect a fax machine to an fxs port. All the other times I used an ATA.

This is some of the cofiguration:

interface BRI0/0/0
  description 477550
  no ip address
  ip flow ingress
  isdn switch-type basic-net3
  isdn point-to-point-setup
  isdn incoming-voice voice
  isdn sending-complete

So I am using the following

voice translation-rule 900
  rule 1 /477550/ /100/
  rule 2 /477552/ /102/
  rule 3 /477553/ /103/
  rule 4 /477554/ /104/
  rule 5 /477555/ /105/

Finally, I have the number of the fax which is the 477551.

How can I configure it?

Correct Answer
Felipe Garrido Fri, 08/27/2010 - 07:04

As per my first response, the below configuration will work.

Here is a simplified version that should work in most scenarios,

Fax machine DID: 477551

Fax machine connected to 0/1/0

dial-peer voice 1 pots

destination-pattern 477551

port 0/1/0

voice-port 0/1/0

cptone

There is no need to translate the DNIS.

-Felipe

i.margariti Fri, 08/27/2010 - 07:08

Ok, thanks for your help.

I am going to try this on the site on Monday.

Actions

This Discussion