cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2626
Views
0
Helpful
16
Replies

CME SIP Fax Error "Reason: Q.850;cause=172"

Hello Community,


There is the following issue:

Upon using a SIP trunk between a CME 4.2 and ITSP for our incoming/outgoing calls, we face failures on sending and receiving faxes.

In respect to the Call Manager Express Fax configuration, the request from the ITSP was to use T.38 + fallback to G.711a with bit rate 9600, so the corresponding config was:

voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service sip moved-temporarily
redirect ip2ip
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw
h323
  call start slow
sip
  registrar server expires max 1200 min 300

dial-peer voice 101 voip

description PSTN OUTGOING CALLS

translation-profile outgoing OUTGOING_NEW

destination-pattern .T

no notify redirect ip2ip

session protocol sipv2

session target ipv4:10.102.254.91:5060

session transport udp

dtmf-relay sip-notify h245-alphanumeric

codec g711alaw

fax rate 9600

fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

no vad

!

dial-peer voice 1 voip

description *** Incoming Calls ***

translation-profile incoming INCOMING_NEW

no notify redirect ip2ip

voice-class sip dtmf-relay force rtp-nte

session protocol sipv2

session target ipv4:10.102.254.91:5060

session transport udp

incoming called-number .T

dtmf-relay rtp-nte

codec g711alaw

fax rate 9600

fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw

!       

The problem is that during the communication the CME ends the call with BYE message, with noexistent nonexistent Q.850 reason - cause 172:

BYE sip:029331152@10.102.254.91:5060;transport=udp SIP/2.0

Via: SIP/2.0/UDP 10.102.2.86:5060;branch=z9hG4bK916CAA

From: "FAX" <sip:029335502@10.102.2.86>;tag=BA6CFBCC-2B4

To: <sip:029331152@10.102.254.91>;tag=31e7279a-CC-41

Date: Mon, 31 Jan 2011 10:37:01 gmt

Call-ID: DA624F94-2C5C11E0-A413D59E-BA82A33D@10.102.2.86

User-Agent: Cisco-SIPGateway/IOS-12.x

Max-Forwards: 70

Timestamp: 1296470221

CSeq: 103 BYE

Reason: Q.850;cause=172

Content-Length: 0

However, according ITU Q850 causes can be up to 127.

Any suggestions on this?

Many thanks in advance,

S

16 Replies 16

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Hi,

can you send the output of the ff debugs

debug voip vtsp all

debug voip rtp session named-event

debug fax relay t30 all-level-1

debug ccsip message

Let me know what the dialled fax number is.

Please rate all useful posts

Thanks for your prompt response, please find attached the debugs.

Fax 029335502 was "calling" fax 029641066

Let me know if anything else is required.

Kind regards,

S

I have had a look at the debugs and here is what I observed. The highlighted part of the debug showed that after the call setup was completed and a new invite was initiatiated to switch over to fax mode however it looks as though the DSP is unable to switch over to t.38. as shown in the line "an 31 14:19:03.000: //51458/0EEE0E25A564/VTSP:(50/0/18):-1:0:35/vtsp_dsm_error_cb:
Jan 31 14:19:03.000: //51458/0EEE0E25A564/VTSP:(50/0/18):-1:0:35/vtsp_dsm_update_disconnect_text: 
   Disconnect Text=Dsp programming failed"

I am still investigating that error, looks like a DSP issue

From: <029641066>;tag=257a82f5-CC-26
To: "FAX" <029335502>;tag=BACA5ED0-344
CSeq: 1 INVITE
Contact: <029641066>
Max-Forwards: 69
Content-Length: 425
Content-Type: application/sdp

v=0
o=Vivacom 1475680 1475681 IN IP4 10.102.254.91
s=Sip Call
c=IN IP4 10.102.254.91
t=0 0
m=image 12726 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400

a=T38FaxRateManagement:transferredTCF
a=T38FaxUdpEC:t38UDPRedundancy
m=audio 12728 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=ptime:20
a=silenceSupp:off - - - -
a=ecan:fb on -
a=X-fax
a=fmtp:101 0-15

Jan 31 14:19:03.000: //51458/0EEE0E25A564/VTSP:(50/0/18):-1:0:35/vtsp_dsm_error_cb:
Jan 31 14:19:03.000: //51458/0EEE0E25A564/VTSP:(50/0/18):-1:0:35/vtsp_dsm_update_disconnect_text: 
   Disconnect Text=Dsp programming failed

Jan 31 14:19:03.000: //51458/0EE

Please rate all useful posts

Do you have DSPs or PVDMs provisioned on the router?

Please rate all useful posts

We have a PVDM installed on the CME

PVDM Slot 1:
        64-channel (G.711) Voice/Fax PVDMII DSP SIMM PVDM daughter card

Additionally, this is part of the configuration that I havent included in the first place.

sccp ccm group 123
bind interface FastEthernet0/0
associate ccm 1 priority 1
associate profile 2 register mac001d468771d8
associate profile 1 register mtp001d468771d8
switchover method immediate
switchback method immediate
switchback interval 3
!
dspfarm profile 2 transcode 
codec g711ulaw
codec g711alaw
codec ilbc
codec g723r63
codec g723r53
codec gsmamr-nb
codec g729ar8
codec g729abr8
maximum sessions 3
associate application SCCP
!
dspfarm profile 1 conference 
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum conference-participants 16
maximum sessions 3
associate application SCCP
!

can you send a sh run and sh diag or show inventory

Please rate all useful posts

Of course,

Please find the "show run" (part of it is removed) and "show diag" , "show inventory"

Thanks,

S

What is your fax machine connected to? What type of fax machine eare you using. Is the fax connected to the gatway?

Please rate all useful posts

Hello,

The fax machine is connected to an ATA;

ephone-18 Mac:001D.45E9.4486 TCP socket:[26] activeLine:0 REGISTERED in SCCP ver 1/1
mediaActive:0 offhook:0 ringing:0 reset:0 reset_sent:0 paging 0 debug:0 caps:6
IP:X.X.X.X 14667 ATA Phone  keepalive 0 max_line 2 dual-line
button 1: dn 18 number 5502 CH1   IDLE         CH2   IDLE

Since it is connected via the ATA, I believe that it is correct connected to the SIP gateway (based on the fact that the rest of the phones are able to make/ receive calls).

I will try to find the type of a fax (difficult to today though since it is located at a remote office).

Many thanks,

S

right. You will need to have the proper configuration for the ATA. The ATA has its own setting for faxes. DO you already have that

?

Please rate all useful posts

OK, I have configured only the following (i thought that the fax config is under the general settings and not the ATA itself).

ephone  18
device-security-mode none
description ATA 1st Port (FAX)
mac-address 001D.45E9.4486
ephone-template 1
type ata
button  1:18
!

So do you mean that it need specific config ON the device? Any suggestions?

Hi,

Can you do this for me.

1. issue the command

show voice dsp

example below

gwa-1#show voice dsp


DSP  DSP             DSPWARE CURR  BOOT                         PAK     TX/RX
TYPE NUM CH CODEC    VERSION STATE STATE   RST AI VOICEPORT TS ABORT  PACK COUNT
==== === == ======== ======= ===== ======= === == ========= == ===== ===========
=
C549 001 01 {medium}  4.3.14 IDLE  idle      0  0 2/0:23    01     0          0/0



2. run a second command "test dsp 1", then select option 1.

note 1 is the dsp number in the output from the show voice dsp command.

Please send the result of this test to me for all the dsps you have

Please rate all useful posts

Hello,

Attached you will find the log from the "show voice dsp". Unfotunatelly, the "test dsp 1" returns "This command is not supported."

S