What steps will reproduce the problem?
1. Receive SMS with UDHI User Data Header Indicator Parameter indicating that
the UD field contains a header
2. Header length is not multiple of 7
3. Message body in 7bit GSM alphabet starts with an offset
What is the expected output? What do you see instead?
Expected message body, got scrambled message.
What version of the product are you using? On what operating system?
Asterisk 1.8 Fedora 15 x64.
Please provide any additional information below.
Function pdu_parse() in pdu.c should not skip UDH, it should instead pass value
of udhl to functions str_recode() and exstr_7bit_to_char() in char_conv.c, and
header length should be skipped after 8b to 7b conversion and descrambling, not
before.
Original issue reported on code.google.com by nenad.kl...@gmail.com on 4 Nov 2011 at 12:19
Original issue reported on code.google.com by
nenad.kl...@gmail.com
on 4 Nov 2011 at 12:19