[Home]

Summary:ASTERISK-16852: Fax For Asterisk - T2_TIMEOUTand REMOTE_DISCONNECT errors
Reporter:Justin Korkiner (jkorkiner)Labels:
Date Opened:2010-10-22 12:41:18Date Closed:2011-06-07 14:00:27
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_fax
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sysinfo.zip
Description:System: CentOS 5.5 i686
libpri: 1.4.11.4
dahdi-linux: 2.4.0
dahdi-tools: 2.4.0
Asterisk: 1.6.2.13
Digium FAX Driver: 1.6.2.0_1.2.1 (optimized for i686_32)

I have been having issues with these two errors appearing when receiving faxes from two of our branch offices. Both have different type of fax machines, and both are capable of faxing to other faxes without issue. I also receive faxes from most other locations without issue.

[Oct 21 17:08:06] [DEBUG[3967]: [res_fax_digium.c:[2270 [common_fax_thread: FAX handle 0: event: EVN_PAGE_START (0x3EA), event data: 0x0
      > Channel 'DAHDI/1-1' fax session '16', [ 039.024286 ], channel sent 539 frames (10780 ms) of energy.
      > Channel 'DAHDI/1-1' fax session '16', [ 039.064288 ], channel sent 2 frames (40 ms) of silence.
   -- FAX handle 0: [ 039.121371 ], STAT_EVT_RX_IMG_END    st: RCV_IMAGE    rt: RIMGNERI
      > Channel 'DAHDI/1-1' fax session '16', [ 040.344208 ], channel sent 64 frames (1280 ms) of energy.
   -- FAX handle 0: [ 040.381336 ], STAT_FRM_MPS
   -- FAX handle 0: [ 040.381399 ], STAT_EVT_MPS           st: F_END_NORM   rt: FEIMNMPS
   -- FAX handle 0: [ 040.381445 ], P30EVN_PAGE_END
   -- FAX handle 0: [ 040.381461 ], STAT_FRM_MCF
[Oct 21 17:08:18] [DEBUG[3967]: [res_fax_digium.c:[2270 [common_fax_thread: FAX handle 0: event: EVN_PAGE_END (0x3EB), event data: 0x0
      > Channel 'DAHDI/1-1' fax session '16', [ 040.544302 ], stack sent 654 frames (13080 ms) of silence.
   -- FAX handle 0: [ 041.572716 ], STAT_EVT_TX_V21_DONE   st: RCV_IMG_STRT rt: RISTNT21
      > Channel 'DAHDI/1-1' fax session '16', [ 041.895320 ], stack sent 68 frames (1360 ms) of energy.
      > Channel 'DAHDI/1-1' fax session '16', [ 042.684070 ], channel sent 117 frames (2340 ms) of silence.
   -- FAX handle 0: [ 050.500609 ], STAT_EVT_T2_EXP        st: RCV_IMG_STRT rt: RISTNT2X
   -- FAX handle 0: [ 050.500670 ], STAT_EVT_GO_TO_B       st: RCV_IMG_STRT rt: XXXXNGOB
   -- FAX handle 0: [ 053.002916 ], STAT_EVT_HW_CLOSE      st: WT_HW_CLS    rt: WCLSNCLS
   -- FAX handle 0: [ 053.003137 ], P30EVN_DOC_END
   -- FAX handle 0: [ 053.003174 ], STAT_SES_COMPLETE
   -- FAX handle 0: [ 053.003210 ], P30EVN_COMPLETE
[Oct 21 17:08:30] [DEBUG[3967]: [res_fax_digium.c:[2270 [common_fax_thread: FAX handle 0: event: EVN_DOC_END (0x3ED), event data: 0x0
[Oct 21 17:08:30] [DEBUG[3967]: [res_fax_digium.c:[2270 [common_fax_thread: FAX handle 0: event: EVN_COMPLETE (0x3E9), event data: 0x0
   -- Channel 'DAHDI/1-1' FAX session '16' is complete, result: 'FAILED' (FAX_FAILURE_PARTIAL), error: 'REMOTE_DISCONNECT', pages: 2, resolution: '204x98', transfer rate: '14400', remoteSID: '6147859242'
[Oct 21 17:08:30] [DEBUG[3966]: [res_fax.c:[1099 [generic_fax_exec: channel 'DAHDI/1-1' - event loop stopped { timeout: 10000, ms: 996, res: 0 }
[Oct 21 17:08:30] [DEBUG[3966]: [res_fax_digium.c:[1520 [commetrex_session_destroy: FAX handle 0: freeing document queue.
[Oct 21 17:08:30] [DEBUG[3966]: [res_fax_digium.c:[1526 [commetrex_session_destroy: FAX handle 0: closing
[Oct 21 17:08:30] [DEBUG[3966]: [res_fax_digium.c:[826 [i686_32_G711L_Close: FAX handle 0: closed the G.711 link.
[Oct 21 17:08:30] [DEBUG[3966]: [channel.c:[3925 [set_format: Set channel DAHDI/1-1 to read format ulaw
[Oct 21 17:08:30] [DEBUG[3966]: [channel.c:[3925 [set_format: Set channel DAHDI/1-1 to write format ulaw
[Oct 21 17:08:30] [DEBUG[3966]: [pbx.c:[3524 [pbx_substitute_variables_helper_full: Function result is '9492716328'
   -- Auto fallthrough, channel 'DAHDI/1-1' status is 'UNKNOWN'

****** ADDITIONAL INFORMATION ******

The attachments contain a debug log with g711caps, and also the sysinfo.zip contains all the information on the system and conf files for Asterisk and DAHDI.
Comments:By: Justin Korkiner (jkorkiner) 2010-10-22 13:06:43

http://www.techwerkz.com/debuglogs.zip -- wouldn't upload for some reason.

By: Leif Madsen (lmadsen) 2010-11-01 14:21:06

You mention using the Fax For Asterisk product (FFA). Because that is a commercial product it is not supported here. Please open a ticket with Digium directly. Thanks!