The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This document describes one of the most effective approaches to troubleshoot fax, which includes these steps:
You can split a fax call into four parts:
This call flow includes the messages to look for when H.323 is the protocol identified. There are corresponding sections based on whether your endpoint is a TGW or OGW.
Note: In the table in the next section, both T.38 Relay and Passthrough were tested simultaneously and differences between G3 and SG3 have been pointed out.
Note that:
Passthrough | T.38 Relay | ||
---|---|---|---|
GW-------------------------CUCM/GW Check for VTSP shows: |
GW-------------------------CUCM/GW Check for VTSP shows: |
||
Protocol Based | NSE Based | Protocol Based | NSE Based |
GW-------CUCM/GW ----H.225 Connect----> <----H.245 TCS------- -----H.245 TCS--------> -----H.245 MSD------> -----H.245 TCSAck--> <---H.245 MSD------- ----H.245 MSDAck--> <--H.245 TCSAck---- <--H.245 MSDAck---- <--H.245 OLC--------- ----H.245 OLC--------> ----H.245 OLCAck---> <--H.245 OLCAck----- Note: In case of Fast Start (FS), Open Logical Channel (OLC) would have been exchanged in setup and connect/callproc. |
GW-------CUCM/GW ---H.225 Connect---> <----H.245 TCS------- RTPAudioTelephony
----H.245 TCS--------> RTPAudioTelephony
----H.245 MSD-------> ----H.245 TCSAck---> <----H.245 MSD------ --H.245 MSDAck---> <---H.245 TCSAck--- <---H.245 MSDAck-- <----H.245 OLC------- ------H.245 OLC-----> ---H.245 OLCAck---> <--H.245 OLCAck---- Note: In case of FS, OLC would have been exchanged in setup and connect/callproc. |
GW---------CUCM/GW ------H.225 Connect---> <-----H.245 TCS--------- application t38fax : -----H.245 TCS--------> application t38fax : -----H.245 MSD-------> -----H.245 TCSAck----> <---H.245 MSD-------- -----H.245 MSDAck---> <---H.245 TCSAck------ <---H.245 MSDAck----- <-----H.245 OLC--------- -------H.245 OLC-------> -----H.245 OLCAck---> <----H.245 OLCAck----- Note: In case of FS, OLC would have been exchanged in setup and connect/callproc. |
GW--------CUCM/GW -----H.225 Connect----> <----H.245 TCS---------- RTPAudioTelephony ------H.245 TCS-------> RTPAudioTelephony -----H.245 MSD-------> -----H.245 TCSAck---> <----H.245 MSD------- ----H.245 MSDAck---> <----H.245 TCSAck---- <---H.245 MSDAck---- <----H.245 OLC--------- -------H.245 OLC------> ----H.245 OLCAck----> <---H.245 OLCAck----- Note: In case of FS, OLC would have been exchanged in setup and connect/callproc. |
GW-------------------------CUCM/GW <========AUDIO==========> Audio call established at this stage, but as FAX machines talk they exchange tones in the audio call. Initial T.30 tones (Cannot be seen in debugs as these are always sent in RTP.) G3 FAX: <<<<<<<<<<CNG<<<<<<<<<<< 1100 Hz, every 3 seconds for .5 seconds. Indicates a calling nonspeech terminal. >>>>>>>>>>CED>>>>>>>>>>> 2100 Hz tone as CED, but amplitude modulated by a sine wave at 15 Hz with phase reversal every 450 ms. SG3 FAX: 1100 Hz, every 3 seconds for .5 seconds. Indicates a calling nonspeech terminal. >>>>>>>>>>ANSAM>>>>>>>>> 2100 Hz tone as CED, but amplitude modulated by a sine wave at 15 Hz with phase reversal every 450 ms.. <<<<<<<<<<CM<<<<<<<<<<<< >>>>>>>>>>JM>>>>>>>>>>>> <<<<<<<<<<CJ<<<<<<<<<<<< V.34 Initialization (Phases 2-4) The TGW waits to detect V.21 Preamble in the tones. It finds it in CED tone (G3) or ANSAM (SG3). Once it detects the V.21 Flag, it initiates switchover. Check for VTSP shows: One of the tasks in switchover is to make the Jitter buffer transitions from adaptive to a fixed optimum value. Fax passthrough uses the last voice mode setting before the switchover for jitter or playout buffers. Enter the show voice port X/X/X command in order to check the current values of playout delay. |
GW-------------------------CUCM/GW <========AUDIO==========> Audio call established at this stage, but as FAX machines talk they exchange tones in the audio call. Initial T.30 tones (Cannot be seen in debugs as these are always sent in RTP.) G3 FAX: <<<<<<<<<<CNG<<<<<<<<<<< 1100 Hz, every 3 seconds for .5 seconds. Indicates a calling nonspeech terminal. >>>>>>>>>>CED>>>>>>>>>>> 2100 Hz tone as CED, but amplitude modulated by a sine wave at 15 Hz with phase reversal every 450 ms. SG3 FAX: 1100 Hz, every 3 seconds for .5 seconds. Indicates a calling nonspeech terminal. >>>>>>>>>>ANSAM>>>>>>>>> 2100 Hz tone as CED, but amplitude modulated by a sine wave at 15 Hz with phase reversal every 450 ms. Cisco gateways only support G3 fax calls with T.38. In order to properly handle the higher speeds of SG3 calls, modem passthrough must be used. No V.34 Initialization (Phases 2-4) exists. The initial V.8 Phase I also does not complete. OGW squelchs the CM tone and as SG3 is backward compatible with G3 fax standard, the FAX machines failover to G3. >>>>>>>>>CED>>>>>>>>>>> 2100 Hz tone that lasts between 2.6 - 4.0 seconds. Disables echo suppressors in the transmission path. The TGW waits to detect V.21 Preamble in the tones. It finds it in CED tone (G3) or ANSAM (SG3). Once it detects the V.21 Flag, it initiates switchover. Check for VTSP shows: Check for DSMP shows: Check for CCAPI shows: One of the tasks in switchover is to make the Jitter buffer transitions from adaptive to a fixed optimum value. T.38 uses 300 ms fixed jitter or playout buffers. Enter the playout-delay fax 100 command under voice port in order to reduce the buffer time if the delay is high. Enter the show voice port X/X/X command in order to check the current values of playout delay. |
||
Protocol Based | NSE Based | Protocol Based | NSE Based |
GW--------CUCM/GW -H.245 RequestMode> {sequenceNumber 1 requestedModes { { { type audioMode : g711Ulaw64k : NULL <--H.245 RequestModeAck--- {sequenceNumber 1 response willTransmitMost PreferredMode : NULL } -----H.245 CLC-------> -----H.245 OLC------> forwardLogicalChannel <----H.245 CLC-------- ---H.245 CLCAck----> { forwardLogicalChannel ---H.245 OLCAck----> <--H.245 CLCAck--
show call active voice brief will not show change Note: CUCM does not support the H.245 Request Mode for Passthrough. If the TGW tries to initiate switchover by sending H.245 RequestMode for Passthrough to CUCM, CUCM replies back with RequestModeReject. |
G3 FAX: GW-------CUCM/GW ====NSE192=====> Upspeed Codec and Switch to Passthrough Mode. debug voip rtp session named event Pt:100 Evt:192 Pkt:00 00 00 <Snd>>> <===NSE192====== Check for VTSP shows: _MSG debug voip rtp session named event <<<Rcv> Pt:100 Evt:192 Pkt:00 00 00 SG3 FAX: GW------CUCM/GW ====NSE192=====> Upspeed Codec and Switch to Passthrough Mode. Check for VTSP shows: debug voip rtp session named event Pt:100 Evt:192 Pkt:00 00 00 <Snd>>> <===NSE192===== Check for VTSP shows: E_DSMP_DSP_ _MSG debug voip rtp session named event: <<<Rcv> Pt:100 Evt:192 Pkt:00 00 00
Detect phase reversal of ANSam Disable ECAN. Check for VTSP shows: E_DSM_CC_ debug voip rtp session named event Pt:100 Evt:193 Pkt:00 00 00 <Snd>>> <===NSE193===== Check for VTSP shows: _MSG debug voip rtp session named event <<<Rcv> Pt:100 Evt:193 Pkt:00 00 00 Note: NSE-194 is triggered by a local detection of 4 seconds of silence or carrier loss detection. This message instructs the remote gateway to return to voice mode. Basically, all the changes made by NSE-192 and NSE-193 are undone. show call active voice brief shows: MODEMPASS nse |
GW---------CUCM/GW -H.245 RequestMode-> type dataMode :{ application t38fax : { t38FaxProtocol udp : NULL t38FaxProfile { fillBitRemoval FALSE transcodingJBIG FALSE transcodingMMR FALSE version 0 t38FaxRateManagement transferredTCF : NULL t38FaxUdpOptions { t38FaxMaxBuffer 200 t38FaxMaxDatagram 72 t38FaxUdpEC t38UDPRedundancy : NULL } } } bitRate 144 <H.245 RequestModeAck- {sequenceNumber 1 response willTransmitMost PreferredMode : NULL } -----H.245 CLC---------> -----H.245 OLC---------> forwardLogicalChannel <----H.245 CLC--------- -----H.245 CLCAck---> forwardLogicalChannel ---H.245 OLCAck-----> <---H.245 CLCAck----- show call active voice brief shows: t38 |
G3 FAX: GW--------CUCM/GW ====NSE200=====> Transition from voice mode to T.38 Check for VTSP shows:E_DSM_CC_MODIFY_ debug voip rtp session named event Pt:100 Evt:200 Pkt:00 00 00 <Snd>>> <===NSE201====== T.38 ACK received, instructs TGW to start T.38 session Check for VTSP shows:E_DSMP_DSP_ _MSG debug voip rtp session named event <<<Rcv> Pt:100 Evt:201 Pkt:00 00 00 SG3 FAX: As you spoof SG3 to G3 by squelching the CM tone, there is no SG3 FAX scenario in T38 relay. Note: NSE-202 is a NACK to an NSE-200 message which signifies that the peer gateway cannot process T.38 packets for the call. The call remains in voice mode and does not switch over to T.38. show call active voice brief shows: t38 |
In Passthrough you cannot see any T.30 messages from debugs as all tones go in the RTP like audio with G711ulaw/alaw. However, the FAX tone negotiation remains the same irrespective of relay or passthrough. GW-------------------------CUCM/GW >>>>>>>>>CSI>>>>>>>>>>> (optional)(called subscriber identification) If you see FTT here that means TCF, training failed, check clocking and slips on T1/E1. In packet captures check TCF should be all 0. >>>>>>>>>MCF>>>>>>>>>>> (message confirmation) <++++Partial Page RX+++++++ (high speed) >>>>>>>>>MCF>>>>>>>>>>> (message confirmation) <<<<<<<<<<DCN<<<<<<<<<< (disconnect) Note: ECM is Optional for G3, but Mandatory for SG3. As you can achieve SG3 speeds with passthrough, make sure ECM is enabled on the fax machines for the fax to succeed. Also, TCF training signal is Required for G3, but is Not applicable for SG3. Note: For Passthrough, a common channel of 64kbps (g711) is allocated. So, the higher and the lower speeds of the messages becomes irrelevant.. |
If T38 switchover is succesful, these messages are seen in the debugs: Check for VTSP shows: Check for DSMP shows: Check for CCAPI shows: debug fax relay t30 all-level-1: GW-------------------------CUCM/GW >>>>>>>>>CSI>>>>>>>>>>> (optional)(called subscriber identification) If you see FTT here that means TCF, training failed, check clocking and slips on T1/E1. In packet captures check TCF should be all 0. >>>>>>>>>MCF>>>>>>>>>>> (message confirmation) <++++Partial Page RX+++++++ (high speed) >>>>>>>>>MCF>>>>>>>>>>> (message confirmation) <<<<<<<<<<DCN<<<<<<<<<< (disconnect) |
||
Protocol Based | NSE Based | Protocol Based | NSE Based |
DP level config: ## fax protocol pass-through g711ulaw/g711alaw ## fax rate disable ## fax nsf 000000 |
DP level config: ## modem passthrough nse codec g711ulaw/g711alaw ## fax rate disable ## fax nsf 000000 |
DP level config: ## fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none ## fax nsf 000000 |
DP level config: ## fax protocol t38 nse force version 0 ls-redundancy 0 hs-redundancy 0 fallback none ## fax nsf 000000## fax-relay ecm disable ## fax-relay sg3-to-g3 system ## fax rate 14400 |
Note that:
Passthrough | T.38 Relay | ||
---|---|---|---|
GW-------------------------CUCM/GW Check for VTSP shows: |
GW-------------------------CUCM/GW Check for VTSP shows: |
||
Protocol Based | NSE Based | Protocol Based | NSE Based |
GW--------CUCM/GW <---H.225 Connect----- -----H.245 TCS--------> <---H.245 TCS--------- <---H.245 MSD-------- <---H.245 TCSAck---- ----H.245 MSD-------> <---H.245 MSDAck--- -----H.245 TCSAck---> -----H.245 MSDAck--> -----H.245 OLC-------> <---H.245 OLC-------- <---H.245 OLCAck--- ----H.245 OLCAck---> Note: In case of FS, OLC would have been exchanged in setup and connect/callproc. |
GW-----------CUCM/GW <------H.225 Connect---- --------H.245 TCS--------> RTPAudioTelephony
<------H.245 TCS---------- RTPAudioTelephony
<------H.245 MSD-------- <------H.245 TCSAck----- -------H.245 MSD-------> <------H.245 MSDAck--- --------H.245 TCSAck---> --------H.245 MSDAck--> --------H.245 OLC--------> <------H.245 OLC--------- <------H.245 OLCAck---- --------H.245 OLCAck--->Note: In case of FS, OLC would have been exchanged in setup and connect/callproc. |
GW---------CUCM/GW <----H.225 Connect----- ------H.245 TCS--------> application t38fax : <-----H.245 TCS-------- application t38fax : <-----H.245 MSD------- <-----H.245 TCSAck--- ------H.245 MSD------> <-----H.245 MSDAck-- -------H.245 TCSAck---> ------H.245 MSDAck--> ------H.245 OLC-------> <----H.245 OLC--------- <----H.245 OLCAck---- -----H.245 OLCAck--->Note: In case of FS, OLC would have been exchanged in setup and connect/callproc. |
GW----CUCM/GW <-H.225 Connect--- ---H.245 TCS----> RTPAudioTelephony
<---H.245 TCS----- RTPAudioTelephony
<---H.245 MSD---- <--H.245 TCSAck- ---H.245 MSD---> <-H.245 MSDAck- ---H.245 TCSAck-> -H.245 MSDAck-> ---H.245 OLC-----> <--H.245 OLC------ <-H.245 OLCAck-- --H.245 OLCAck->Note: In case of FS, OLC would have been exchanged in setup and connect/callproc. |
GW-------------------------CUCM/GW <========AUDIO==========> Audio call established at this stage, but as FAX machines talk they exchange tones in the audio call. Initial T.30 tones (Can not be seen in debugs as these are always sent in RTP.) G3 FAX: >>>>>>>>>>CNG>>>>>>>>>>> 1100 Hz, every 3 seconds for .5 seconds. Indicates a calling nonspeech terminal. <<<<<<<<<<CED<<<<<<<<<<< 2100 Hz tone that lasts between 2.6 - 4.0 seconds. Disables echo suppressors in the transmission path. SG3 FAX: 1100 Hz, every 3 seconds for .5 seconds. Indicates a calling nonspeech terminal. <<<<<<<<<<ANSAM<<<<<<<< 2100 Hz tone as CED, but amplitude modulated by a sine wave at 15Hz with phase reversal every 450 ms. >>>>>>>>>>CM>>>>>>>>>>>> <<<<<<<<<<JM<<<<<<<<<<<< >>>>>>>>>>CJ>>>>>>>>>>>> V.34 Initialization (Phases 2-4) The OGW waits for the TGW to detect V.21 Preamble in the tones. Once TGW detects the V.21 Flag, it initiates switchover. One of the tasks in switchover is to make the Jitter buffer transitions from adaptive to a fixed optimum value. Fax passthrough uses the last voice mode setting before the switchover for jitter or playout buffers. Enter the show voice port X/X/X command in order to check the current values of playout delay. |
GW-------------------------CUCM/GW <========AUDIO==========> Audio call established at this stage, but as FAX machines talk they exchange tones in the audio call. Initial T.30 tones (Can not be seen in debugs as these are always sent in RTP.) G3 FAX: >>>>>>>>>>CNG>>>>>>>>>>> 1100 Hz, every 3 seconds for .5 seconds. Indicates a calling nonspeech terminal. <<<<<<<<<<CED<<<<<<<<<<< 2100 Hz tone that lasts between 2.6 - 4.0 seconds. Disables echo suppressors in the transmission path. SG3 FAX: 1100 Hz, every 3 seconds for .5 seconds. Indicates a calling nonspeech terminal. <<<<<<<<<<ANSAM<<<<<<<< 2100 Hz tone as CED, but amplitude modulated by a sine wave at 15Hz with phase reversal every 450 ms. >>>CM>>X Cisco gateways only support G3 fax calls with T.38. In order to properly handle the higher speeds of SG3 calls, modem passthrough must be used. No V.34 Initialization (Phases 2-4) exists. The initial V.8 Phase I also does not complete. OGW squelchs the CM tone and as SG3 is backward compatible with G3 fax standard, the FAX machines failover to G3. <<<<<<<<<<CED<<<<<<<<<<< 2100 Hz tone that lasts between 2.6 - 4.0 seconds. Disables echo suppressors in the transmission path. The OGW waits for the TGW to detect V.21 Preamble in the tones. Once TGW detects the V.21 Flag, it initiates switchover. One of the tasks in switchover is to make the Jitter buffer transitions from adaptive to a fixed optimum value. T.38 uses 300 ms fixed jitter or playout buffers. Enter the playout-delay fax 100 command under voice port in order to reduce the buffer time if the delay is high. Enter the show voice port X/X/X command in order to check the current values of playout delay. |
||
Protocol Based | NSE Based | Protocol Based | NSE Based |
GW--------CUCM/GW <-H.245 RequestMode- {sequenceNumber 1 requestedModes { { { type audioMode : g711Ulaw64k : NULL --H.245 RequestModeAck---> {sequenceNumber 1 response willTransmitMost PreferredMode : NULL }
<---H.245 CLC--------- <---H.245 OLC--------- { ---H.245 CLC--------> <---H.245 CLCAck---- { forwardLogicalChannel <---H.245 OLCAck---- -----H.245 CLCAck--->
show call active voice brief will not show change Note: CUCM does not support H.245 Request Mode for Passthrough. If the TGW tries to initiate switchover by sending H.245 RequestMode for Passthrough to CUCM, CUCM replies back with RequestModeReject.
|
G3 FAX: GW-----------CUCM/GW <====NSE192===== Upspeed Codec and Switch to Passthrough Mode. Check for VTSP shows: _MSG debug voip rtp session named event: <<<Rcv> Pt:100 Evt:192 Pkt:00 00 00 ====NSE192=====> Check for VTSP shows: debug voip rtp session named event: Pt:100 Evt:192 Pkt:00 00 00 <Snd>>> SG3 FAX: GW-----------CUCM/GW <====NSE192===== Upspeed Codec and Switch to Passthrough Mode. Check for VTSP shows: _MSG debug voip rtp session named event: <<<Rcv> Pt:100 Evt:192 Pkt:00 00 00 ====NSE192=====> Check for VTSP shows: debug voip rtp session named event: Pt:100 Evt:192 Pkt:00 00 00 <Snd>>>
Disable ECAN. Check for VTSP shows:E_DSMP_DSP_REPORT_ _MSG debug voip rtp session named event: <<<Rcv> Pt:100 Evt:193 Pkt:00 00 00 ====NSE193======> Check for VTSP shows: debug voip rtp session named event: Pt:100 Evt:193 Pkt:00 00 00 <Snd>>> Note: NSE-194 is triggered by a local detection of 4 seconds of silence or carrier loss detection. This message instructs the remote gateway to return to voice mode. Basically, all the changes made by NSE-192 and NSE-193 are undone. show call active voice brief shows: |
GW----------CUCM/GW <-H.245 RequestMode- type dataMode :{ application t38fax : { t38FaxProtocol udp : NULL t38FaxProfile { fillBitRemoval FALSE transcodingJBIG FALSE transcodingMMR FALSE version 0 t38FaxRate Management transferredTCF : NULL t38FaxUdpOptions { t38FaxMaxBuffer 200 t38FaxMaxDatagram 72 t38FaxUdpEC t38UDPRedundancy : NULL } } } bitRate 144 -H.245 RequestModeAck-> {sequenceNumber 1 response willTransmitMost PreferredMode : NULL }
<---H.245 CLC---------- <---H.245 OLC---------- forwardLogicalChannel ----H.245 CLC---------> <---H.245 CLCAck----- forwardLogicalChannel <---H.245 OLCAck---- -----H.245 CLCAck-->
show call active voice brief shows: t38 |
G3 FAX: GW---CUCM/GW <==NSE200==== Transition from voice mode to T.38 Check for VTSP shows: _MSG debug voip rtp session named event: <<<Rcv> Pt:100 Evt:200 Pkt:00 00 00 ==NSE201===> T.38 ACK received, instructs TGW to start T.38 session Check for VTSP shows: debug voip rtp session named event: SG3 FAX: As you spoof SG3 to G3 by squelching the CM tone, there is no SG3 FAX scenario in T38 relay. Note: NSE-202 is a NACK to an NSE-200 message that signifies that the peer gateway show call active voice brief shows: t38 |
In Passthrough you cannot see any T.30 messages from debugs as all tones go in the RTP like audio with G711ulaw/alaw. However, the FAX tone negotiation remains the same irrespective of relay or passthrough.. GW-------------------------CUCM/GW <<<<<<<<<CSI<<<<<<<<<<< (optional)(called subscriber identification) If you see FTT here that means TCF, training failed, check clocking and slips on T1/E1. In packet captures check TCF should be all 0. <<<<<<<<<MCF<<<<<<<<<<< (message confirmation) ++++Partial Page RX++++++> (high speed) <<<<<<<<<MCF<<<<<<<<<<< (message confirmation) >>>>>>>>>DCN>>>>>>>>>>> (disconnect) Note: ECM is Optional for G3, but Mandatory for SG3. As you can achieve SG3 speeds with passthrough, make sure ECMis enabled on the FAX machines for the FAX to succeed. Note: For Passthrough a common channel of 64kbps (g711) is allocated. So, the higher and the lower speeds of the messages becomes irrelevant. |
If T38 switchover is succesful, these messages are seen in the corresponding debugs: Check for VTSP shows: Check for DSMP shows: Check for CCAPI shows: debug fax relay t30 all-level-1: timestamp=352613376 fr-msg-det PPS GW-------------------------CUCM/GW <<<<<<<<<CSI<<<<<<<<<<< (optional)(called subscriber identification) If you see FTT here that means TCF, training failed, check clocking and slips on T1/E1. In packet captures check TCF should be all 0. <<<<<<<<<MCF<<<<<<<<<<< (message confirmation) ++++Partial Page RX++++++> (high speed) <<<<<<<<<MCF<<<<<<<<<<< (message confirmation) >>>>>>>>>DCN>>>>>>>>>>> (disconnect) |
||
Protocol Based | NSE Based | Protocol Based | NSE Based |
DP level config: ## fax protocol pass-through g711ulaw/g711alaw ## fax rate disable ## fax nsf 000000 |
DP level config: ## modem passthrough nse codec g711ulaw/g711alaw ## fax rate disable ## fax nsf 000000 |
DP level config: ## fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none ## fax nsf 000000 |
DP level config: ## fax protocol t38 nse force version 0 ls-redundancy 0 hs-redundancy 0 fallback none ## fax nsf 000000## fax-relay ecm disable ## fax-relay sg3-to-g3 system ## fax rate 14400 |
Revision | Publish Date | Comments |
---|---|---|
1.0 |
05-Feb-2015 |
Initial Release |