RestComm / jss7

RestComm Java SS7 Stack and Services
http://www.restcomm.com/
GNU Affero General Public License v3.0
177 stars 218 forks source link

MAPErrorMessageSMDeliveryFailure - adding of processing of a SignalInfo parameter #264

Closed vetss closed 6 years ago

vetss commented 6 years ago

MAPErrorMessageSMDeliveryFailure may contain an optional parameter

Now we do not parse it and operate it as a byte[] - byte[] getSignalInfo() . We need try to parse signalInfo as GSM SMS TPDU (SM DELIVER REPORT) - an example pcap "mp-fm-sm_error" is in a ticket 34429.

MAPErrorMessageSMDeliveryFailure - add of getter SmsDeliverReportTpdu getSmsDeliverReportTpdu() that will try to parse a stored binary value and return a value if success or null if binary data is bad or null.

MAPErrorMessageSMDeliveryFailureImpl - add a setter void setSmsDeliverReportTpdu(SmsDeliverReportTpdu val); that will update byte[] signalInfo

vetss commented 6 years ago

Fixed by: https://github.com/RestComm/jss7/commit/dbdc1e1092ba8303c143eb6cf59ee69ccd1c4af2 https://github.com/RestComm/jss7/commit/bf92da064e5eaf5fc79da5170b3f8f6eecd533ea