ChallyCai/doubango

Optional parameters in SMS-STATUS-REPORT

Opened this issue · 1 comments

What steps will reproduce the problem?
1. Look at the specs 9.2.2.3 SMS-STATUS-REPORT type. Note that TP-PI and 
following parameters are optional.
2. Look at the _tsms_tpdu_status_report_deserialize function in 
tsms_tpdu_status_report.c 
3. Note that TSMS_ERROR_TOO_SHORT is called if optional parameters are missing.

What is the expected output? What do you see instead?
Absence of optional parameters is not an error but it is handled as an error:
2011-02-23 08:37:25,699 ERROR [6] BogheCore.Services.Impl.SipService:0 - 
***ERROR: function: "_tsms_tpdu_status_report_deserialize()" 
file: ".\src\tpdu\tsms_tpdu_status_report.c" 
line: "132" 
MSG: SMS-STATUS-REPORT == Data too short.

What version of the product are you using? On what operating system?
The error is seen in the code r551. The error appears in logs of Boghe-alpha 
(1.0.58.550) under Windows 7.

Please provide any additional information below.


Original issue reported on code.google.com by victorx...@gmail.com on 23 Feb 2011 at 11:45

Original comment by boss...@yahoo.fr on 11 Mar 2011 at 8:49

  • Changed state: Accepted