[Home]

Summary:DAHLIN-00187: [patch] The patch implements "hardhdlc" mode for dahdi_dynamic spans
Reporter:Max Khon (max khon)Labels:
Date Opened:2010-05-04 10:36:14Date Closed:2019-05-31 09:50:28
Priority:MajorRegression?No
Status:Closed/CompleteComponents:dahdi_dynamic
Versions:2.3.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) hardhdlc.diff
Description:In hardhdlc mode HDLC frames are transmitted/received in unencoded form in D-channel payload in the following format:

byte 0: control byte
bytes 1..7: data chunk (raw HDLC frame data)

control byte has the following layout:
bits 0..2: data chunk length
bit 3: reserved
bits 4..6: frame status
bit 7: continuation flag (set when there are more chunks in the current hdlc frame)

Frame status only has meaning for the last chunk (bit 7 is not set)
Frame status can have the following values:
0: hdlc frame is ok
1: abort hdlc frame
2: hdlc frame overrun
3: bad hdlc frame FCS


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

The patch was developed in cooperation with Redfone LLC who made similar changes to their fonebridge product in order to support "hardhdlc" mode. The patch was tested in their lab.
Comments: