Patent ID: 7864868

Claim:
A method for detecting an octet slip in an inband signalling block in pulse code modulation, the method comprising: searching, with a searcher, for a first error bit to identify a first error position starting from an end of a searching block, the searching block comprising a set of bits; counting, with a counter, a number of bit errors starting from a position in an adjacent block corresponding to the first error bit position to determine whether there is an octet slip before the first error position, the adjacent block being a set of bits where each bit is present in an octet which is adjacent to an octet containing a corresponding bit of the searching block; in the event that an octet slip before the first error position is not indicated, searching in the searching block for a second error bit to identify a second error position and detecting, with a detector, octet slip by verifying bits starting from a position in an adjacent block corresponding to the second error bit position; detecting if the bits of the adjacent block starting from the second error bit position are verified as being correct; and detecting that the octet slip is between the first and second error bit positions if the bits starting from the second error bit position are correct.