cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7246
Views
0
Helpful
4
Replies

Debug FAX issues

mcecilia
Level 1
Level 1

Hello Sirs,

I need to debug T30 messages in VG224, in both sides of this architecture:

FAX -- VG224 -- MGCP -- CUCM -- CISCO 2911 -- PRI -- PSTN -- SIP TRUNK -- CUCM -- MGCP -- VG224 -- FAX

I use the command "debug fax relay t30 all-level-1" and I do not receive any info about T30 messages.

I am connected to VG224 using a console cable, and to the other using telnet with "terminal monitor" enabled.

Can you help?

Thanks                  

1 Accepted Solution

Accepted Solutions

Try to follow these instructions:

MGCP VoIP Gateway

Configuring your Cisco VoIP Gateway to ensure that your gateways are properly configured to support T.38

fax relay protocol. To enable CA controlled mode in cisco router, configure the following: 

Router(config)# no mgcp fax t38 inhibit

Router(config)# mgcp package-capability fxr-package


However, the following are items to verify if the solution is not working:  

The fxr-package must be visible under "MGCP supported packages" when running the command SHOW MGCP. If it is  not present you have to add it with the command "mgcp package-capability fxr-package" and reload the gateway after. 

The presence of the following two commands will remove the fxr-package from the gateway config after reload: 

o ccm-manager config server [IP addr]

o ccm-manager config

You will have to configure the fxr-package as default-package and reload mgcp gateway again. 

The following commands can be executed: 

o no ccm-manager fax protocol cisco - Disable the Cisco fax protocol 

o no mgcp fax t38 ecm - To enable or disable ECM (Error Correction Mode) 

o mgcp fax rate XXXXXX -To configure the maximum fax rate 

o mgcp fax t38 ls_redundancy X -To configure Low Speed fax redundancy 

o mgcp fax t38 hs_redundancy X -To configure High Speed fax redundancy

Add fax config of VG and 2911.

Regards.

View solution in original post

4 Replies 4

"debug fax relay t30 all" works if fax is transported with T.38 protocol. If you use fax passthrough, debug doesn't work.

What protocol is configured?

Regards.

Hello,

It seems it should go into T38, but when I run "show voice call summary during the fax transmision, I do not see it, only PCMA and PCMU".

This is my actual "show mgcp":

jb3-2-vg#show mgcp

MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE

MGCP call-agent: 192.168.69.13 2427 Initial protocol service is MGCP 0.1

MGCP validate call-agent source-ipaddr DISABLED

MGCP validate domain name DISABLED

MGCP block-newcalls DISABLED

MGCP send SGCP RSIP: forced/restart/graceful/disconnected DISABLED

MGCP quarantine mode discard/step

MGCP quarantine of persistent events is ENABLED

MGCP dtmf-relay voip codec all mode out-of-band

MGCP dtmf-relay for voAAL2 is SDP controlled

MGCP voip modem passthrough mode: NSE, codec: g711alaw, redundancy: DISABLED,

MGCP voaal2 modem passthrough disabled

MGCP voip modem relay: Disabled

MGCP T.38 Named Signalling Event (NSE) response timer: 200

MGCP Network (IP/AAL2) Continuity Test timer: 200

MGCP 'RTP stream loss' timer disabled

MGCP request timeout 500

MGCP maximum exponential request timeout 4000

MGCP rtp unreachable timeout 1000 action notify

MGCP gateway port: 2427, MGCP maximum waiting delay 3000

MGCP restart delay 0, MGCP vad DISABLED

MGCP rtrcac DISABLED

MGCP system resource check DISABLED

MGCP xpc-codec: DISABLED, MGCP persistent hookflash: DISABLED

MGCP persistent offhook: ENABLED, MGCP persistent onhook: DISABLED

MGCP piggyback msg ENABLED, MGCP endpoint offset DISABLED

MGCP simple-sdp ENABLED

MGCP undotted-notation DISABLED

MGCP codec type g711ulaw, MGCP packetization period 20

MGCP JB threshold lwm 30, MGCP JB threshold hwm 150

MGCP LAT threshold lwm 150, MGCP LAT threshold hwm 300

MGCP PL threshold lwm 1000, MGCP PL threshold hwm 10000

MGCP CL threshold lwm 1000, MGCP CL threshold hwm 10000

MGCP playout mode is adaptive 60, 40, 1000 in msec

MGCP Fax Playout Buffer is 300 in msec

MGCP media (RTP) dscp: ef, MGCP signaling dscp: af31

MGCP default package: line-package

MGCP supported packages: gm-package dtmf-package trunk-package line-package

                         hs-package rtp-package atm-package ms-package dt-package

                         mt-package sst-package fxr-package md-package

MGCP Digit Map matching order: shortest match

SGCP Digit Map matching order: always left-to-right

MGCP VoAAL2 ignore-lco-codec DISABLED

MGCP T.38 Max Fax Rate is 7200 bps

MGCP T.38 Fax is ENABLED

MGCP T.38 Fax ECM is ENABLED

MGCP T.38 Fax NSF Override is DISABLED

MGCP T.38 Fax Low Speed Redundancy: 0

MGCP T.38 Fax High Speed Redundancy: 0

MGCP Fax relay SG3-to-G3: ENABLED

MGCP Fax relay ANSam suppression: DISABLED

MGCP control bind :DISABLED

MGCP media bind :DISABLED

MGCP Upspeed payload type for G711ulaw: 0,  G711alaw: 8

MGCP Dynamic payload type for Cisco fax indication: 96, Cisco fax ack: 97

MGCP Static payload type for G.726-16K codec

MGCP Dynamic payload type for G.726-24K codec

MGCP Dynamic payload type for G.726-32K codec

MGCP Dynamic payload type for G.Clear codec

MGCP Dynamic payload type for NSE is 100

MGCP Dynamic payload type for NTE is 99

MGCP rsip-range is enabled for TGCP only.

MGCP Comedia role is NONE

MGCP Comedia check media source is DISABLED

MGCP Comedia SDP force is DISABLED

MGCP g729 variants use static payload type and contain annexb in SDP

MGCP Guaranteed scheduler time is DISABLED

MGCP Disconnect delay error recovery DISABLED

MGCP DNS stale threshold is 30 seconds

jb3-2-vg#show mgcp

MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE

MGCP call-agent: 192.168.69.13 2427 Initial protocol service is MGCP 0.1

MGCP validate call-agent source-ipaddr DISABLED

MGCP validate domain name DISABLED

MGCP block-newcalls DISABLED

MGCP send SGCP RSIP: forced/restart/graceful/disconnected DISABLED

MGCP quarantine mode discard/step

MGCP quarantine of persistent events is ENABLED

MGCP dtmf-relay voip codec all mode out-of-band

MGCP dtmf-relay for voAAL2 is SDP controlled

MGCP voip modem passthrough mode: NSE, codec: g711alaw, redundancy: DISABLED,

MGCP voaal2 modem passthrough disabled

MGCP voip modem relay: Disabled

MGCP T.38 Named Signalling Event (NSE) response timer: 200

MGCP Network (IP/AAL2) Continuity Test timer: 200

MGCP 'RTP stream loss' timer disabled

MGCP request timeout 500

MGCP maximum exponential request timeout 4000

MGCP rtp unreachable timeout 1000 action notify

MGCP gateway port: 2427, MGCP maximum waiting delay 3000

MGCP restart delay 0, MGCP vad DISABLED

MGCP rtrcac DISABLED

MGCP system resource check DISABLED

MGCP xpc-codec: DISABLED, MGCP persistent hookflash: DISABLED

MGCP persistent offhook: ENABLED, MGCP persistent onhook: DISABLED

MGCP piggyback msg ENABLED, MGCP endpoint offset DISABLED

MGCP simple-sdp ENABLED

MGCP undotted-notation DISABLED

MGCP codec type g711ulaw, MGCP packetization period 20

MGCP JB threshold lwm 30, MGCP JB threshold hwm 150

MGCP LAT threshold lwm 150, MGCP LAT threshold hwm 300

MGCP PL threshold lwm 1000, MGCP PL threshold hwm 10000

MGCP CL threshold lwm 1000, MGCP CL threshold hwm 10000

MGCP playout mode is adaptive 60, 40, 1000 in msec

MGCP Fax Playout Buffer is 300 in msec

MGCP media (RTP) dscp: ef, MGCP signaling dscp: af31

MGCP default package: line-package

MGCP supported packages: gm-package dtmf-package trunk-package line-package

                         hs-package rtp-package atm-package ms-package dt-package

                         mt-package sst-package fxr-package md-package

MGCP Digit Map matching order: shortest match

SGCP Digit Map matching order: always left-to-right

MGCP VoAAL2 ignore-lco-codec DISABLED

MGCP T.38 Max Fax Rate is 7200 bps

MGCP T.38 Fax is ENABLED

MGCP T.38 Fax ECM is ENABLED

MGCP T.38 Fax NSF Override is DISABLED

MGCP T.38 Fax Low Speed Redundancy: 0

MGCP T.38 Fax High Speed Redundancy: 0

MGCP Fax relay SG3-to-G3: ENABLED

MGCP Fax relay ANSam suppression: DISABLED

MGCP control bind :DISABLED

MGCP media bind :DISABLED

MGCP Upspeed payload type for G711ulaw: 0,  G711alaw: 8

MGCP Dynamic payload type for Cisco fax indication: 96, Cisco fax ack: 97

MGCP Static payload type for G.726-16K codec

MGCP Dynamic payload type for G.726-24K codec

MGCP Dynamic payload type for G.726-32K codec

MGCP Dynamic payload type for G.Clear codec

MGCP Dynamic payload type for NSE is 100

MGCP Dynamic payload type for NTE is 99

MGCP rsip-range is enabled for TGCP only.

MGCP Comedia role is NONE

MGCP Comedia check media source is DISABLED

MGCP Comedia SDP force is DISABLED

MGCP g729 variants use static payload type and contain annexb in SDP

MGCP Guaranteed scheduler time is DISABLED

MGCP Disconnect delay error recovery DISABLED

MGCP DNS stale threshold is 30 seconds

The problem was finally in the Gateway that holds the PRI, that was not configured for T38. Then, VG224 didn´t go to T38.

Try to follow these instructions:

MGCP VoIP Gateway

Configuring your Cisco VoIP Gateway to ensure that your gateways are properly configured to support T.38

fax relay protocol. To enable CA controlled mode in cisco router, configure the following: 

Router(config)# no mgcp fax t38 inhibit

Router(config)# mgcp package-capability fxr-package


However, the following are items to verify if the solution is not working:  

The fxr-package must be visible under "MGCP supported packages" when running the command SHOW MGCP. If it is  not present you have to add it with the command "mgcp package-capability fxr-package" and reload the gateway after. 

The presence of the following two commands will remove the fxr-package from the gateway config after reload: 

o ccm-manager config server [IP addr]

o ccm-manager config

You will have to configure the fxr-package as default-package and reload mgcp gateway again. 

The following commands can be executed: 

o no ccm-manager fax protocol cisco - Disable the Cisco fax protocol 

o no mgcp fax t38 ecm - To enable or disable ECM (Error Correction Mode) 

o mgcp fax rate XXXXXX -To configure the maximum fax rate 

o mgcp fax t38 ls_redundancy X -To configure Low Speed fax redundancy 

o mgcp fax t38 hs_redundancy X -To configure High Speed fax redundancy

Add fax config of VG and 2911.

Regards.