q931.c: Lucent switch implementation bug workaround.
A bug in a Lucent switch implementation sets the Connected Number information element octet 3 extension bit. When set that means octet 3 is complete and thus there is no optional octet 3a. However, the buggy switch still sends octet 3a. The unexpected octet 3a is interpreted as the first octet 4 and thus the first character in the connected line number is a garbage character. * Work around the switch bug by checking octet 3 and the potential octet 3a extension bits. If they are both set then assume that octet 3a is actually present for the buggy switch types. PRI-183 #close Reported by: Richard Mudgett Change-Id: I378af37bfd852737a0bfe6263ef3473ea6acfbad
Showing with 53 additions and 2 deletions