Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

"unknown error" Sending fax ONLY to some fax machines

Hi all,

we've got a very annoying issue. We have delevoped an application that belongs to Cisco router esmtp server to send fax thrtough isdn/fxo interfaces.

With most faxes machines all works great, but with some fax machines happens this:

- 2821 router establish the link with remote fax machine

- handshake begin and terminate correctly.

- begin the trasmission of the page.

- remote fax machine terminate the connection and router send me an "unknown error".

If i use a fax machine instead of router with the same tel number, all works. So the problem is 2821 router with that (is not only one) fax machine.

I've tried many things but i cannot identify the problem.

this is a very basic configuration that i use where this issues exists:

interface BRI0/0/0

no ip address

isdn switch-type basic-net3

isdn overlap-receiving

isdn point-to-point-setup

isdn incoming-voice voice

isdn send-alerting

isdn sending-complete

isdn static-tei 0

!

interface BRI0/0/1

no ip address

isdn switch-type basic-net3

isdn point-to-point-setup

isdn incoming-voice voice

isdn send-alerting

isdn sending-complete

!

ip forward-protocol nd

!

ip http server

ip http access-class 23

ip http authentication local

ip http secure-server

ip http timeout-policy idle 60 life 86400 requests 10000

!

!

!

!

control-plane

!

!

!

voice-port 0/0/0

input gain -2

echo-cancel coverage 32

echo-cancel mode 1

non-linear comfort-noise attenuation 9db

compand-type a-law

cptone IT

description ISDN BRI

threshold noise -90

!

voice-port 0/0/1

no vad

compand-type a-law

cptone IT

timeouts call-disconnect 3

description ISDN BRI

bearer-cap Speech

!

voice-port 0/1/0

no vad

compand-type a-law

cptone IT

timeouts call-disconnect 3

connection plar 0422920169

impedance complex2

description ANALOGICA PRINCIPALE

bearer-cap Speech

!

voice-port 0/1/1

!

!

!

!

!

dial-peer voice 1 pots

description OUTGOING PSTN

destination-pattern .T

port 0/0/0

forward-digits all

!

dial-peer voice 2 mmoip

description FAX OFFRAMP

service offramp-app

information-type fax

incoming called-number .T

!

dial-peer voice 10 pots

description RICEZIONE FAX SU ISDN

service onramp-app

incoming called-number xxxx

fax rate disable

direct-inward-dial

port 0/0/0

forward-digits all

!

dial-peer voice 30 mmoip

description MMOIP ISDN

service fax_on_vfc_onramp_app out-bound

destination-pattern xxxx

information-type fax

session target mailto:xxxxxxx

!

This the error:

554 5.3.0 An unknown error occurred

21 REPLIES
Hall of Fame Super Gold

Re: "unknown error" Sending fax ONLY to some fax machines

Hi, configure:

network-clock-participate wic 0

network-clock-select 1 bri 0/0/0

Please rate if it helps!

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

thank you for your answer.

I have posted only a partial part of the configuration file, and these commands is already entered on router. But the problem persists.

Thank you anyway!

Hall of Fame Super Gold

Re: "unknown error" Sending fax ONLY to some fax machines

Can you try to take "show network-clocks" when the fax is handshaking ?

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

this is the output:

test_sendfax#sh network-clocks

Network Clock Configuration

---------------------------

Priority Clock Source Clock State Clock Type

1 BRI0/0/0 GOOD BRI

10 Backplane GOOD PLL

For me Handshacking goes right. This is what i see on display of the remote fax machine:

- receving call

- receiving page 1

- trasmission error

Thank you

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

using command debug fax relay t300 all-level-1 i see:

*Jul 11 11:58:58.435: %MARS_NETCLK-3-CLK_TRANS: Network clock source transitioned from priority 10 to priority 1

timestamp=5545109 fr-msg-det CSI

timestamp=5545799 fr-msg-det DIS

timestamp=5546529 fr-msg-tx DCS

timestamp=5555229 fr-msg-tx DCS

timestamp=5561009 fr-msg-det CFR

*Jul 11 11:59:18.607: 0/0/0 (22) 5564789 fr-pkt-loss 36

timestamp=5572239 fr-msg-tx EOP

what is thath pkt-loss?

Hall of Fame Super Gold

Re: "unknown error" Sending fax ONLY to some fax machines

I did not see that you're using an esmtp application.

Not sure about fax relay error, in reality this should be store-and-forward, not realy.

A more comphresive look at the configuation should be needed.

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

this is the remaining parts of conf file:

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname test_sendfax

!

boot-start-marker

boot system flash:c2800nm-ipvoicek9-mz.124-18.bin

boot-end-marker

!

logging buffered 51200 warnings

!

no aaa new-model

network-clock-participate wic 0

network-clock-select 1 BRI0/0/0

!

!

ip cef

!

!

ip domain name sendfax.xxxx.com

isdn switch-type basic-net3

!

voice-card 0

codec complexity medium

no dspfarm

!

!

voice call send-alert

voice call disc-pi-off

voice call convert-discpi-to-prog

voice call carrier capacity active

voice rtp send-recv

!

voice service pots

!

voice service voip

fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco

h323

h245 caps mode restricted

modem passthrough nse codec g711ulaw

!

!

voice class codec 1

codec preference 1 g729r8

!

!

!

voice class h323 1

h225 timeout tcp establish 1

h225 timeout setup 1

call start fast

!

!

!

!

!

!

!

fax receive called-subscriber $d$

fax interface-type fax-mail

mta send server 172.16.10.215 port 25

mta send subject "Fax from personal fax"

mta send with-subject both

mta send postmaster postmaster@sendfax.xxxx.com

mta receive aliases sendfax.xxxx.com

mta receive maximum-recipients 5

mta receive generate mdn

!

application

service onramp-app flash://app_faxmail_onramp.2.0.1.3.tcl

!

service faxdetect flash:fax_detect_2.1.2.0.tcl

!

service offramp-app flash://app_faxmail_offramp.2.0.1.1.tcl

!

!

thank you

Hall of Fame Super Gold

Re: "unknown error" Sending fax ONLY to some fax machines

You need to do fax relay, store-and forward, or both ? Specific debug for the intended use should be enabled then.

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

store-and-forward .

Hall of Fame Super Gold

Re: "unknown error" Sending fax ONLY to some fax machines

Disable relay the:

voice service voip

fax protocol none

fax-relay sg3-to-g3

To troubleshoot i would check "debug voice application script" to see if the scripts are invoked, etc.

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

*Jul 11 12:39:42.531: //33//TCL :/tcl_InfotagObjCmd: infotag get cfg_avpair_exists accounting-list

*Jul 11 12:39:42.531: //33//TCL :/tcl_InfotagGetObjCmd: infotag get cfg_avpair_exists accounting-list

*Jul 11 12:39:42.531: //33//AFW_:/vtr_cf_avpair_exists: argc 3 argindex 2

*Jul 11 12:39:42.531: //33//TCL :/tcl_InfotagObjCmd: infotag get cfg_avpair accounting-list

*Jul 11 12:39:42.531: //33//TCL :/tcl_InfotagGetObjCmd: infotag get cfg_avpair accounting-list

*Jul 11 12:39:42.531: //33//AFW_:/vtr_cf_avpair: argc 3 argindex 2

*Jul 11 12:39:42.531: //33//PACK:/tcl_ParamReadObjCmd: accounting-list

*Jul 11 12:39:42.531: //33//TCL :/tcl_PutsObjCmd: Accounting method is fax

*Jul 11 12:39:42.531:

*Jul 11 12:39:42.531: //33//TCL :/tcl_InfotagObjCmd: infotag get cfg_gateway_id

*Jul 11 12:39:42.531: //33//TCL :/tcl_InfotagGetObjCmd: infotag get cfg_gateway_id

*Jul 11 12:39:42.531: //33//AFW_:/vtr_cf_gateway_id: argc 2

*Jul 11 12:39:42.531: //33//TCL :/tcl_InfotagObjCmd: infotag get leg_incoming

*Jul 11 12:39:42.531: //33//TCL :/tcl_InfotagGetObjCmd: infotag get leg_incoming

*Jul 11 12:39:42.531: //33//AFW_:/vtr_lg_incoming: argc 2

*Jul 11 12:39:42.531: //33//TCL :/tcl_HandoffObjCmd: handoff appl 33 lib_off_app au-ctrl=0, acc-ctrl=0, au-method=4, accounting-list=fax, au-status=1, account=test_sendfax.sendfax.xxxx.com

*Jul 11 12:39:42.531: //33//TCL :/tcl_handoff_common: appl 33 lib_off_app au-ctrl=0, acc-ctrl=0, au-method=4, accounting-list=fax, au-status=1, account=test_sendfax.sendfax.xxxx.com

*Jul 11 12:39:42.531: //33//Tcl :/tcl_parseCallID_vartagObj: VARTAG Translation Leg Count=1

*Jul 11 12:39:42.531: //33//TCL :/tcl_handoff_common: Handing off Legs [33 ] to lib_off_app with args=au-ctrl=0, acc-ctrl=0, au-method=4, accounting-list=fax, au-status=1, account=test_sendfax.sendfax.xxxx.com

Hall of Fame Super Gold

Re: "unknown error" Sending fax ONLY to some fax machines

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

i have already read these documents, but nothing useful.

I have tests with other ios version:

- with 12.4.15.T and 12.4.15.T1 with 200 sent faxes 20% of them are not sent (same numbers every time)

- with 12.4.15.T4 number that with 12.4.15.T works with T4 does not work.

I think there is a relationship between IOS and TCL scripts. But i cannot see any error or differences debugging with different IOS on same numbers.

Any ideas?

Thank you

Hall of Fame Super Gold

Re: "unknown error" Sending fax ONLY to some fax machines

For sure there can be problems using different IOS. You can also try 12.4(3j) that is one of the most stable.

For the numbers that don't work you could compare debug to one that works. Sometime lowering speed and disabling EC is necessary to make fax work.

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

with 12.4(3j) the connection to remote fax does not starts :

553 5.1.1 xxxxx@sendfax.xxxx.com> no mapping (xxxxxx)

451 4.3.0 Internal error prevented operation; closing socket

554 5.4.0 Network connection failed

At this point i need to know by someone that use esmtp and fax wich IOS use with wich TCL script.....

Cross debugging has no result because seems that are no evident error between IOS;simply the connection or do not start or when connection occurs it terminate without apparent reason

thank oyou anyway

Hall of Fame Super Gold

Re: "unknown error" Sending fax ONLY to some fax machines

Can you tray "fax send max-speed 7200" before calling one troubled number ? And if it works bump up speed until the max is found.

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

hmmmmm

with one fax that before was not working...now works using the latest IOS avaiable lowing max-speed to 9600.

I had already used max-speed settings with t4-t1 IOS, but seems that this was not affected changes on those IOS(bug?).

However there are some faxes machine that still not working.

There are some other connection parameters?

thank you

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

Is there anyone that have been experiencing same issues?

Thanks

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

debugging foip i've got a : protocol error (111) message with fax machines where i see offramp problem.

Anyone has seen this error before ?

thanks

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

Any Answer to this problem I am acctually receiving the same error code on VOIP tranfered calls. The Origional Cause 111.

We are using Call Manager 4.1(3).

New Member

Re: "unknown error" Sending fax ONLY to some fax machines

This turned out to be the wrong protocol on the PRI circuits. Changed it via call manager to ni2 from what it was and the problem went away.

We use MGCP gateways for our PRIs with Call Manager 4.1(3)

996
Views
0
Helpful
21
Replies
CreatePlease to create content